source: trunk/admin/template/goto/rating.tpl @ 2621

Last change on this file since 2621 was 2540, checked in by vdigital, 16 years ago

Admin goto/roma minor CSS / templates changes.
Public yoga/Sylvia minor CSS / gif changes

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1{* $Id: rating.tpl 2540 2008-09-16 16:32:17Z vdigital $ *}
2<h2>{'Rating'|@translate} [{$NB_ELEMENTS} {'elements'|@translate}]</h2>
3
4<form action="{$F_ACTION}" method="GET" id="update" class="filter">
5  <fieldset>
6    <legend>{'Filter'|@translate}</legend>
7
8    <label>
9      {'Sort by'|@translate}
10      <select name="order_by">
11        {html_options options=$order_by_options selected=$order_by_options_selected}
12      </select>
13    </label>
14
15    <label>
16      {'Users'|@translate}
17      <select name="users">
18        {html_options options=$user_options selected=$user_options_selected}
19      </select>
20    </label>
21
22    <label>
23      {'Number of items'|@translate}
24      <input type="text" name="display" size="2" value="{$DISPLAY}">
25    </label>
26
27    <input class="submit" type="submit" name="submit_filter" value="{'Submit'|@translate}" />
28    <input type="hidden" name="page" value="rating" />
29  </fieldset>
30</form>
31
32<div class="navigationBar">{$NAVBAR}</div>
33<table width="99%">
34<tr class="throw">
35  <td>{'File'|@translate}</td>
36  <td>{'Number of rates'|@translate}</td>
37  <td>{'Average rate'|@translate}</td>
38  <td>{'Controversy'|@translate}</td>
39  <td>{'Sum of rates'|@translate}</td>
40  <td>{'Rate'|@translate}</td>
41  <td>{'Username'|@translate}</td>
42  <td>{'Rate date'|@translate}</td>
43  <td></td>
44</tr>
45{foreach from=$images item=image name=image}
46<tr valign="bottom" class="{if $smarty.foreach.image.index is odd}row1{else}row2{/if}">
47  <td rowspan="{$image.NB_RATES_TOTAL+1}"><a href="{$image.U_URL}"><img src="{$image.U_THUMB}" alt="{$image.FILE}" title="{$image.FILE}"></a></td>
48  <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.NB_RATES}/{$image.NB_RATES_TOTAL}</strong></td>
49  <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.AVG_RATE}</strong></td>
50  <td rowspan="{$image.NB_RATES_TOTAL+1}"><strong>{$image.STD_RATE}</strong></td>
51  <td rowspan="{$image.NB_RATES_TOTAL+1}" style="border-right: 1px solid;" ><strong>{$image.SUM_RATE}</strong></td>
52</tr>
53{foreach from=$image.rates item=rate name=rate}
54<tr class="{if ($smarty.foreach.image.index+$smarty.foreach.rate.index) is odd}row1{else}row2{/if}">
55    <td>{$rate.RATE}</td>
56    <td><b>{$rate.USER}</b></td>
57    <td><span class="date">{$rate.DATE}</span></td>
58    <td><a href="{$rate.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'delete'|@translate}]"/></a></td>
59</tr>
60{/foreach} {*rates*}
61{/foreach} {*images*}
62</table>
63
64<div class="navigationBar">{$NAVBAR}</div>
Note: See TracBrowser for help on using the repository browser.