mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[ticket/9758] Adding impr. for overall_header display of avatar and username
PHPBB3-9758
This commit is contained in:
@@ -4772,7 +4772,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||
if ($user->data['user_id'] != ANONYMOUS)
|
||||
{
|
||||
$u_login_logout = append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=logout', true, $user->session_id);
|
||||
$l_login_logout = sprintf($user->lang['LOGOUT_USER'], $user->data['username']);
|
||||
$l_login_logout = sprintf($user->lang['LOGOUT'], $user->data['username']);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4946,6 +4946,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||
'SESSION_ID' => $user->session_id,
|
||||
'ROOT_PATH' => $web_path,
|
||||
'BOARD_URL' => $board_url,
|
||||
'USERNAME_FULL' => get_username_string('full', $user->data['user_id'], $user->data['username'], $user->data['user_colour']),
|
||||
|
||||
'L_LOGIN_LOGOUT' => $l_login_logout,
|
||||
'L_INDEX' => ($config['board_index_text'] !== '') ? $config['board_index_text'] : $user->lang['FORUM_INDEX'],
|
||||
|
Reference in New Issue
Block a user