1 {include file="phpgacl/header.tpl"}
2 {include file="phpgacl/acl_admin_js.tpl"}
5 {include file="phpgacl/navigation.tpl"}
6 <form method="post" name="edit_object_sections" action="edit_object_sections.php">
7 <table cellpadding="2" cellspacing="2" border="2" width="100%">
11 {include file="phpgacl/pager.tpl" pager_data=$paging_data link="?object_type=$object_type&"}
15 <th width="2%">ID</th>
19 <th width="4%">Functions</th>
20 <th width="2%"><input type="checkbox" class="checkbox" name="select_all" onClick="checkAll(this)"/></th>
22 {section name=x loop=$sections}
23 <tr valign="top" align="center">
26 <input type="hidden" name="sections[{$sections[x].id}][]" value="{$sections[x].id}">
28 <td><input type="text" size="10" name="sections[{$sections[x].id}][]" value="{$sections[x].value}"></td>
29 <td><input type="text" size="10" name="sections[{$sections[x].id}][]" value="{$sections[x].order}"></td>
30 <td><input type="text" size="40" name="sections[{$sections[x].id}][]" value="{$sections[x].name}"></td>
32 <td><input type="checkbox" class="checkbox" name="delete_sections[]" value="{$sections[x].id}"></td>
37 {include file="phpgacl/pager.tpl" pager_data=$paging_data link="?object_type=$object_type&"}
44 <td colspan="6"><b>Add {$object_type|upper} Sections</b></td>
54 {section name=y loop=$new_sections}
55 <tr valign="top" align="center">
57 <td><input type="text" size="10" name="new_sections[{$new_sections[y].id}][]" value=""></td>
58 <td><input type="text" size="10" name="new_sections[{$new_sections[y].id}][]" value=""></td>
59 <td><input type="text" size="40" name="new_sections[{$new_sections[y].id}][]" value=""></td>
64 <tr class="controls" align="center">
66 <input type="submit" class="button" name="action" value="Submit"> <input type="reset" class="button" value="Reset">
69 <input type="submit" class="button" name="action" value="Delete">
74 <input type="hidden" name="object_type" value="{$object_type}">
75 <input type="hidden" name="return_page" value="{$return_page}">
77 {include file="phpgacl/footer.tpl"}