root/trunk/wifidog-auth/wifidog/admin/templates/online_users.html

Revision 1058, 0.9 KB (checked in by fproulx, 8 years ago)

2006-05-22 François Proulx <francois.proulx@…>

  • Added generateFromArray parameter (max_length)
  • Restricts select content ui combo box to 40 chars
  • Added Smarty plugin modifier.fsize_format.php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1{if $error}
2        <div id="help">
3        {$error}
4        </div>
5{else}
6
7<fieldset>
8<legend>{"Online users"|_}</legend>
9<table>
10
11<thead>
12<tr>
13  <th>{"Node"|_}</th>
14  <th>{"Username"|_}</th>
15  <th>{"Origin"|_}</th>
16  <th>{"Logged in Since"|_}</th>
17  <th>{"Traffic IN/OUT"|_}</th>
18</tr>
19</thead>
20
21{section name=i loop=$users_array}
22<tr class='{cycle values="odd,even"}'>
23    <td>{$users_array[i].name}</td>
24    <td><a href="stats.php?Statistics={$users_array[i].account_origin}&distinguish_users_by=user_id&stats_selected_users={$users_array[i].username}&UserReport=on&user_id={$users_array[i].user_id}&action=generate">{$users_array[i].username}</a></td>
25    <td>{$users_array[i].account_origin}</td>
26    <td>{$users_array[i].timestamp_in|date_format:"%Y/%m/%d %H:%M:%S"}</td>
27    <td>{$users_array[i].incoming|fsize_format}/{$users_array[i].outgoing|fsize_format}</td>
28    <td></td>
29</tr>
30{/section}
31</table>
32</fieldset>
33
34{/if}
Note: See TracBrowser for help on using the browser.