Re: [SMARTY] Math tokens undefined in 2.4.0 {if} blocks
| From: | Monte Ohrt | Date: | Mon, 03 Feb 2003 20:23:11 +0000 |
| Subject: | Re: [SMARTY] Math tokens undefined in 2.4.0 {if} blocks | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7494@lists.php.net to get a copy of this message | ||
I don't see why they can't be supported. They don't cause security or
syntax problems, so that's fine with me ;-) The only other option would
be to put the list of allowed tokens in an array so they are user
definable, much like the allowed php functions. I'm not sure if that
would be of use to anyone.
Monte
On Mon, 2003-02-03 at 14:18, Duke Ionescu wrote:
> > They were never officially supported, and the new parser is much more
> > strict. I can add those in on the next CVS commit.
>
> Cool - I find them extremely useful. Is it posible to make them
> official/guarantee that they stay in future releases? I have a lot of code
> that depends on them and would like to keep up with the latest version of
> Smarty in the future. That is, unless you have a functionally equivalent
> way of doing the same thing better.
--
Monte Ohrt <monte@ispi.net>