{* $Id$ *} {* Show permissions table *} {if count($command_result) > 0} {* Can it be == 0 ?? *} {section name=i loop=$command_result} {* make row new start *} {if ($smarty.section.i.index % 3) == 0} {/if} {if ($smarty.section.i.index % 3) == 2} {/if} {/section} {* Close if still opened... *} {if $smarty.section.i.index % 3} {/if}
Permissions for {if $user}{$user}{else}anonymous{/if}
{$command_result[i].name}
Total {$smarty.section.i.total} permissions matched {/if}{* if count($command_result) > 0 *}