0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
3.2.0-5
/
standard
/
htdocs
/
templates
/
debug
/
[
Home
]
File: tiki-debug_permissions.tpl
{* $Id: tiki-debug_permissions.tpl 17630 2009-03-26 03:37:22Z luciash $ *} {* Show permissions table *} {if count($command_result) > 0} {* Can it be == 0 ?? *} <table id="permissions"> <caption>Permissions for {if $user}{$user}{else}anonymous{/if}</caption> {section name=i loop=$command_result} {* make row new start *} {if ($smarty.section.i.index % 3) == 0} <tr> {/if} <td> <span class="o{if $command_result[i].value == 'y' }n{else}ff{/if}-option" title="{$command_result[i].description}"> {$command_result[i].name} </span> </td> {if ($smarty.section.i.index % 3) == 2} </tr> {/if} {/section} {* Close <TR> if still opened... *} {if $smarty.section.i.index % 3} </tr> {/if} </table> <small>Total {$smarty.section.i.total} permissions matched</small> {/if}{* if count($command_result) > 0 *}