From 0511ed2236b1fab9bc9c23b6c3bbee82ee4efdb5 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 16 Jun 2014 13:53:16 +0000 Subject: feature 3091: search.php (advanced search), display a list of known authors instead of a text field. git-svn-id: http://piwigo.org/svn/trunk@28707 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/search.tpl | 17 ++++++++++++++++- themes/default/theme.css | 1 - 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'themes/default') diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl index 56c142182..09257ef96 100644 --- a/themes/default/template/search.tpl +++ b/themes/default/template/search.tpl @@ -3,6 +3,17 @@ {include file='include/resize.inc.tpl'} *} +{combine_script id='jquery.selectize' load='footer' path='themes/default/js/plugins/selectize.min.js'} +{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.dark.css"} + +{footer_script} +jQuery(document).ready(function() { + jQuery("#authors").selectize({ + plugins: ['remove_button'] + }); +}); +{/footer_script} + {if isset($MENUBAR)}{$MENUBAR}{/if}
@@ -33,7 +44,11 @@ diff --git a/themes/default/theme.css b/themes/default/theme.css index 08114a392..bbf5e4091 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -507,7 +507,6 @@ SELECT.categoryList { FIELDSET { padding: 1em; margin: 1em; - overflow: hidden; /* <- makes Opera happy */ } .filter UL, -- cgit v1.2.3