mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
Step 8 improvement issue 0000301:
o Add $conf['allow_adviser'] git-svn-id: http://piwigo.org/svn/trunk@1087 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+7
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user