mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 09:54:27 +02:00
*** empty log message ***
This commit is contained in:
@@ -527,6 +527,12 @@ class Smarty
|
||||
$output .= "{$section_props}['loop'] = count($attr_value);\n";
|
||||
break;
|
||||
|
||||
case 'show':
|
||||
if (is_bool($attr_value))
|
||||
$attr_value = $attr_value ? 'true' : 'false';
|
||||
$output .= "{$section_props}['$attr_name'] = $attr_value;\n";
|
||||
break;
|
||||
|
||||
default:
|
||||
$output .= "{$section_props}['$attr_name'] = $attr_value;\n";
|
||||
break;
|
||||
|
@@ -14,7 +14,6 @@ My interests are:
|
||||
{else}
|
||||
* {$outer/FirstName} {$outer/LastName}
|
||||
{/if}
|
||||
{$outer/date|date_format:"%B %d, %Y"}
|
||||
{sectionelse}
|
||||
none
|
||||
{/section}
|
||||
|
@@ -527,6 +527,12 @@ class Smarty
|
||||
$output .= "{$section_props}['loop'] = count($attr_value);\n";
|
||||
break;
|
||||
|
||||
case 'show':
|
||||
if (is_bool($attr_value))
|
||||
$attr_value = $attr_value ? 'true' : 'false';
|
||||
$output .= "{$section_props}['$attr_name'] = $attr_value;\n";
|
||||
break;
|
||||
|
||||
default:
|
||||
$output .= "{$section_props}['$attr_name'] = $attr_value;\n";
|
||||
break;
|
||||
|
@@ -14,7 +14,6 @@ My interests are:
|
||||
{else}
|
||||
* {$outer/FirstName} {$outer/LastName}
|
||||
{/if}
|
||||
{$outer/date|date_format:"%B %d, %Y"}
|
||||
{sectionelse}
|
||||
none
|
||||
{/section}
|
||||
|
Reference in New Issue
Block a user