aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin/user_list.tpl
blob: 906828afa2b97f1d4017585df993457da45777c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<div class="admin">{L_GROUP_ADD_USER}</div>

<form method="post" name="add_user" action="{F_ADD_ACTION}">
<div style="text-align:center">
  {L_USERNAME} <input type="text" name="login" maxlength="50" size="20" />
  {L_PASSWORD} <input type="text" name="password" />
  <input type="submit" name="submit_add" value="{L_SUBMIT}" class="bouton" />
</div>
</form>

<div class="admin">{L_USERS_LIST}</div>

<form method="get" name="filter" action="{F_FILTER_ACTION}">

<div style="text-align:center">

  <input type="hidden" name="page" value="user_list" />
  
  <!-- BEGIN session -->
  <input type="hidden" name="id" value="{session.ID}" />
  <!-- END session -->

  username <input type="text" name="username" value="{F_USERNAME}" />

  {L_ORDER_BY}
  <select name="order_by">
    <!-- BEGIN order_by -->
    <option value="{order_by.VALUE}" {order_by.SELECTED} >{order_by.CONTENT}</option>
    <!-- END order_by -->
  </select>
  <select name="direction">
    <!-- BEGIN direction -->
    <option value="{direction.VALUE}" {direction.SELECTED} >{direction.CONTENT}</option>
    <!-- END direction -->
  </select>
  <input type="submit" name="submit_filter" value="{L_SUBMIT}" class="bouton" />
</div>

</form>

<table style="width:100%;" >
  <tr class="throw">
    <th style="width:20%;">{L_USERNAME}</th>
    <th style="width:20%;">{L_STATUS}</th>
    <th style="width:30%;">{L_EMAIL}</th>
    <th style="width:30%;">{L_GROUPS}</th>
    <th style="width:1%;">{L_ACTIONS}</th>
  </tr>
  <!-- BEGIN user -->
  <tr>
    <td><a href="{user.U_MOD}">{user.USERNAME}</a></td>
    <td>{user.STATUS}</td>
    <td>{user.EMAIL}</td>
    <td>{user.GROUPS}</td>
    <td>[<a href="{user.U_PERM}">{L_PERMISSIONS}</a>]</td>
  </tr>
  <!-- END user -->
</table>
<div class="navigationBar">{NAVBAR}</div>