From 0b7bd87646bd4e44474c7b2612a970b6afbbd235 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 15 Sep 2012 15:47:52 +0000 Subject: feature 2718: Add batch manager filters for photo dimensions git-svn-id: http://piwigo.org/svn/trunk@17931 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../default/template/batch_manager_global.tpl | 41 +++++++++++++++++++--- 1 file changed, 37 insertions(+), 4 deletions(-) (limited to 'admin/themes/default/template') diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl index ac6e84623..a3e5c156d 100644 --- a/admin/themes/default/template/batch_manager_global.tpl +++ b/admin/themes/default/template/batch_manager_global.tpl @@ -391,6 +391,11 @@ $(document).ready(function() { filter_enable(filter); $(this).attr("value", -1); }); + + $("select[name='filter_dimension']").change(function () { + $("span[id^='filter_dimension_']").hide(); + $("span#filter_dimension_"+ $(this).attr("value")).show(); + }); function filter_disable(filter) { /* hide the filter line */ @@ -506,6 +511,7 @@ $(document).ready(function() { {/foreach} +
  • [x] @@ -515,6 +521,7 @@ $(document).ready(function() {
  • +
  • [x] @@ -527,6 +534,7 @@ $(document).ready(function() {
  • +
  • [x] @@ -536,16 +544,41 @@ $(document).ready(function() {
  • + +
  • + [x] + + + px + px + px + px + + + +
  • {'Remove all filters'|@translate} -- cgit v1.2.3