aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/comments.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-06-19 20:39:12 +0000
committerrvelices <rv-github@modusoptimus.com>2014-06-19 20:39:12 +0000
commita61307e65286a239eee279428c11b4ac749830c2 (patch)
tree3e384f3d1af9f3ad304b28669aff358fbf727360 /themes/default/template/comments.tpl
parente9c7c08ec472e1969e1384abfd781a3b0b9c19c3 (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 '')
-rw-r--r--themes/default/template/comments.tpl110
1 files changed, 72 insertions, 38 deletions
diff --git a/themes/default/template/comments.tpl b/themes/default/template/comments.tpl
index 0ffef1fa9..96f42b09b 100644
--- a/themes/default/template/comments.tpl
+++ b/themes/default/template/comments.tpl
@@ -14,24 +14,46 @@
<fieldset>
<legend>{'Filter'|@translate}</legend>
- <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}"></label>
-
- <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}"></label>
-
- <label>
- {'Album'|@translate}
- <select name="cat">
- <option value="0">------------</option>
- {html_options options=$categories selected=$categories_selected}
- </select>
- </label>
-
- <label>
- {'Since'|@translate}
- <select name="since">
- {html_options options=$since_options selected=$since_options_selected}
- </select>
- </label>
+ <ul>
+ <li>
+ <label>{'Keyword'|@translate}</label>
+ </li>
+ <li>
+ <input type="text" name="keyword" value="{$F_KEYWORD}">
+ </li>
+ </ul>
+
+ <ul>
+ <li>
+ <label>{'Author'|@translate}</label>
+ </li>
+ <li>
+ <input type="text" name="author" value="{$F_AUTHOR}">
+ </li>
+ </ul>
+
+ <ul>
+ <li>
+ <label>{'Album'|@translate}</label>
+ </li>
+ <li>
+ <select name="cat">
+ <option value="0">------------</option>
+ {html_options options=$categories selected=$categories_selected}
+ </select>
+ </li>
+ </ul>
+
+ <ul>
+ <li>
+ <label>{'Since'|@translate}</label>
+ </li>
+ <li>
+ <select name="since">
+ {html_options options=$since_options selected=$since_options_selected}
+ </select>
+ </li>
+ </ul>
</fieldset>
@@ -39,26 +61,38 @@
<legend>{'Display'|@translate}</legend>
- <label>
- {'Sort by'|@translate}
- <select name="sort_by">
- {html_options options=$sort_by_options selected=$sort_by_options_selected}
- </select>
- </label>
-
- <label>
- {'Sort order'|@translate}
- <select name="sort_order">
- {html_options options=$sort_order_options selected=$sort_order_options_selected}
- </select>
- </label>
-
- <label>
- {'Number of items'|@translate}
- <select name="items_number">
- {html_options options=$item_number_options selected=$item_number_options_selected}
- </select>
- </label>
+ <ul>
+ <li>
+ <label>{'Sort by'|@translate}</label>
+ </li>
+ <li>
+ <select name="sort_by">
+ {html_options options=$sort_by_options selected=$sort_by_options_selected}
+ </select>
+ </li>
+ </ul>
+
+ <ul>
+ <li>
+ <label>{'Sort order'|@translate}</label>
+ </li>
+ <li>
+ <select name="sort_order">
+ {html_options options=$sort_order_options selected=$sort_order_options_selected}
+ </select>
+ </li>
+ </ul>
+
+ <ul>
+ <li>
+ <label>{'Number of items'|@translate}</label>
+ </li>
+ <li>
+ <select name="items_number">
+ {html_options options=$item_number_options selected=$item_number_options_selected}
+ </select>
+ </li>
+ </ul>
</fieldset>