diff options
author | rvelices <rv-github@modusoptimus.com> | 2014-06-19 20:39:12 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2014-06-19 20:39:12 +0000 |
commit | a61307e65286a239eee279428c11b4ac749830c2 (patch) | |
tree | 3e384f3d1af9f3ad304b28669aff358fbf727360 /themes/default/template/search.tpl | |
parent | e9c7c08ec472e1969e1384abfd781a3b0b9c19c3 (diff) |
feature 3094: redesign of search form
- fix comments page filter form (css changes affected also that .filter form - simplified also css rules)
- better query for author list (using id for visible_images instead of image_id field)
- don't show author list if there is only one author
git-svn-id: http://piwigo.org/svn/trunk@28744 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/search.tpl')
-rw-r--r-- | themes/default/template/search.tpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl index b9d712cee..acec2ebd1 100644 --- a/themes/default/template/search.tpl +++ b/themes/default/template/search.tpl @@ -48,6 +48,7 @@ jQuery(document).ready(function() { </fieldset> +{if count($AUTHORS)>1} <fieldset> <legend>{'Search for Author'|@translate}</legend> <p> @@ -58,6 +59,7 @@ jQuery(document).ready(function() { </select> </p> </fieldset> +{/if} {if isset($TAGS)} <fieldset> @@ -135,8 +137,8 @@ jQuery(document).ready(function() { </p> </fieldset> <p> - <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"> - <input class="submit" type="reset" value="{'Reset'|@translate}"> + <input type="submit" name="submit" value="{'Submit'|@translate}"> + <input type="reset" value="{'Reset'|@translate}"> </p> </form> |