/usr/share/phpgacl/admin/templates/phpgacl/acl_debug.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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | {include file="phpgacl/header.tpl"}
</head>
<body>
{include file="phpgacl/navigation.tpl"}
<form method="get" name="acl_debug" action="acl_debug.php">
<table cellpadding="2" cellspacing="2" border="2" width="100%">
<tr>
<th rowspan="2"> </th>
<th colspan="2">ACO</th>
<th colspan="2">ARO</th>
<th colspan="2">AXO</th>
<th rowspan="2">Root ARO<br />Group ID</th>
<th rowspan="2">Root AXO<br />Group ID</th>
<th rowspan="2"> </th>
</tr>
<tr>
<th>Section</th>
<th>Value</th>
<th>Section</th>
<th>Value</th>
<th>Section</th>
<th>Value</th>
</tr>
<tr valign="middle" align="center">
<td nowrap><b>acl_query(</b></td>
<td><input type="text" name="aco_section_value" size="15" value="{$aco_section_value}"></td>
<td><input type="text" name="aco_value" size="15" value="{$aco_value}"></td>
<td><input type="text" name="aro_section_value" size="15" value="{$aro_section_value}"></td>
<td><input type="text" name="aro_value" size="15" value="{$aro_value}"></td>
<td><input type="text" name="axo_section_value" size="15" value="{$axo_section_value}"></td>
<td><input type="text" name="axo_value" size="15" value="{$axo_value}"></td>
<td><input type="text" name="root_aro_group_id" size="15" value="{$root_aro_group_id}"></td>
<td><input type="text" name="root_axo_group_id" size="15" value="{$root_axo_group_id}"></td>
<td><b>)</b></td>
</tr>
<tr class="controls" align="center">
<td colspan="10">
<input type="submit" class="button" name="action" value="Submit">
</td>
</tr>
</table>
{if count($acls) gt 0}
<br />
<table cellpadding="2" cellspacing="2" border="2" width="100%">
<tr>
<th rowspan="2" width="4%">ACL ID</th>
<th colspan="2">ACO</th>
<th colspan="2">ARO</th>
<th colspan="2">AXO</th>
<th colspan="2">ACL</th>
</tr>
<tr>
<th width="12%">Section</th>
<th width="12%">Value</th>
<th width="12%">Section</th>
<th width="12%">Value</th>
<th width="12%">Section</th>
<th width="12%">Value</th>
<th width="8%">Access</th>
<th width="16%">Updated Date</th>
</tr>
{foreach from=$acls item=acl}
<tr valign="top" align="left">
<td valign="middle" rowspan="2" align="center">
{$acl.id}
</td>
<td nowrap>
{$acl.aco_section_value}
</td>
<td nowrap>
{$acl.aco_value}
</td>
<td nowrap>
{$acl.aro_section_value}<br>
</td>
<td nowrap>
{$acl.aro_value}<br>
</td>
<td nowrap>
{$acl.axo_section_value}<br>
</td>
<td nowrap>
{$acl.axo_value}<br>
</td>
<td valign="middle" class="{if $acl.allow}green{else}red{/if}" align="center">
{if $acl.allow}
ALLOW
{else}
DENY
{/if}
</td>
<td valign="middle" align="center">
{$acl.updated_date}
</td>
</tr>
<tr valign="middle" align="left">
<td colspan="4">
<b>Return Value:</b> {$acl.return_value}<br>
</td>
<td colspan="4">
<b>Note:</b> {$acl.note}
</td>
</tr>
{/foreach}
</table>
{/if}
<input type="hidden" name="return_page" value="{$return_page}">
</form>
{include file="phpgacl/footer.tpl"}
|