mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[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:
parent
eafba554fd
commit
7647b51d5d
1 changed files with 2 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Reference in a new issue