Re: [SMARTY] Incompatibility in IF-Statement again
| From: | Monte Ohrt | Date: | Mon, 10 Feb 2003 15:14:08 +0000 |
| Subject: | Re: [SMARTY] Incompatibility in IF-Statement again | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7618@lists.php.net to get a copy of this message | ||
#1 works fine for me. ??
#2 there is a recursion problem that won't work with regular
expressions. You can have modifiers in object call parameters, but not
the other way around. It's the same reason why you can't have objects
passed as parameters to objects. Pre Smarty 2.4.0, the parser didn't do
strict syntax checking and passed a lot of things straight to PHP.
Monte
On Fri, 2003-02-07 at 04:12, Rainer Collet wrote:
> i have found two incompatibilities in if-statements again:
>
> 1. {if $var == true} / {if $var == false} doesn't work any more
>
> 2. {$var|modifier:$object->prob} doesn't work any more
>
> both types were supported (undocumented) in smarty 2.3.0. it would be nice,
> if it will be supported again, because some of my customers use this synatx
> in their templates with my application and i want to upgrade my application
> to a recent smarty release.
>
> thanks,
> rainer
--
Monte Ohrt <monte@ispi.net>