aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-04-19 21:27:39 +0000
committerplegall <plg@piwigo.org>2006-04-19 21:27:39 +0000
commitad171f93f239b541a45f01c5f38dd7683b5ef922 (patch)
tree2648906fc7d637a14d92adfe46b045f29a61e882 /template/yoga/admin
parent8789f41f8ccb31d0ec9f2c75996511e26abba8bc (diff)
improvement: filter fieldset conforms with PWG standards.
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1210 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin')
-rw-r--r--template/yoga/admin/rating.tpl61
1 files changed, 27 insertions, 34 deletions
diff --git a/template/yoga/admin/rating.tpl b/template/yoga/admin/rating.tpl
index 139723b4d..862e538e8 100644
--- a/template/yoga/admin/rating.tpl
+++ b/template/yoga/admin/rating.tpl
@@ -1,44 +1,37 @@
<h2>{lang:Rating} [{NB_ELEMENTS} {lang:elements}]</h2>
-<form action="" method="GET" id="update">
-<fieldset>
-<legend></legend>
-<input type="hidden" name="page" value="rating" />
-<ul>
+<form action="{F_ACTION}" method="GET" id="update" class="filter">
+ <fieldset>
+ <legend>{lang:Filter}</legend>
-<li><label>{lang:elements per page}: <input type="text" name="display" size="2" value="{DISPLAY}"></label></li>
+ <label>
+ {lang:Sort by}
+ <select name="order_by">
+ <!-- BEGIN order_by -->
+ <option value="{order_by.VALUE}" {order_by.SELECTED}>{order_by.CONTENT}</option>
+ <!-- END order_by -->
+ </select>
+ </label>
-<li>
-<label>{lang:Sort by}:
-<select name="order_by">
-<!-- BEGIN order_by -->
-<option value="{order_by.VALUE}" {order_by.SELECTED}>{order_by.CONTENT}</option>
-<!-- END order_by -->
-</select>
-</label></li>
+ <label>
+ {lang:Users}
+ <select name="users">
+ <!-- BEGIN user_option -->
+ <option value="{user_option.VALUE}" {user_option.SELECTED}>{user_option.CONTENT}</option>
+ <!-- END user_option -->
+ </select>
+ </label>
-<li>{lang:Filter}:
-<label>
- <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_ALL_CHECKED} value="all"/>
- {lang:users} & {lang:guest}
-</label>
-<label>
- <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_USER_CHECKED} value="user"/>
- {lang:users}
-</label>
-<label>
- <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_GUEST_CHECKED} value="guest"/>
- {lang:guest}
-</label>
-</li>
+ <label>
+ {lang:Number of items}
+ <input type="text" name="display" size="2" value="{DISPLAY}">
+ </label>
-</ul>
-
-</fieldset>
-<p class="bottomButtons">
-<input type="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
-</p>
+ <input type="submit" name="submit_filter" value="{lang:Submit}" />
+ </fieldset>
+ <input type="hidden" name="page" value="rating" />
</form>
+
<div class="navigationBar">{NAVBAR}</div>
<table width="100%">
<tr class="throw">