aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/wigo/admin/group_list.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-09-14 00:33:53 +0000
committervdigital <vdigital@piwigo.org>2008-09-14 00:33:53 +0000
commitd1c423da759aa50f572f2bcf57aa2f22944226e9 (patch)
tree22ed4e9a27faca840f1b3ccf3f4c33687a01e2ef /admin/template/wigo/admin/group_list.tpl
parent53aef87751829798b6804b0e3d95f78d82db8301 (diff)
Admin template wigo/roma
git-svn-id: http://piwigo.org/svn/trunk@2526 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/template/wigo/admin/group_list.tpl43
1 files changed, 43 insertions, 0 deletions
diff --git a/admin/template/wigo/admin/group_list.tpl b/admin/template/wigo/admin/group_list.tpl
new file mode 100644
index 000000000..a1d9f74f6
--- /dev/null
+++ b/admin/template/wigo/admin/group_list.tpl
@@ -0,0 +1,43 @@
+{* $Id$ *}
+<div class="titrePage">
+ <h2>{'title_groups'|@translate}</h2>
+</div>
+
+<form method="post" name="add_user" action="{$F_ADD_ACTION}" class="properties">
+ <fieldset>
+ <legend>{'Add group'|@translate}</legend>
+
+ <span class="property">
+ <label for="groupname">{'Group name'|@translate}</label>
+ </span>
+ <input type="text" id="groupname" name="groupname" maxlength="50" size="20" />
+
+ <p>
+ <input class="submit" type="submit" name="submit_add" value="{'Add'|@translate}" {$TAG_INPUT_ENABLED}/>
+ </p>
+ </fieldset>
+</form>
+
+<table class="table2">
+ <tr class="throw">
+ <th>{'Group name'|@translate}</th>
+ <th>{'Members'|@translate}</th>
+ <th>{'Actions'|@translate}</th>
+ </tr>
+ {if not empty($groups)}
+ {foreach from=$groups item=group name=group_loop}
+ <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}">
+ <td>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i></td>
+ <td><a href="{$group.U_MEMBERS}">{$group.MEMBERS}</a></td>
+ <td style="text-align:center;">
+ <a href="{$group.U_PERM}">
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/permissions.png" class="button" style="border:none" id="btn_permissions" alt="{'permissions'|@translate}" title="{'permissions'|@translate}" /></a>
+ <a href="{$group.U_DELETE}" onclick="return confirm( document.getElementById('btn_delete').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" style="border:none" id="btn_delete" alt="{'delete'|@translate}" title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}/></a>
+ <a href="{$group.U_ISDEFAULT}" onclick="return confirm( document.getElementById('btn_toggle_is_default_group').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');">
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/toggle_is_default_group.png" class="button" style="border:none" id="btn_toggle_is_default_group" alt="{'toggle_is_default_group'|@translate}" title="{'toggle_is_default_group'|@translate}" {$TAG_INPUT_ENABLED}/></a>
+ </td>
+ </tr>
+ {/foreach}
+ {/if}
+</table>