Re: [SMARTY] Syntax change in 3.4.2
| From: | Laurent Penou | Date: | Fri, 14 Feb 2003 15:40:54 +0000 |
| Subject: | Re: [SMARTY] Syntax change in 3.4.2 | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-695@lists.php.net to get a copy of this message | ||
Hello
I could see the issue with
{popup text="$hlpec[0]" caption="$hlpec[1]"}
Is corrected in 342
But this syntax
{shdtblstart title="You Are number : $newpg[newid] "}
Displays
"You Are number :"
Te value $newpg[newid] is not displayed !!
Regards
Laurent
----- Original Message -----
From: "Monte Ohrt" <monte@ispi.net>
To: "Laurent Penou" <lpenou@free.fr>
Cc: "Smarty General" <smarty-general@lists.php.net>; "Smarty Dev"
<smarty-dev@lists.php.net>
Sent: Monday, February 10, 2003 6:53 PM
Subject: Re: [SMARTY] Syntax change in 3.4.1
> 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>
>
>