source: trunk/admin/themes/default/template/group_list.tpl @ 6323

Last change on this file since 6323 was 5931, checked in by nikrou, 14 years ago

Fix some errors in generated html

  • Property svn:eol-style set to LF
File size: 2.1 KB
Line 
1<div class="titrePage">
2  <h2>{'Group management'|@translate}</h2>
3</div>
4
5<form method="post" name="add_user" action="{$F_ADD_ACTION}" class="properties">
6  <fieldset>
7    <legend>{'Add group'|@translate}</legend>
8    <span class="property">
9      <label for="groupname">{'Group name'|@translate}</label>
10    </span>
11    <input type="text" id="groupname" name="groupname" maxlength="50" size="20">
12
13    <p>
14      <input class="submit" type="submit" name="submit_add" value="{'Add'|@translate}" {$TAG_INPUT_ENABLED}>
15      <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
16    </p>
17  </fieldset>
18</form>
19
20<table class="table2">
21  <tr class="throw">
22    <th>{'Group name'|@translate}</th>
23    <th>{'Members'|@translate}</th>
24    <th>{'Actions'|@translate}</th>
25  </tr>
26  {if not empty($groups)}
27  {foreach from=$groups item=group name=group_loop}
28  <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}">
29    <td>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i></td>
30    <td><a href="{$group.U_MEMBERS}">{$group.MEMBERS}</a></td>
31    <td style="text-align:center;">
32      <a href="{$group.U_PERM}">
33        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" alt="{'Permissions'|@translate}" title="{'Permissions'|@translate}"></a>
34      <a href="{$group.U_DELETE}" onclick="return confirm('{'delete'|@translate|@escape:'javascript'}' + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
35        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none" alt="{'Delete'|@translate}" title="{'Delete'|@translate}" {$TAG_INPUT_ENABLED}></a>
36      <a href="{$group.U_ISDEFAULT}" onclick="return confirm('{'Toggle \'default group\' property'|@translate|@escape:'javascript'}' +'\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
37        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/toggle_is_default_group.png" class="button" style="border:none" alt="{'Toggle \'default group\' property'|@translate}" title="{'Toggle \'default group\' property'|@translate}" {$TAG_INPUT_ENABLED}></a>
38    </td>
39  </tr>
40  {/foreach}
41  {/if}
42</table>
Note: See TracBrowser for help on using the repository browser.