mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
[ticket/11921] Remove "l_" from non-lang variables
PHPBB3-11921
This commit is contained in:
@@ -5225,7 +5225,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
|
||||
$l_online_time = $user->lang('VIEW_ONLINE_TIMES', (int) $config['load_online_time']);
|
||||
}
|
||||
|
||||
$l_privmsgs_count = '';
|
||||
$privmsgs_count = 0;
|
||||
$s_privmsg_new = false;
|
||||
|
||||
// Obtain number of new private messages if user is logged in
|
||||
@@ -5233,7 +5233,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
|
||||
{
|
||||
if ($user->data['user_new_privmsg'])
|
||||
{
|
||||
$l_privmsgs_count = (int) $user->data['user_new_privmsg'];
|
||||
$privmsgs_count = (int) $user->data['user_new_privmsg'];
|
||||
|
||||
if (!$user->data['user_last_privmsg'] || $user->data['user_last_privmsg'] > $user->data['session_last_visit'])
|
||||
{
|
||||
@@ -5251,13 +5251,13 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
|
||||
}
|
||||
else
|
||||
{
|
||||
$l_privmsgs_count = 0;
|
||||
$privmsgs_count = 0;
|
||||
$s_privmsg_new = false;
|
||||
}
|
||||
|
||||
if ($user->data['user_unread_privmsg'] && $user->data['user_unread_privmsg'] != $user->data['user_new_privmsg'])
|
||||
{
|
||||
$l_privmsgs_count = (int) $user->data['user_unread_privmsg'];
|
||||
$privmsgs_count = (int) $user->data['user_unread_privmsg'];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5348,7 +5348,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
|
||||
'TOTAL_USERS_ONLINE' => $l_online_users,
|
||||
'LOGGED_IN_USER_LIST' => $online_userlist,
|
||||
'RECORD_USERS' => $l_online_record,
|
||||
'PRIVATE_MESSAGE_COUNT' => $l_privmsgs_count,
|
||||
'PRIVATE_MESSAGE_COUNT' => $privmsgs_count,
|
||||
'HIDDEN_FIELDS_FOR_JUMPBOX' => $hidden_fields_for_jumpbox,
|
||||
|
||||
'UNREAD_NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',
|
||||
|
Reference in New Issue
Block a user