From a3c89bb4f4779378e3a02be69630ba46b6075cfc Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Wed, 13 May 2015 19:03:54 +0200 Subject: [PATCH] Debugging - truncate output of Origin to 80 characters and increase string values from 40 to 80 characters --- libs/debug.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/debug.tpl b/libs/debug.tpl index 464727b6..d27e9f81 100644 --- a/libs/debug.tpl +++ b/libs/debug.tpl @@ -126,11 +126,11 @@ {foreach $assigned_vars as $vars} - - + {/foreach}

${$vars@key|escape:'html'}

+

${$vars@key}

{if isset($vars['nocache'])}Nocache
{/if} - {if isset($vars['scope'])}Origin: {$vars['scope']}{/if} + {if isset($vars['scope'])}Origin: {$vars['scope']|debug_print_var:null:80 nofilter}{/if}

Value

{$vars['value']|debug_print_var nofilter}

Value

{$vars['value']|debug_print_var:null:80 nofilter}
{if isset($vars['attributes'])}

Attributes

{$vars['attributes']|debug_print_var nofilter} {/if}
@@ -140,10 +140,10 @@ {foreach $config_vars as $vars} - - + {/foreach}

#{$vars@key|escape:'html'}#

- {if isset($vars['scope'])}Origin: {$vars['scope']}{/if} +

#{$vars@key}#

+ {if isset($vars['scope'])}Origin: {$vars['scope']|debug_print_var:null:80 nofilter}{/if}
{$vars['value']|debug_print_var nofilter}{$vars['value']|debug_print_var:null:80 nofilter}