/usr/share/phpgacl/admin/templates/phpgacl/edit_object_sections.tpl is in phpgacl 3.3.7-7.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | {include file="phpgacl/header.tpl"}
{include file="phpgacl/acl_admin_js.tpl"}
</head>
<body>
{include file="phpgacl/navigation.tpl"}
<form method="post" name="edit_object_sections" action="edit_object_sections.php">
<table cellpadding="2" cellspacing="2" border="2" width="100%">
<tbody>
<tr class="pager">
<td colspan="11">
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?object_type=$object_type&"}
</td>
</tr>
<tr>
<th width="2%">ID</th>
<th>Value</th>
<th>Order</th>
<th>Name</th>
<th width="4%">Functions</th>
<th width="2%"><input type="checkbox" class="checkbox" name="select_all" onClick="checkAll(this)"/></th>
</tr>
{section name=x loop=$sections}
<tr valign="top" align="center">
<td>
{$sections[x].id}
<input type="hidden" name="sections[{$sections[x].id}][]" value="{$sections[x].id}">
</td>
<td><input type="text" size="10" name="sections[{$sections[x].id}][]" value="{$sections[x].value}"></td>
<td><input type="text" size="10" name="sections[{$sections[x].id}][]" value="{$sections[x].order}"></td>
<td><input type="text" size="40" name="sections[{$sections[x].id}][]" value="{$sections[x].name}"></td>
<td> </td>
<td><input type="checkbox" class="checkbox" name="delete_sections[]" value="{$sections[x].id}"></td>
</tr>
{/section}
<tr class="pager">
<td colspan="6">
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?object_type=$object_type&"}
</td>
</tr>
<tr class="spacer">
<td colspan="6"></td>
</tr>
<tr align="center">
<td colspan="6"><b>Add {$object_type|upper} Sections</b></td>
</tr>
<tr>
<th>ID</th>
<th>Value</th>
<th>Order</th>
<th>Name</th>
<th>Functions</th>
<th> </td>
</tr>
{section name=y loop=$new_sections}
<tr valign="top" align="center">
<td>N/A</td>
<td><input type="text" size="10" name="new_sections[{$new_sections[y].id}][]" value=""></td>
<td><input type="text" size="10" name="new_sections[{$new_sections[y].id}][]" value=""></td>
<td><input type="text" size="40" name="new_sections[{$new_sections[y].id}][]" value=""></td>
<td> </td>
<td> </td>
</tr>
{/section}
<tr class="controls" align="center">
<td colspan="4">
<input type="submit" class="button" name="action" value="Submit"> <input type="reset" class="button" value="Reset">
</td>
<td colspan="2">
<input type="submit" class="button" name="action" value="Delete">
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="object_type" value="{$object_type}">
<input type="hidden" name="return_page" value="{$return_page}">
</form>
{include file="phpgacl/footer.tpl"}
|