diff -r 000000000000 -r c63de9eb7045 smarty/debug.tpl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/smarty/debug.tpl Sun Mar 23 14:59:33 2008 -0400
@@ -0,0 +1,157 @@
+{* 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}
+
+ {ldelim}${$_debug_keys[vars]|escape:'html'}{rdelim} |
+ {$_debug_vals[vars]|@debug_print_var} |
+ {sectionelse}
+ no template variables assigned |
+ {/section}
+
+
+assigned config file variables (outer template scope)
+
+
+ {section name=config_vars loop=$_debug_config_keys}
+
+ {ldelim}#{$_debug_config_keys[config_vars]|escape:'html'}#{rdelim} |
+ {$_debug_config_vals[config_vars]|@debug_print_var} |
+ {sectionelse}
+ no config vars assigned |
+ {/section}
+
+
+
+{/capture}
+{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"}
+ {$debug_output}
+{else}
+
+{/if}
\ No newline at end of file