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}