From: <za...@us...> - 2003-07-13 19:56:56
|
Update of /cvsroot/tikiwiki/tiki/templates/debug In directory sc8-pr-cvs1:/tmp/cvs-serv16428 Added Files: Tag: release_eta_carinea_rc1 tiki-debug_features.tpl Log Message: New debug console command: features --- NEW FILE: tiki-debug_features.tpl --- {* $Header: /cvsroot/tikiwiki/tiki/templates/debug/Attic/tiki-debug_features.tpl,v 1.1.2.1 2003/07/13 19:56:53 zaufi Exp $ *} {* Show features *} {if count($command_result) > 0} {* Can it be == 0 ?? *} <hr> <table border="0"> <tr> {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"> {$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> <hr> <small>Total {$smarty.section.i.total} features matched</small> {/if}{* if count($command_result) > 0 *} |