Last change
on this file since 5476 was
5195,
checked in by plg, 14 years ago
|
bug 1328: backport the pwg_token on trunk
bug 1329: backport the check_input_parameter on trunk
feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring
on this feature to make the code simpler and easier to maintain (I hope).
|
-
Property svn:eol-style set to
LF
|
File size:
2.1 KB
|
Rev | Line | |
---|
[2531] | 1 | <div class="titrePage"> |
---|
[5021] | 2 | <h2>{'Group management'|@translate}</h2> |
---|
[2531] | 3 | </div> |
---|
| 4 | |
---|
| 5 | <form method="post" name="add_user" action="{$F_ADD_ACTION}" class="properties"> |
---|
[5195] | 6 | <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> |
---|
[2531] | 7 | <fieldset> |
---|
| 8 | <legend>{'Add group'|@translate}</legend> |
---|
| 9 | |
---|
| 10 | <span class="property"> |
---|
| 11 | <label for="groupname">{'Group name'|@translate}</label> |
---|
| 12 | </span> |
---|
[3185] | 13 | <input type="text" id="groupname" name="groupname" maxlength="50" size="20"> |
---|
[2531] | 14 | |
---|
| 15 | <p> |
---|
[3185] | 16 | <input class="submit" type="submit" name="submit_add" value="{'Add'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
[2531] | 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}"> |
---|
[5036] | 34 | <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" alt="{'Permissions'|@translate}" title="{'Permissions'|@translate}"></a> |
---|
[3218] | 35 | <a href="{$group.U_DELETE}" onclick="return confirm('{'delete'|@translate|@escape:'javascript'}' + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> |
---|
[5036] | 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 \'default group\' property'|@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 \'default group\' property'|@translate}" title="{'Toggle \'default group\' property'|@translate}" {$TAG_INPUT_ENABLED}></a> |
---|
[2531] | 39 | </td> |
---|
| 40 | </tr> |
---|
| 41 | {/foreach} |
---|
| 42 | {/if} |
---|
| 43 | </table> |
---|
Note: See
TracBrowser
for help on using the repository browser.