mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-19 08:02:59 +02:00
feature 2089: finish removing element_set, now it's time for batch_manager
git-svn-id: http://piwigo.org/svn/trunk@8417 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1981,19 +1981,6 @@ function get_active_menu($menu_page)
|
||||
return $page['active_menu'];
|
||||
}
|
||||
|
||||
// specific cases
|
||||
if ('element_set' == $menu_page)
|
||||
{
|
||||
if (isset($_GET['cat']) and is_numeric($_GET['cat']))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
switch ($menu_page)
|
||||
{
|
||||
case 'photos_add':
|
||||
@@ -2001,6 +1988,7 @@ function get_active_menu($menu_page)
|
||||
case 'rating':
|
||||
case 'tags':
|
||||
case 'picture_modify':
|
||||
case 'batch_manager':
|
||||
return 0;
|
||||
|
||||
case 'cat_list':
|
||||
|
||||
Reference in New Issue
Block a user