mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update page_header.php
This commit is contained in:
parent
1c603b514a
commit
bcb3064a2e
@ -52,7 +52,7 @@ if (defined('SHOW_ONLINE') && SHOW_ONLINE)
|
||||
}
|
||||
|
||||
// Info about new private messages
|
||||
$icon_pm = $images['pm_no_new_msg'];
|
||||
$icon_pm = !empty($images['pm_no_new_msg']) ? $images['pm_no_new_msg'] : '';
|
||||
$pm_info = $lang['NO_NEW_PM'];
|
||||
$have_new_pm = $have_unread_pm = 0;
|
||||
|
||||
@ -61,7 +61,7 @@ if ($logged_in && empty($gen_simple_header) && !defined('IN_ADMIN'))
|
||||
if ($userdata['user_new_privmsg'])
|
||||
{
|
||||
$have_new_pm = $userdata['user_new_privmsg'];
|
||||
$icon_pm = $images['pm_new_msg'];
|
||||
$icon_pm = !empty($images['pm_new_msg']) ? $images['pm_new_msg'] : '';
|
||||
$pm_info = declension($userdata['user_new_privmsg'], $lang['NEW_PMS_DECLENSION'], $lang['NEW_PMS_FORMAT']);
|
||||
|
||||
if ($userdata['user_last_privmsg'] > $userdata['user_lastvisit'] && defined('IN_PM'))
|
||||
|
Loading…
Reference in New Issue
Block a user