You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
2.4 KiB
98 lines
2.4 KiB
{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="11"> |
|
{include file="phpgacl/pager.tpl" pager_data=$paging_data link="?"} |
|
</td> |
|
</tr> |
|
<tr> |
|
<th>#</th> |
|
<th>Section > ACO</th> |
|
<th>Section > ARO</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|text} |
|
</td> |
|
<td valign="middle" align="center"> |
|
{$acls[x].display_aco_name|text} |
|
</td> |
|
<td valign="top" align="left"> |
|
{$acls[x].aro_section_name|text} > {$acls[x].aro_name|text} |
|
</td> |
|
<td valign="top" align="center"> |
|
{$acls[x].return_value|text}<br /> |
|
</td> |
|
<td valign="top" align="left"> |
|
acl_check('{$acls[x].aco_section_value|text}', '{$acls[x].aco_value|text}', '{$acls[x].aro_section_value|text}', '{$acls[x].aro_value|text}') |
|
</td> |
|
<td valign="top" align="center" nowrap> |
|
[ <a href="acl_debug.php?aco_section_value={$acls[x].aco_section_value|attr_url}&aco_value={$acls[x].aco_value|attr_url}&aro_section_value={$acls[x].aro_section_value|attr_url}&aro_value={$acls[x].aro_value|attr_url}&action=Submit">debug</a> ] |
|
</td> |
|
<td valign="top" align="center"> |
|
{$acls[x].acl_check_time|text} |
|
</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="11"> |
|
{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|text} |
|
</td> |
|
</tr> |
|
<tr align="center"> |
|
<td> |
|
<b>Average Time / Check</b> |
|
</td> |
|
<td> |
|
{$avg_acl_check_time|text}ms |
|
</td> |
|
</tr> |
|
</table> |
|
<br /> |
|
<table align="center" cellpadding="2" cellspacing="2" border="2" width="30%"> |
|
<th> |
|
Do you want to test 3-dimensional ACLs? |
|
</th> |
|
<tr align="center"> |
|
<td> |
|
[ <a href="acl_test3.php">3-dimensional ACLs</a> ] |
|
</td> |
|
</tr> |
|
</table> |
|
<br /> |
|
{include file="phpgacl/footer.tpl"}
|
|
|