aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-08 13:46:03 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-08 13:46:03 +0000
commit580a318d1624e76e258c5aa9a151e45f59bc7b91 (patch)
treec66cc9d866750796b2c9ad640caff449145151e8
parent4306d4d083d50e9ef7ed01260aa95ea4ac453dee (diff)
downloadforums-580a318d1624e76e258c5aa9a151e45f59bc7b91.tar
forums-580a318d1624e76e258c5aa9a151e45f59bc7b91.tar.gz
forums-580a318d1624e76e258c5aa9a151e45f59bc7b91.tar.bz2
forums-580a318d1624e76e258c5aa9a151e45f59bc7b91.tar.xz
forums-580a318d1624e76e258c5aa9a151e45f59bc7b91.zip
add title to "no role"
git-svn-id: file:///svn/phpbb/trunk@6023 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/acp/auth.php4
-rw-r--r--phpBB/language/en/acp/permissions.php1
2 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php
index 3da19f5c0b..64421fcda7 100644
--- a/phpBB/includes/acp/auth.php
+++ b/phpBB/includes/acp/auth.php
@@ -465,7 +465,7 @@ class auth_admin extends auth
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(
@@ -523,7 +523,7 @@ class auth_admin extends auth
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)
diff --git a/phpBB/language/en/acp/permissions.php b/phpBB/language/en/acp/permissions.php
index 67392a4cd5..be8d3f1cba 100644
--- a/phpBB/language/en/acp/permissions.php
+++ b/phpBB/language/en/acp/permissions.php
@@ -102,6 +102,7 @@ $lang = array_merge($lang, array(
'NO_AUTH_SETTING_FOUND' => 'Permission settings not defined.',
'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_NAME_SPECIFIED' => 'Please give the role a name.',
'NO_ROLE_SELECTED' => 'Role could not be found.',