From 4874eb72565073ad732dddcf7ba276230efe0f08 Mon Sep 17 00:00:00 2001 From: mohrt Date: Tue, 23 Oct 2001 19:22:10 +0000 Subject: [PATCH] update debug.tpl file format --- demo/templates/debug.tpl | 2 +- templates/debug.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/templates/debug.tpl b/demo/templates/debug.tpl index d7cc04ae..f303fb7f 100644 --- a/demo/templates/debug.tpl +++ b/demo/templates/debug.tpl @@ -9,7 +9,7 @@ _smarty_console.document.write("Smarty Debug Console"); _smarty_console.document.write("included templates & config files (load time in seconds):"); {section name=templates loop=$_debug_tpls} - _smarty_console.document.write("{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename} - {$_debug_tpls[templates].exec_time|string_format:"%.5f"}{if %templates.index% eq 0} (total){/if}"); + _smarty_console.document.write("{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}"); {sectionelse} _smarty_console.document.write("no templates included"); {/section} diff --git a/templates/debug.tpl b/templates/debug.tpl index d7cc04ae..f303fb7f 100644 --- a/templates/debug.tpl +++ b/templates/debug.tpl @@ -9,7 +9,7 @@ _smarty_console.document.write("Smarty Debug Console"); _smarty_console.document.write("included templates & config files (load time in seconds):"); {section name=templates loop=$_debug_tpls} - _smarty_console.document.write("{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename} - {$_debug_tpls[templates].exec_time|string_format:"%.5f"}{if %templates.index% eq 0} (total){/if}"); + _smarty_console.document.write("{section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}"); {sectionelse} _smarty_console.document.write("no templates included"); {/section}