aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-01-01 14:50:30 +0000
committerplegall <plg@piwigo.org>2011-01-01 14:50:30 +0000
commit2cef8611672c4a93ad6f32b4bb11492af42f7e67 (patch)
tree37cead5aced70302fc00e16e6a4d562c324f4799
parent4b771b5ab632a8609e21bb538fed78a68d620cd0 (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.php4
-rw-r--r--admin/batch_manager.php7
2 files changed, 9 insertions, 2 deletions
diff --git a/admin.php b/admin.php
index 7ee60a1b1..7b79f6fce 100644
--- a/admin.php
+++ b/admin.php
@@ -127,8 +127,8 @@ $template->assign(
'U_CAT_UPDATE'=> $link_start.'site_update&amp;site=1',
'U_WAITING'=> $link_start.'upload',
'U_RATING'=> $link_start.'rating',
- 'U_CADDIE'=> $link_start.'element_set&amp;cat=caddie',
- 'U_RECENT_SET'=> $link_start.'element_set&amp;cat=recent',
+ 'U_CADDIE'=> $link_start.'batch_manager&amp;cat=caddie',
+ 'U_RECENT_SET'=> $link_start.'batch_manager&amp;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(