mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
*** empty log message ***
This commit is contained in:
3
NEWS
3
NEWS
@@ -1,3 +1,6 @@
|
|||||||
|
- fixed the bug that prevented using non-array values for 'loop' attribute
|
||||||
|
(Andrei)
|
||||||
|
|
||||||
Version 1.0a
|
Version 1.0a
|
||||||
------------
|
------------
|
||||||
- fixed bug that caused templates to recompile every time (monte)
|
- fixed bug that caused templates to recompile every time (monte)
|
||||||
|
@@ -15,7 +15,7 @@ the value of $SCRIPT_NAME is {$SCRIPT_NAME}
|
|||||||
hello, my name is {$Name|upper}
|
hello, my name is {$Name|upper}
|
||||||
|
|
||||||
My interests are:
|
My interests are:
|
||||||
{section name=outer loop=2}
|
{section name=outer loop=$FirstName}
|
||||||
{if %outer.index% is odd by 2}
|
{if %outer.index% is odd by 2}
|
||||||
{%outer.rownum%} . {$outer/FirstName} {$outer/LastName}
|
{%outer.rownum%} . {$outer/FirstName} {$outer/LastName}
|
||||||
{else}
|
{else}
|
||||||
|
@@ -15,7 +15,7 @@ the value of $SCRIPT_NAME is {$SCRIPT_NAME}
|
|||||||
hello, my name is {$Name|upper}
|
hello, my name is {$Name|upper}
|
||||||
|
|
||||||
My interests are:
|
My interests are:
|
||||||
{section name=outer loop=2}
|
{section name=outer loop=$FirstName}
|
||||||
{if %outer.index% is odd by 2}
|
{if %outer.index% is odd by 2}
|
||||||
{%outer.rownum%} . {$outer/FirstName} {$outer/LastName}
|
{%outer.rownum%} . {$outer/FirstName} {$outer/LastName}
|
||||||
{else}
|
{else}
|
||||||
|
Reference in New Issue
Block a user