{* $Id: debug.tpl,v 1.4 2010/07/22 10:05:32 aim Exp $ vim: set ts=2 sw=2 sts=2 et: *} {* Smarty *} {* debug.tpl, last updated version 2.0.1 *} {assign_debug_info} {if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"} {section name=templates loop=$_debug_tpls} {sectionelse} {/section} {section name=vars loop=$_debug_keys} {sectionelse} {/section} {section name=config_vars loop=$_debug_config_keys} {sectionelse} {/section}
Smarty Debug Console
included templates & config files (load time in seconds):
{section name=indent loop=$_debug_tpls[templates].depth}   {/section} {$_debug_tpls[templates].filename|escape:html} {if isset($_debug_tpls[templates].exec_time)} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if} {/if}
no templates included
assigned template variables:
{ldelim}${$_debug_keys[vars]}{rdelim} {$_debug_vals[vars]|@debug_print_var}
no template variables assigned
assigned config file variables (outer template scope):
{ldelim}#{$_debug_config_keys[config_vars]}#{rdelim} {$_debug_config_vals[config_vars]|@debug_print_var}
no config vars assigned
{else} {/if}