bug fixed: caddie and recent pictures in the admin menu now goes to the new Batch Manager

git-svn-id: http://piwigo.org/svn/trunk@8423 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2011-01-01 14:50:30 +00:00
commit 2cef861167
2 changed files with 9 additions and 2 deletions

View file

@ -127,8 +127,8 @@ $template->assign(
'U_CAT_UPDATE'=> $link_start.'site_update&site=1',
'U_WAITING'=> $link_start.'upload',
'U_RATING'=> $link_start.'rating',
'U_CADDIE'=> $link_start.'element_set&cat=caddie',
'U_RECENT_SET'=> $link_start.'element_set&cat=recent',
'U_CADDIE'=> $link_start.'batch_manager&cat=caddie',
'U_RECENT_SET'=> $link_start.'batch_manager&cat=recent',
'U_BATCH'=> $link_start.'batch_manager',
'U_TAGS'=> $link_start.'tags',
'U_THUMBNAILS'=> $link_start.'thumbnail',

View file

@ -90,6 +90,13 @@ if (isset($_GET['cat']))
);
}
if ('recent' == $_GET['cat'])
{
$_SESSION['bulk_manager_filter'] = array(
'prefilter' => 'last import'
);
}
if (is_numeric($_GET['cat']))
{
$_SESSION['bulk_manager_filter'] = array(