[ticket/11239] Including username before Overview title

Adding username to the page title to avoid confusion while managing
multiple users in ACP

PHPBB3-11239
This commit is contained in:
geetakshi 2014-03-16 02:12:50 +05:30
parent eafba554fd
commit 7647b51d5d

View file

@ -37,7 +37,6 @@ class acp_users
$user->add_lang(array('posting', 'ucp', 'acp/users'));
$this->tpl_name = 'acp_users';
$this->page_title = 'ACP_USER_' . strtoupper($mode);
$error = array();
$username = utf8_normalize_nfc(request_var('username', '', true));
@ -159,6 +158,8 @@ class acp_users
trigger_error($user->lang['NOT_MANAGE_FOUNDER'] . adm_back_link($this->u_action), E_USER_WARNING);
}
$this->page_title = $user_row['username'] . '\'s ' . $user->lang('ACP_USER_' . strtoupper($mode));
switch ($mode)
{
case 'overview':