X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Flib%2Fsmarty%2Fdebug.tpl;fp=WEB-INF%2Flib%2Fsmarty%2Fdebug.tpl;h=058c5b204a8a84ac252930b2d9f9abdd4aefe7c2;hb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;hp=0000000000000000000000000000000000000000;hpb=098a79f0819ebb89b7d48df4a6b154af4560f68e;p=timetracker.git
diff --git a/WEB-INF/lib/smarty/debug.tpl b/WEB-INF/lib/smarty/debug.tpl
new file mode 100644
index 00000000..058c5b20
--- /dev/null
+++ b/WEB-INF/lib/smarty/debug.tpl
@@ -0,0 +1,133 @@
+{capture name='_smarty_debug' assign=debug_output}
+
+
+
+ Smarty Debug Console
+
+
+
+
+Smarty Debug Console - {if isset($template_name)}{$template_name|debug_print_var}{else}Total Time {$execution_time|string_format:"%.5f"}{/if}
+
+{if !empty($template_data)}
+included templates & config files (load time in seconds)
+
+
+{foreach $template_data as $template}
+ {$template.name}
+
+ (compile {$template['compile_time']|string_format:"%.5f"}) (render {$template['render_time']|string_format:"%.5f"}) (cache {$template['cache_time']|string_format:"%.5f"})
+
+
+{/foreach}
+
+{/if}
+
+assigned template variables
+
+
+ {foreach $assigned_vars as $vars}
+
+ ${$vars@key|escape:'html'} |
+ {$vars|debug_print_var} |
+ {/foreach}
+
+
+assigned config file variables (outer template scope)
+
+
+ {foreach $config_vars as $vars}
+
+ {$vars@key|escape:'html'} |
+ {$vars|debug_print_var} |
+ {/foreach}
+
+
+
+
+{/capture}
+