[PHPTAL] Error in the manual or bug in phptal?

2008-08-21 Thread tarjei
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, The manual states: A somewhat complicated example involving tal:repeat: ... The php: modifier will be explained later, basically if the line is odd then tr will have a class attribute with "odd" as value, otherwise, no class attribute wil

Re: [PHPTAL] Error in the manual or bug in phptal?

2008-08-21 Thread Christoph Frick
On Thu, Aug 21, 2008 at 11:37:52AM +0200, tarjei wrote: > When I try the following example: > tal:attributes="SELECTED php: menuItem.template == 'main-twocolumn.html' > ? 'SELECTED': false" > >Tospalter By default ``selected`` and ``checked`` are handled special in TAL. Can y

[PHPTAL] Latest tarball file missing?

2008-08-21 Thread Stickman
Tried to download the latest tarball (PHPTAL-1.1.14.tar.gz) from the downloads page today but I get a 404. Any ideas why this might be? Cheers, Stickman ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinf

Re: [PHPTAL] Latest tarball file missing?

2008-08-21 Thread Kornel Lesiński
On 21-08-2008 at 11:07:51 Stickman <[EMAIL PROTECTED]> wrote: Tried to download the latest tarball (PHPTAL-1.1.14.tar.gz) from the downloads page today but I get a 404. Any ideas why this might be? Oops. Sorry, it hasn't been released yet. I've accidentally changed version on the website to

Re: [PHPTAL] Re: Documentation update?

2008-08-21 Thread Kornel Lesiński
On 20-08-2008 at 15:25:50 romtek <[EMAIL PROTECTED]> wrote: The manual has been changed recently, but it still doesn't describe some things added recently. I've checked several things that I think would be helpful for new PHPTAL users to know , and none of them are in the manual: - nothing or

Re: [PHPTAL] Error in the manual or bug in phptal?

2008-08-21 Thread Kornel Lesiński
On 21-08-2008 at 10:37:52 tarjei <[EMAIL PROTECTED]> wrote: When I try the following example: Tospalter I get: Tospalter Instead of no selected attribute. XHTML is case-sensitive. SELECTED attribute is an error in XHTML. You must use lowercase name, and then PHPTAL will handle this prope

Re: [PHPTAL] Re: Documentation update?

2008-08-21 Thread tarjei
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kornel Lesiński wrote: > On 20-08-2008 at 15:25:50 romtek <[EMAIL PROTECTED]> wrote: > >> The manual has been changed recently, but it still doesn't describe some >> things added recently. I've checked several things that I think would be >> helpful f

Re: [PHPTAL] Re: Documentation update?

2008-08-21 Thread Kornel Lesiński
On 21-08-2008 at 12:00:38 tarjei <[EMAIL PROTECTED]> wrote: If you (or someone else) would like to help with the documentation, the source file is in: https://svn.motion-twin.com/phptal/trunk/doc/en/book.xml Ok, here goes :) Thanks. Actually selected was mentioned later in that section, so