/usr/share/phpgacl/admin/templates/phpgacl/edit_objects.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 78 79 80 81 82 | {include file="phpgacl/header.tpl"}
{include file="phpgacl/acl_admin_js.tpl"}
</head>
<body>
{include file="phpgacl/navigation.tpl"}
<form method="post" name="edit_objects" action="edit_objects.php">
<table cellpadding="2" cellspacing="2" border="2" width="100%">
<tbody>
<tr class="pager">
<td colspan="7">
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?section_value=$section_value&object_type=$object_type&"}
</td>
</tr>
<tr>
<th width="2%">ID</th>
<th>Section</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=$objects}
<tr valign="top" align="center">
<td>
{$objects[x].id}
<input type="hidden" name="objects[{$objects[x].id}][]" value="{$objects[x].id}">
</td>
<td>{$section_name}</td>
<td><input type="text" size="10" name="objects[{$objects[x].id}][]" value="{$objects[x].value}"></td>
<td><input type="text" size="10" name="objects[{$objects[x].id}][]" value="{$objects[x].order}"></td>
<td><input type="text" size="40" name="objects[{$objects[x].id}][]" value="{$objects[x].name}"></td>
<td> </td>
<td><input type="checkbox" class="checkbox" name="delete_object[]" value="{$objects[x].id}"></td>
</tr>
{/section}
<tr class="pager">
<td colspan="7">
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?section_value=$section_value&object_type=$object_type&"}
</td>
</tr>
<tr class="spacer">
<td colspan="7"></td>
</tr>
<tr align="center">
<td colspan="7"><b>Add {$object_type|upper}s</b></td>
</tr>
<tr>
<th>ID</th>
<th>Section</th>
<th>Value</th>
<th>Order</th>
<th>Name</th>
<th>Functions</th>
<th> </th>
</tr>
{section name=y loop=$new_objects}
<tr valign="top" align="center">
<td>N/A</td>
<td>{$section_name}</td>
<td><input type="text" size="10" name="new_objects[{$new_objects[y].id}][]" value=""></td>
<td><input type="text" size="10" name="new_objects[{$new_objects[y].id}][]" value=""></td>
<td><input type="text" size="40" name="new_objects[{$new_objects[y].id}][]" value=""></td>
<td> </td>
<td> </td>
</tr>
{/section}
<tr class="controls" align="center">
<td colspan="5">
<input type="submit" class="button" name="action" value="Submit"> <input type="reset" class="button" value="Reset"><br>
</td>
<td colspan="2">
<input type="submit" class="button" name="action" value="Delete">
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="section_value" value="{$section_value}">
<input type="hidden" name="object_type" value="{$object_type}">
<input type="hidden" name="return_page" value="{$return_page}">
</form>
{include file="phpgacl/footer.tpl"}
|