diff options
| author | Uwe Tews <uwe.tews@googlemail.com> | 2015-05-13 19:03:54 +0200 |
|---|---|---|
| committer | Uwe Tews <uwe.tews@googlemail.com> | 2015-05-13 19:03:54 +0200 |
| commit | a3c89bb4f4779378e3a02be69630ba46b6075cfc (patch) | |
| tree | 8ee47bb0972ad324965ae9775f029c8a6c5205bb /libs/debug.tpl | |
| parent | 319e39693754b8beb214a3fe37b5bfd9ad465ddb (diff) | |
| download | smarty-a3c89bb4f4779378e3a02be69630ba46b6075cfc.tar.gz smarty-a3c89bb4f4779378e3a02be69630ba46b6075cfc.tar.bz2 smarty-a3c89bb4f4779378e3a02be69630ba46b6075cfc.zip | |
Debugging - truncate output of Origin to 80 characters and increase string values from 40 to 80 characters
Diffstat (limited to 'libs/debug.tpl')
| -rw-r--r-- | libs/debug.tpl | 12 |
1 files 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 @@ <table id="table_assigned_vars"> {foreach $assigned_vars as $vars} <tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}"> - <td><h3><font color=blue>${$vars@key|escape:'html'}</font></h3> + <td><h3><font color=blue>${$vars@key}</font></h3> {if isset($vars['nocache'])}<b>Nocache</b></br>{/if} - {if isset($vars['scope'])}<b>Origin:</b> {$vars['scope']}{/if} + {if isset($vars['scope'])}<b>Origin:</b> {$vars['scope']|debug_print_var:null:80 nofilter}{/if} </td> - <td><h3>Value</h3>{$vars['value']|debug_print_var nofilter}</td> + <td><h3>Value</h3>{$vars['value']|debug_print_var:null:80 nofilter}</td> <td>{if isset($vars['attributes'])}<h3>Attributes</h3>{$vars['attributes']|debug_print_var nofilter} {/if}</td> {/foreach} </table> @@ -140,10 +140,10 @@ <table id="table_config_vars"> {foreach $config_vars as $vars} <tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}"> - <td><h3><font color=blue>#{$vars@key|escape:'html'}#</font></h3> - {if isset($vars['scope'])}<b>Origin:</b> {$vars['scope']}{/if} + <td><h3><font color=blue>#{$vars@key}#</font></h3> + {if isset($vars['scope'])}<b>Origin:</b> {$vars['scope']|debug_print_var:null:80 nofilter}{/if} </td> - <td>{$vars['value']|debug_print_var nofilter}</td> + <td>{$vars['value']|debug_print_var:null:80 nofilter}</td> </tr> {/foreach} |
