aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-06-17 11:17:34 +0000
committerplegall <plg@piwigo.org>2014-06-17 11:17:34 +0000
commitf894f1208c0ccbd1945baf5c1cf05adb61535caf (patch)
tree81cd753fdec30b1444ecd0cbad8bfa5dae9d7a51 /themes/default/template
parent6f8caf22ba22395b0e038989bfdc2726cc4c2342 (diff)
feature 3094: redesign on search form, use selectize for categories
git-svn-id: http://piwigo.org/svn/trunk@28710 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/search.tpl5
1 files changed, 2 insertions, 3 deletions
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() {
<fieldset>
<legend>{'Search in albums'|@translate}</legend>
<p>
- <select class="categoryList" name="cat[]" multiple="multiple" size="15">
+ <select id="categories" name="cat[]" multiple>
{html_options options=$category_options selected=$category_options_selected}
</select>
- <br>
<label><input type="checkbox" name="subcats-included" value="1" checked="checked">{'Search in sub-albums'|@translate}</label>
</p>
</fieldset>