diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-09-05 20:49:12 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-09-05 20:49:12 +0000 |
commit | 53a0522894ac474e5e614f2d0d1894b21ab0216f (patch) | |
tree | 7d03c076e0c8f4887b7be61951660f97277d42f0 /admin/batch_manager.php | |
parent | 5f23fa1473dbbaacd9a6e76db255ac8378301e6f (diff) |
merge-r17765 from trunk to branch 2.4 feature 2737: improve tag administration screen
show for every tag
- the number of photos
- link to public index page
- link to batch manager edit
add an event for extended description multi language strings (used for autocompletion and shown in the tag admin screen) instead of hard coded in the core [lang=..
git-svn-id: http://piwigo.org/svn/branches/2.4@17766 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/batch_manager.php')
-rw-r--r-- | admin/batch_manager.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/batch_manager.php b/admin/batch_manager.php index 7869e4cc2..71f3c72f6 100644 --- a/admin/batch_manager.php +++ b/admin/batch_manager.php @@ -114,6 +114,13 @@ if (isset($_GET['cat'])) 'category' => $_GET['cat'] ); } + + if (substr_compare($_GET['cat'],'tag-',0,4)==0) + { + $_SESSION['bulk_manager_filter']=array(); + $_SESSION['bulk_manager_filter']['tags'] = array(intval(substr($_GET['cat'],4))); + $_SESSION['bulk_manager_filter']['tag_mode'] = 'AND'; + } } if (!isset($_SESSION['bulk_manager_filter'])) |