mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-26 05:08:52 +00:00
add title to "no role"
git-svn-id: file:///svn/phpbb/trunk@6023 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4306d4d083
commit
580a318d16
2 changed files with 3 additions and 2 deletions
|
@ -465,7 +465,7 @@ class auth_admin extends auth
|
||||||
|
|
||||||
if ($s_role_options)
|
if ($s_role_options)
|
||||||
{
|
{
|
||||||
$s_role_options = '<option value="0"' . ((!$current_role_id) ? ' selected="selected"' : '') . '>' . $user->lang['NO_ROLE_ASSIGNED'] . '</option>' . $s_role_options;
|
$s_role_options = '<option value="0"' . ((!$current_role_id) ? ' selected="selected"' : '') . ' title="' . htmlspecialchars($user->lang['NO_ROLE_ASSIGNED_EXPLAIN']) . '">' . $user->lang['NO_ROLE_ASSIGNED'] . '</option>' . $s_role_options;
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->assign_block_vars($tpl_pmask . '.' . $tpl_fmask, array(
|
$template->assign_block_vars($tpl_pmask . '.' . $tpl_fmask, array(
|
||||||
|
@ -523,7 +523,7 @@ class auth_admin extends auth
|
||||||
|
|
||||||
if ($s_role_options)
|
if ($s_role_options)
|
||||||
{
|
{
|
||||||
$s_role_options = '<option value="0"' . ((!$current_role_id) ? ' selected="selected"' : '') . '>' . $user->lang['SELECT_ROLE'] . '</option>' . $s_role_options;
|
$s_role_options = '<option value="0"' . ((!$current_role_id) ? ' selected="selected"' : '') . ' title="' . htmlspecialchars($user->lang['NO_ROLE_ASSIGNED_EXPLAIN']) . '">' . $user->lang['NO_ROLE_ASSIGNED'] . '</option>' . $s_role_options;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$forum_id)
|
if (!$forum_id)
|
||||||
|
|
|
@ -102,6 +102,7 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'NO_AUTH_SETTING_FOUND' => 'Permission settings not defined.',
|
'NO_AUTH_SETTING_FOUND' => 'Permission settings not defined.',
|
||||||
'NO_ROLE_ASSIGNED' => 'No role assigned...',
|
'NO_ROLE_ASSIGNED' => 'No role assigned...',
|
||||||
|
'NO_ROLE_ASSIGNED_EXPLAIN' => 'Setting to this role does not change permissions on the right. If you want to unset/remove all permissions you should use the "All Unset" link.',
|
||||||
'NO_ROLE_AVAILABLE' => 'No role available',
|
'NO_ROLE_AVAILABLE' => 'No role available',
|
||||||
'NO_ROLE_NAME_SPECIFIED' => 'Please give the role a name.',
|
'NO_ROLE_NAME_SPECIFIED' => 'Please give the role a name.',
|
||||||
'NO_ROLE_SELECTED' => 'Role could not be found.',
|
'NO_ROLE_SELECTED' => 'Role could not be found.',
|
||||||
|
|
Loading…
Add table
Reference in a new issue