mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 10:31:57 +02: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:
@@ -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':
|
||||
|
Reference in New Issue
Block a user