From 583af81d3d23ab0e3692dd7bb4a36314deab5994 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 16 Jun 2014 14:17:53 +0000 Subject: feature 2563: do not display all tags as checkboxes on search.php. Use jQuery Selectize instead. git-svn-id: http://piwigo.org/svn/trunk@28708 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/search.tpl | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'themes/default') diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl index 09257ef96..34b8f3625 100644 --- a/themes/default/template/search.tpl +++ b/themes/default/template/search.tpl @@ -8,7 +8,7 @@ {footer_script} jQuery(document).ready(function() { - jQuery("#authors").selectize({ + jQuery("#authors, #tags").selectize({ plugins: ['remove_button'] }); }); @@ -46,16 +46,22 @@ jQuery(document).ready(function() { -{if isset($TAG_SELECTION)} +{if isset($TAGS)}
{'Search tags'|@translate} - {$TAG_SELECTION} + + +
-- cgit v1.2.3