Re: AW: [PHPTAL] Logical operators in PHPTAL

2010-09-30 Thread Kornel Lesiński
On 30-09-2010 at 15:45:46 Per Bernhardt wrote: I would love to see this feature, too! Was it no positive feedback or no feedback at all? http://lists.motion-twin.com/pipermail/phptal/2009-November/001967.html Do you think it is hard to implement? It requires writing a mini compiler with p

AW: [PHPTAL] Logical operators in PHPTAL

2010-09-30 Thread Per Bernhardt
-twin.com [mailto:phptal-boun...@lists.motion-twin.com] Im Auftrag von romtek Gesendet: Donnerstag, 30. September 2010 07:45 An: Template Attribute Language for PHP Betreff: Re: [PHPTAL] Logical operators in PHPTAL 2010/9/29 Kornel Lesiński On 29 Sep 2010, at 06:33, romtek wrote

Re: [PHPTAL] Logical operators in PHPTAL

2010-09-29 Thread romtek
2010/9/29 Kornel Lesiński > On 29 Sep 2010, at 06:33, romtek wrote: > > > > I'd like to be able to use a bit more simple logic in my templates. Being > able to use AND, OR, and NOT would be good. E.g. > tal:condition="event/featured AND event/upcoming", tal:condition="NOT > event/featured AND eve

Re: [PHPTAL] Logical operators in PHPTAL

2010-09-29 Thread Kornel Lesiński
On 29 Sep 2010, at 06:33, romtek wrote: > > I'd like to be able to use a bit more simple logic in my templates. Being > able to use AND, OR, and NOT would be good. E.g. > tal:condition="event/featured AND event/upcoming", tal:condition="NOT > event/featured AND event/upcoming" > > I remember t

[PHPTAL] Logical operators in PHPTAL

2010-09-28 Thread romtek
Hi, I'd like to be able to use a bit more simple logic in my templates. Being able to use AND, OR, and NOT would be good. E.g. tal:condition="event/featured AND event/upcoming", tal:condition="NOT event/featured AND event/upcoming" I remember there was an activity to extend the library to make PH