Re: [SMARTY] Syntax change in 3.4.1
| From: | Monte Ohrt | Date: | Mon, 10 Feb 2003 17:53:20 +0000 |
| Subject: | Re: [SMARTY] Syntax change in 3.4.1 | ||
| References: | 1 2 3 4 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-674@lists.php.net to get a copy of this message | ||
A patch has been committed to CVS, give that a try. Actually any
(reasonably) valid variable syntax should now be recognized in quotes.
Monte
On Sun, 2003-02-09 at 16:29, Laurent Penou wrote:
> Hello
>
> Prior to 3.4.0
>
> this was working
>
> php : $smarty->assign("hlpphots",array("Bla...","Photos"));
> tpl: {popup text="$hlpphots[0]" caption="$hlpphots[1]"}
>
> Now the tamplate must be
> {popup text=$hlpphots[0] caption=$hlpphots[1]}
>
> Is that normal ?
> Is there some other tricks like this one ?
>
> Laurent
--
Monte Ohrt <monte@ispi.net>