- bugfix debug.tpl did not display correctly when it was compiled with escape_html = true

This commit is contained in:
uwe.tews@googlemail.com
2011-09-22 19:13:15 +00:00
parent 6e22abb6dd
commit 00a4769aa5
2 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
===== Smarty 3.1 trunk =====
22.09.2011
- bugfix {foreachelse} does fail if {section} was nested inside {foreach}
- bugfix debug.tpl did not display correctly when it was compiled with escape_html = true
21.09.2011
- bugfix look for mixed case plugin file names as in 3.0 if not found try all lowercase

View File

@@ -86,7 +86,7 @@ td {
</head>
<body>
<h1>Smarty Debug Console - {if isset($template_name)}{$template_name|debug_print_var}{else}Total Time {$execution_time|string_format:"%.5f"}{/if}</h1>
<h1>Smarty Debug Console - {if isset($template_name)}{$template_name|debug_print_var nofilter}{else}Total Time {$execution_time|string_format:"%.5f"}{/if}</h1>
{if !empty($template_data)}
<h2>included templates &amp; config files (load time in seconds)</h2>
@@ -108,7 +108,7 @@ td {
{foreach $assigned_vars as $vars}
<tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}">
<th>${$vars@key|escape:'html'}</th>
<td>{$vars|debug_print_var}</td></tr>
<td>{$vars|debug_print_var nofilter}</td></tr>
{/foreach}
</table>
@@ -118,7 +118,7 @@ td {
{foreach $config_vars as $vars}
<tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}">
<th>{$vars@key|escape:'html'}</th>
<td>{$vars|debug_print_var}</td></tr>
<td>{$vars|debug_print_var nofilter}</td></tr>
{/foreach}
</table>