aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/user_list.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/admin/user_list.php b/admin/user_list.php
index ed2fc77d2..532d64783 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -486,6 +486,12 @@ if (isset($_GET['id']))
$template->assign_block_vars('session', array('ID' => $_GET['id']));
}
+// Hide radio-button if not allow to assign adviser
+if ($conf['allow_adviser'])
+{
+ $template->assign_block_vars('adviser', array());
+}
+
foreach ($page['order_by_items'] as $item => $label)
{
$selected = (isset($_GET['order_by']) and $_GET['order_by'] == $item) ?
@@ -801,7 +807,7 @@ foreach ($page['filtered_users'] as $num => $local_user)
{
$checked = '';
}
-
+
$template->assign_block_vars(
'user',
array(