mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-18 07:16:11 +02:00
feature 2561: fix links on album administration screens
git-svn-id: http://piwigo.org/svn/trunk@13025 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -233,10 +233,9 @@ if (
|
||||
'site_manager', // delete site
|
||||
'site_update', // ?only POST
|
||||
'cat_list', // delete cat
|
||||
'cat_modify', // delete cat; public/private; lock/unlock
|
||||
'album', // delete cat; public/private; lock/unlock, permissions
|
||||
'cat_move', // ?only POST
|
||||
'cat_options', // ?only POST; public/private; lock/unlock
|
||||
'cat_perm', // ?only POST
|
||||
'picture_modify', // ?only POST; associate/dissociate
|
||||
'user_perm',
|
||||
'group_perm',
|
||||
|
||||
+1
-2
@@ -323,8 +323,7 @@ foreach ($categories as $category)
|
||||
|
||||
if ('private' == $category['status'])
|
||||
{
|
||||
$tpl_cat['U_MANAGE_PERMISSIONS']=
|
||||
$base_url.'cat_perm&cat='.$category['id'];
|
||||
$tpl_cat['U_MANAGE_PERMISSIONS'] = $base_url.'album-'.$category['id'].'-permissions';
|
||||
}
|
||||
$template->append('categories', $tpl_cat);
|
||||
}
|
||||
|
||||
@@ -1996,10 +1996,8 @@ function get_active_menu($menu_page)
|
||||
|
||||
case 'album':
|
||||
case 'cat_list':
|
||||
case 'cat_modify':
|
||||
case 'cat_move':
|
||||
case 'cat_options':
|
||||
case 'cat_perm':
|
||||
case 'permalinks':
|
||||
return 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user