You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
2.4 KiB
43 lines
2.4 KiB
{include file="phpgacl/header.tpl"} |
|
{include file="phpgacl/acl_admin_js.tpl"} |
|
</head> |
|
<body> |
|
{include file="phpgacl/navigation.tpl"} |
|
<form method="post" name="edit_group" action="edit_group.php"> |
|
<input type="hidden" name="csrf_token_form" value="{$CSRF_TOKEN_FORM|attr}"> |
|
<table cellpadding="2" cellspacing="2" border="2" width="100%"> |
|
<tbody> |
|
<tr> |
|
<th width="2%">ID</th> |
|
<th width="40%">Name</th> |
|
<th width="20%">Value</th> |
|
<th width="6%">Objects</th> |
|
<th width="30%">Functions</th> |
|
<th width="2%"><input type="checkbox" class="checkbox" name="select_all" onClick="checkAll(this)"/></th> |
|
</tr> |
|
{foreach from=$groups item=group} |
|
<tr valign="middle" align="center"> |
|
<td>{$group.id|text}</td> |
|
{* the name variable uses a html img for spacing, so is html escaped at the format_groups function instead *} |
|
<td align="left">{$group.name}</td> |
|
<td align="left">{$group.value|text}</td> |
|
<td>{$group.object_count|text}</td> |
|
<td> |
|
[ <a href="assign_group.php?group_type={$group_type|attr_url}&group_id={$group.id|attr_url}&return_page={$return_page|attr_url}">Assign {$group_type|upper|text}</a> ] |
|
[ <a href="edit_group.php?group_type={$group_type|attr_url}&parent_id={$group.id|attr_url}&return_page={$return_page|attr_url}">Add Child</a> ] |
|
[ <a href="edit_group.php?group_type={$group_type|attr_url}&group_id={$group.id|attr_url}&return_page={$return_page|attr_url}">Edit</a> ] |
|
[ <a href="acl_list.php?action=Filter&filter_{$group_type|attr_url}_group={$group.raw_name|attr_url}&return_page={$return_page|attr_url}">ACLs</a> ] |
|
</td> |
|
<td><input type="checkbox" class="checkbox" name="delete_group[]" value="{$group.id|attr}"></td> |
|
</tr> |
|
{/foreach} |
|
<tr class="controls" align="center"> |
|
<td colspan="4"> </td> |
|
<td colspan="2" nowrap><input type="submit" class="button" name="action" value="Add" /> <input type="submit" class="button" name="action" value="Delete" /></td> |
|
</tr> |
|
</tbody> |
|
</table> |
|
<input type="hidden" name="group_type" value="{$group_type|attr}"> |
|
<input type="hidden" name="return_page" value="{$return_page|attr}"> |
|
</form> |
|
{include file="phpgacl/footer.tpl"}
|
|
|