{* Smarty *} {* debug.tpl, last updated version 2.1.0 *} {assign_debug_info} {capture assign=debug_output} Smarty Debug Console {literal} {/literal}

Smarty Debug Console

included templates & config files (load time in seconds)

{section name=templates loop=$_debug_tpls} {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}
{sectionelse}

no templates included

{/section}

assigned template variables

{section name=vars loop=$_debug_keys} {sectionelse} {/section}
{ldelim}${$_debug_keys[vars]|escape:'html'}{rdelim} {$_debug_vals[vars]|@xoops_debug_print_var}

no template variables assigned

assigned config file variables (outer template scope)

{section name=config_vars loop=$_debug_config_keys} {sectionelse} {/section}
{ldelim}#{$_debug_config_keys[config_vars]|escape:'html'}#{rdelim} {$_debug_config_vals[config_vars]|@xoops_debug_print_var}

no config vars assigned

{/capture} {if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"} {$debug_output} {else} {/if}