source: trunk/admin/template/goto/group_list.tpl @ 3282

Last change on this file since 3282 was 3282, checked in by plg, 15 years ago

change: according to topic:15067, svn:keywords property was removed

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