Ignore:
Timestamp:
Apr 19, 2006, 11:30:38 PM (18 years ago)
Author:
plg
Message:

merge -r1209:1210 from branch-1_6 to trunk (rating management filter display
improvement)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/admin/rating.tpl

    r1085 r1211  
    11<h2>{lang:Rating} [{NB_ELEMENTS} {lang:elements}]</h2>
    22
    3 <form action="" method="GET" id="update">
    4 <fieldset>
    5 <legend></legend>
    6 <input type="hidden" name="page" value="rating" />
    7 <ul>
     3<form action="{F_ACTION}" method="GET" id="update" class="filter">
     4  <fieldset>
     5    <legend>{lang:Filter}</legend>
    86
    9 <li><label>{lang:elements per page}: <input type="text" name="display" size="2" value="{DISPLAY}"></label></li>
     7    <label>
     8      {lang:Sort by}
     9      <select name="order_by">
     10        <!-- BEGIN order_by -->
     11        <option value="{order_by.VALUE}" {order_by.SELECTED}>{order_by.CONTENT}</option>
     12        <!-- END order_by -->
     13      </select>
     14    </label>
    1015
    11 <li>
    12 <label>{lang:Sort by}:
    13 <select name="order_by">
    14 <!-- BEGIN order_by -->
    15 <option value="{order_by.VALUE}" {order_by.SELECTED}>{order_by.CONTENT}</option>
    16 <!-- END order_by -->
    17 </select>
    18 </label></li>
     16    <label>
     17      {lang:Users}
     18      <select name="users">
     19        <!-- BEGIN user_option -->
     20        <option value="{user_option.VALUE}" {user_option.SELECTED}>{user_option.CONTENT}</option>
     21        <!-- END user_option -->
     22      </select>
     23    </label>
    1924
    20 <li>{lang:Filter}:
    21 <label>
    22  <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_ALL_CHECKED} value="all"/>
    23  {lang:users} & {lang:guest}
    24 </label>
    25 <label>
    26  <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_USER_CHECKED} value="user"/>
    27  {lang:users}
    28 </label>
    29 <label>
    30  <input type="radio" class="radio" name="display_filter" {DISPLAY_FILTER_GUEST_CHECKED} value="guest"/>
    31  {lang:guest}
    32 </label>
    33 </li>
     25    <label>
     26      {lang:Number of items}
     27      <input type="text" name="display" size="2" value="{DISPLAY}">
     28    </label>
    3429
    35 </ul>
     30    <input type="submit" name="submit_filter" value="{lang:Submit}" />
     31  </fieldset>
     32  <input type="hidden" name="page" value="rating" />
     33</form>
    3634
    37 </fieldset>
    38 <p class="bottomButtons">
    39 <input type="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
    40 </p>
    41 </form>
    4235<div class="navigationBar">{NAVBAR}</div>
    4336<table width="100%">
Note: See TracChangeset for help on using the changeset viewer.