1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

Issue #55 - don't show 'Everyone except...' class list where inappropriate

This commit is contained in:
SteveD
2013-03-03 11:32:28 +00:00
parent 29fc1d383a
commit 0558f43576
9 changed files with 880 additions and 879 deletions

View File

@@ -773,7 +773,7 @@ class users_admin_ui extends e_admin_ui
<tbody>
<tr>
<td>";
$text .= $e_userclass->vetted_tree('userclass', array($e_userclass,'checkbox_desc'), $sysuser->getValue('class'), 'classes');
$text .= $e_userclass->vetted_tree('userclass', array($e_userclass,'checkbox_desc'), $sysuser->getValue('class'), 'classes, no-excludes');
$text .= '
</td>
</tr>
@@ -1259,7 +1259,7 @@ class users_admin_ui extends e_admin_ui
// TODO lan above
if (!isset ($user_data['user_class'])) $user_data['user_class'] = varset($pref['initial_user_classes']);
$temp = $e_userclass->vetted_tree('class', array($e_userclass, 'checkbox_desc'), $user_data['user_class'], 'classes');
$temp = $e_userclass->vetted_tree('class', array($e_userclass, 'checkbox_desc'), $user_data['user_class'], 'classes, no-excludes');
if ($temp)
{