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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user