/usr/share/phpgacl/admin/templates/phpgacl/acl_test3.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 | {include file="phpgacl/header.tpl"}
</head>
<body>
{include file="phpgacl/navigation.tpl"}
<form method="post" name="acl_list" action="acl_list.php">
<table cellpadding="2" cellspacing="2" border="2" width="100%">
<tr class="pager">
<td colspan="12">
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?"}
</td>
</tr>
<tr>
<th>#</th>
<th>Section > ACO</th>
<th>Section > ARO</th>
<th>Section > AXO</th>
<th>Return Value</th>
<th>ACL_CHECK() Code</th>
<th>Debug</th>
<th>Time (ms)</th>
<th>Access</th>
</tr>
{section name=x loop=$acls}
<tr>
<td valign="middle" align="center">
{$smarty.section.x.iteration}
</td>
<td valign="middle" align="center">
{$acls[x].display_aco_name}
</td>
<td valign="top" align="left">
{$acls[x].aro_section_name} > {$acls[x].aro_name}
</td>
<td valign="top" align="left">
{$acls[x].axo_section_name} > {$acls[x].axo_name}
</td>
<td valign="top" align="center">
{$acls[x].return_value}<br>
</td>
<td valign="top" align="left">
<!---acl_check('{$acls[x].aco_section_value}', '{$acls[x].aco_value}', '{$acls[x].aro_section_value}', '{$acls[x].aro_value}')-->
<!---meinhard_jahn@web.de, 20041102: axo_section_value and axo_value implemented--->
acl_check('{$acls[x].aco_section_value}', '{$acls[x].aco_value}', '{$acls[x].aro_section_value}', '{$acls[x].aro_value}', '{$acls[x].axo_section_value}', '{$acls[x].axo_value}')
</td>
<td valign="top" align="center" nowrap>
<!---[ <a href="acl_debug.php?aco_section_value={$acls[x].aco_section_value}&aco_value={$acls[x].aco_value}&aro_section_value={$acls[x].aro_section_value}&aro_value={$acls[x].aro_value}&action=Submit">debug</a> ]-->
<!---meinhard_jahn@web.de, 20041102: axo_section_value and axo_value implemented--->
[ <a href="acl_debug.php?aco_section_value={$acls[x].aco_section_value}&aco_value={$acls[x].aco_value}&aro_section_value={$acls[x].aro_section_value}&aro_value={$acls[x].aro_value}&axo_section_value={$acls[x].axo_section_value}&axo_value={$acls[x].axo_value}&action=Submit">debug</a> ]
</td>
<td valign="top" align="center">
{$acls[x].acl_check_time}
</td>
<td valign="middle" class="{if $acls[x].access}green{else}red{/if}" align="center">
{if $acls[x].access}
ALLOW
{else}
DENY
{/if}
</td>
</tr>
{/section}
<tr classs="pager">
<td colspan="12">
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?"}
</td>
</tr>
</table>
</form>
<br>
<table align="center" cellpadding="2" cellspacing="2" border="2" width="30%">
<tr>
<th colspan="2">
Summary
</th>
</tr>
<tr align="center">
<td>
<b>Total ACL Check(s)</b>
</td>
<td>
{$total_acl_checks}
</td>
</tr>
<tr align="center">
<td>
<b>Average Time / Check</b>
</td>
<td>
{$avg_acl_check_time}ms
</td>
</tr>
</table>
<br>
<table align="center" cellpadding="2" cellspacing="2" border="2" width="30%">
<th>
Do you want to test 2-dimensional ACLs?
</th>
<tr align="center">
<td>
[ <a href="acl_test2.php">2-dimensional ACLs</a> ]
</td>
</tr>
</table>
<br>
{include file="phpgacl/footer.tpl"}
|