mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
- bugfix debug.tpl did not display correctly when it was compiled with escape_html = true
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
===== Smarty 3.1 trunk =====
|
===== Smarty 3.1 trunk =====
|
||||||
22.09.2011
|
22.09.2011
|
||||||
- bugfix {foreachelse} does fail if {section} was nested inside {foreach}
|
- 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
|
21.09.2011
|
||||||
- bugfix look for mixed case plugin file names as in 3.0 if not found try all lowercase
|
- bugfix look for mixed case plugin file names as in 3.0 if not found try all lowercase
|
||||||
|
@@ -86,7 +86,7 @@ td {
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<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)}
|
{if !empty($template_data)}
|
||||||
<h2>included templates & config files (load time in seconds)</h2>
|
<h2>included templates & config files (load time in seconds)</h2>
|
||||||
@@ -108,7 +108,7 @@ td {
|
|||||||
{foreach $assigned_vars as $vars}
|
{foreach $assigned_vars as $vars}
|
||||||
<tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}">
|
<tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}">
|
||||||
<th>${$vars@key|escape:'html'}</th>
|
<th>${$vars@key|escape:'html'}</th>
|
||||||
<td>{$vars|debug_print_var}</td></tr>
|
<td>{$vars|debug_print_var nofilter}</td></tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ td {
|
|||||||
{foreach $config_vars as $vars}
|
{foreach $config_vars as $vars}
|
||||||
<tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}">
|
<tr class="{if $vars@iteration % 2 eq 0}odd{else}even{/if}">
|
||||||
<th>{$vars@key|escape:'html'}</th>
|
<th>{$vars@key|escape:'html'}</th>
|
||||||
<td>{$vars|debug_print_var}</td></tr>
|
<td>{$vars|debug_print_var nofilter}</td></tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
Reference in New Issue
Block a user