diff options
author | rub <rub@piwigo.org> | 2006-03-17 17:59:59 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-03-17 17:59:59 +0000 |
commit | 62b589964a5bd86b1ba74514cd9990d3078bf197 (patch) | |
tree | f160cc99f24498d1d2e4f5b8ed4edc1754b610f9 /admin/user_list.php | |
parent | 97b681f1fa58e72bacff516ac51b35577181367b (diff) |
Step 8 improvement issue 0000301:
o Add $conf['allow_adviser']
git-svn-id: http://piwigo.org/svn/trunk@1087 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/user_list.php')
-rw-r--r-- | admin/user_list.php | 8 |
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( |