aboutsummaryrefslogtreecommitdiffstats
path: root/template/public/yoga/admin/group_list.tpl
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-06-18 12:04:59 +0000
committernikrou <nikrou@piwigo.org>2006-06-18 12:04:59 +0000
commit57cf3ba758cadf56e35aa030edf525e61a56cfc6 (patch)
treee5d0e5709285107f49130233e6f73874bd71f99e /template/public/yoga/admin/group_list.tpl
parent7457a64443e25650728bcbe47f4649e21c04f4e6 (diff)
Issue 426: first step; separation of admin and public into two templates
Need to simplify and delete files not needed git-svn-id: http://piwigo.org/svn/trunk@1363 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/public/yoga/admin/group_list.tpl')
-rw-r--r--template/public/yoga/admin/group_list.tpl35
1 files changed, 35 insertions, 0 deletions
diff --git a/template/public/yoga/admin/group_list.tpl b/template/public/yoga/admin/group_list.tpl
new file mode 100644
index 000000000..7b7dd67eb
--- /dev/null
+++ b/template/public/yoga/admin/group_list.tpl
@@ -0,0 +1,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>