From f894f1208c0ccbd1945baf5c1cf05adb61535caf Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 17 Jun 2014 11:17:34 +0000 Subject: feature 3094: redesign on search form, use selectize for categories git-svn-id: http://piwigo.org/svn/trunk@28710 68402e56-0260-453c-a942-63ccdbb3a9ee --- search.php | 3 +-- themes/default/template/search.tpl | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/search.php b/search.php index 544eb9083..f9d20154f 100644 --- a/search.php +++ b/search.php @@ -247,8 +247,7 @@ SELECT id,name,global_rank,uppercats 'WHERE' ).' ;'; -display_select_cat_wrapper($query, array(), 'category_options', false); - +display_select_cat_wrapper($query, array(), 'category_options', true); // include menubar $themeconf = $template->get_template_vars('themeconf'); diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl index 21c61e8f7..3ddad7378 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, #tags").selectize({ + jQuery("#authors, #tags, #categories").selectize({ plugins: ['remove_button'] }); }); @@ -128,10 +128,9 @@ jQuery(document).ready(function() {
{'Search in albums'|@translate}

- {html_options options=$category_options selected=$category_options_selected} -

-- cgit v1.2.3