Re: [SMARTY-DEV] parser syntax change
| From: | Andr� Rabold | Date: | Thu, 19 Dec 2002 12:08:08 +0000 |
| Subject: | Re: [SMARTY-DEV] parser syntax change | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-456@lists.php.net to get a copy of this message | ||
Agree with that. I think a lot of people a familiar with the C-Syntax of an
if-clause.
So Smarty should support that too. If they're not they can use the classic
Smarty
syntax "eq" instead of "==" etc.
André
"Ivo Jansch" <ivo@ibuildings.nl> schrieb im Newsbeitrag
news:3E01A5EB.3070904@ibuildings.nl...
> Hi,
>
> Monte Ohrt wrote:
>
> > Since the removal of exporting assigned variables, this syntax no longer
> > works:
> > {if !$changing}
> > ...
> > {/if}
>
> Oops.. I think our template designers used this a lot.. I must be
> careful when upgrading Smarty.
>
> Wouldn't it be possible to modify the regexes such that it would work
> without the spaces too?
>
> Greetings,
> Ivo
>
> --
> Ivo Jansch <ivo@ibuildings.nl>
> ibuildings.nl BV - information technology
> http://www.ibuildings.nl
>
>