Block function
| From: | Haber Janos | Date: | Sun, 23 Mar 2003 12:14:10 +0000 |
| Subject: | Block function | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8845@lists.php.net to get a copy of this message | ||
Hi!
I want to write a block function, but I need evaulate the content, like this:
{myfunction innervar='var' loop=15}
<DIV ALIGN="{$var.align}">{$var.text}</DIV>
{/myfunction}
The inner content variables changed all running, so I need evaulate by 15 times the expression.
How I make this?
Cow