Re: [PHPTAL] How to disable autoquote ?

2008-10-14 Thread Ernesto Baschny [cron IT]
Kornel Lesiński wrote: on 14.10.2008 10:55: prefix the content with the 'structure' keyword, it will use the value verbatin. script tal:content=structure myJsCode/script This may make XHTML ill-formed if there's any or in the script. script/*![CDATA[*/ ${structure myJSCode}

[PHPTAL] Conditional class-attribute

2008-09-08 Thread Ernesto Baschny [cron IT]
Hi, I am trying to switch from Smarty to phptal. I am enjoying it a lot in the current project and plan to use it on further developments. One task always hits me where I end up having to mix the presentation back to my PHP code. But maybe there is a phptal-based solution. In loops, I want

Re: [PHPTAL] Conditional class-attribute

2008-09-08 Thread Ernesto Baschny [cron IT]
Hi Kornel, Kornel Lesiński wrote: on 08.09.2008 15:29: On 08-09-2008 at 12:27:50 Ernesto Baschny [cron IT] [EMAIL PROTECTED] wrote: I could try some nested ? expressions, but this turns out to be quite ugly, e.g. if I would have more than 2 classes to set You can concatenate strings in php

Re: [PHPTAL] Conditional class-attribute

2008-09-08 Thread Ernesto Baschny [cron IT]
Kornel Lesiński wrote: on 08.09.2008 16:02: On 08-09-2008 at 14:53:10 Ernesto Baschny [cron IT] [EMAIL PROTECTED] wrote: I could try some nested ? expressions, but this turns out to be quite ugly, e.g. if I would have more than 2 classes to set You can concatenate strings in php