aboutsummaryrefslogtreecommitdiffstats
path: root/template/public/yoga/admin/group_list.tpl
blob: 7b7dd67ebf8fbc0e08356082f2778fb96ee96425 (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
<!-- $Id$ -->
<h2>{lang:title_groups}</h2>

<form method="post" name="add_user" action="{F_ADD_ACTION}" class="properties">
  <fieldset>
    <legend>{lang:Add group}</legend>

    <span class="property">
      <label for="groupname">{lang:Group name}</label>
    </span>
    <input type="text" id="groupname" name="groupname" maxlength="50" size="20" onfocus="this.className='focus';" onblur="this.className='nofocus';" />

    <p>
      <input type="submit" name="submit_add" value="{lang:Add}" {TAG_INPUT_ENABLED}/>
    </p>
  </fieldset>
</form>

<table class="table2">
  <tr class="throw">
    <th>{lang:Group name}</th>
    <th>{lang:Members}</th>
    <th>{lang:Actions}</th>
  </tr>
  <!-- BEGIN group -->
  <tr class="{group.CLASS}">
    <td>{group.NAME}</td>
    <td><a href="{group.U_MEMBERS}">{group.MEMBERS}</a></td>
    <td style="text-align:center;">
      <a href="{group.U_PERM}"><img src="{themeconf:icon_dir}/permissions.png" class="button" style="border:none" alt="permissions" title="{lang:permissions}" /></a>
      <a href="{group.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none" alt="delete" title="{lang:delete}" {TAG_INPUT_ENABLED}/></a>
    </td>
  </tr>
  <!-- END group -->
</table>