- Code: Alles auswählen
#
#-----[ OPEN ]----------------------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]----------------------------------------------------------------
#
$l_privmsgs_text = $l_privmsgs_text_unread = '';
#
#-----[ AFTER, ADD ]----------------------------------------------------------
#
$l_pm_style = '';
#
#-----[ FIND ]----------------------------------------------------------------
#
// Obtain number of new private messages if user is logged in
if (!empty($user->data['is_registered']))
{
if ($user->data['user_new_privmsg'])
{
$l_message_new = ($user->data['user_new_privmsg'] == 1) ? $user->lang['NEW_PM'] : $user->lang['NEW_PMS'];
$l_privmsgs_text = sprintf($l_message_new, $user->data['user_new_privmsg']);
#
#-----[ AFTER, ADD ]----------------------------------------------------------
#
$l_pm_style = 'style="text-decoration:blink;"';
#
#-----[ FIND ]----------------------------------------------------------------
#
'PRIVATE_MESSAGE_INFO_UNREAD' => $l_privmsgs_text_unread,
#
#-----[ AFTER, ADD ]----------------------------------------------------------
#
'PM_STYLE' => $l_pm_style,
#
#-----[ OPEN ]----------------------------------------------------------------
#
styles/prosilver/template/overall_header.html
#
#-----[ FIND ]----------------------------------------------------------------
#
<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF -->
#
#-----[ IN-LINE FIND ]--------------------------------------------------------
#
{U_PRIVATEMSGS}"
#
#-----[ IN-LINE AFTER, ADD ]--------------------------------------------------
#
{PM_STYLE}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------------
#
# EoM
(Funktioniert nicht mit dem Internet Explorer und Konqueror !!!)