diff options
Diffstat (limited to 'template/default/admin/group_list.tpl')
-rw-r--r-- | template/default/admin/group_list.tpl | 64 |
1 files changed, 23 insertions, 41 deletions
diff --git a/template/default/admin/group_list.tpl b/template/default/admin/group_list.tpl index 89cdf1bb2..5fac3e4bb 100644 --- a/template/default/admin/group_list.tpl +++ b/template/default/admin/group_list.tpl @@ -1,43 +1,25 @@ -<form method="post" name="post" action="{S_GROUP_ACTION}"> -<div class="admin">{L_GROUP_SELECT}</div> -<!-- BEGIN select_box --> -{S_GROUP_SELECT} <input type="submit" name="edit" value="{L_LOOK_UP}" class="bouton" /> -<input type="submit" name="delete" value="{L_GROUP_DELETE}" class="bouton" /> -<div style="vertical-align:middle;"> -<input type="checkbox" name="confirm_delete" value="1">{L_GROUP_CONFIRM} -</div> -<!-- END select_box --> -<input type="text" name="newgroup"> -<input type="submit" class="bouton" name="new" value="{L_CREATE_NEW_GROUP}" /> -<br /> -<br /> -<!-- BEGIN edit_group --> -<div class="admin">{L_GROUP_EDIT} [{edit_group.GROUP_NAME}]</div> -<table class="table2" width="60%" style="margin-left:20%;"> -<tr class="throw"> - <th width="25%">{L_USER_NAME}</th> - <th width="25%">{L_USER_EMAIL}</th> - <th width="10%">{L_USER_SELECT}</th> -</tr> -<!-- BEGIN user --> - <tr class="{edit_group.user.T_CLASS}"> - <td>{edit_group.user.NAME}</td> - <td>{edit_group.user.EMAIL}</td> - <td align="center"><input name="members[]" type="checkbox" value="{edit_group.user.ID}"></td> +<form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}"> + <fieldset> + <legend>{lang:Add group}</legend> + <label>{lang:Group name} <input type="text" name="groupname" maxlength="50" size="20" /></label> + <input type="submit" name="submit_add" value="{lang:Add}" /> + </fieldset> +</form> + +<table class="table2" style="width:100%;" > + <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="./template/default/theme/permissions.png" style="border:none" alt="permissions" title="{lang:permissions}" /></a> + <a href="{group.U_DELETE}"><img src="./template/default/theme/delete.png" style="border:none" alt="delete" title="{lang:delete}" /></a> + </td> </tr> -<!-- END user --> -<tr> - <td colspan="3" align="right" valign="middle"> - <input type="submit" name="deny_user" value="{L_DENY_SELECTED}" class="bouton" /> - </td> -</tr> + <!-- END group --> </table> -<div align="left" style="margin-left:20%;"> -<input type="text" name="username" maxlength="50" size="20" /> -<input type="submit" name="add" value="{L_ADD_MEMBER}" class="bouton" /> -<input name="edit_group_id" type="hidden" value="{edit_group.GROUP_ID}"> -<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /> -</div> -<br /> -<!-- END edit_group --> -</form> |