diff options
author | plegall <plg@piwigo.org> | 2011-01-01 14:50:30 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2011-01-01 14:50:30 +0000 |
commit | 2cef8611672c4a93ad6f32b4bb11492af42f7e67 (patch) | |
tree | 37cead5aced70302fc00e16e6a4d562c324f4799 | |
parent | 4b771b5ab632a8609e21bb538fed78a68d620cd0 (diff) |
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
-rw-r--r-- | admin.php | 4 | ||||
-rw-r--r-- | admin/batch_manager.php | 7 |
2 files changed, 9 insertions, 2 deletions
@@ -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', diff --git a/admin/batch_manager.php b/admin/batch_manager.php index 2288acfb2..73eedb424 100644 --- a/admin/batch_manager.php +++ b/admin/batch_manager.php @@ -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( |