aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/rating.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-04-19 21:30:38 +0000
committerplegall <plg@piwigo.org>2006-04-19 21:30:38 +0000
commitdc1b0cb18557737d95e68071ec9852670418b844 (patch)
treead3147587bf5bfcc1e641b36fbbdcc0804b3a07e /template/yoga/admin/rating.tpl
parente3dcdc39f4729802cbbb47d379dca51b7be10dfd (diff)
merge -r1209:1210 from branch-1_6 to trunk (rating management filter display
improvement) git-svn-id: http://piwigo.org/svn/trunk@1211 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin/rating.tpl')
-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">