[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-dev
Subject:    Re: [SMARTY-DEV] parser syntax change
From:       213.144.12.8
Date:       2002-12-19 12:08:08
[Download RAW message or body]

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
>
>



-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic