One of the attractions of PHPTAL over Smarty and others is that the webpages
are no longer a mixture of languages. Does anyone know a validator that will
check the XHTML without complaining about PHPTAL's attributes which begin
tal and metal? Or is there another way to get it past the W3C
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal
Hi Kornel,
-Original Message-
Sent: 18 June 2009 10:13
In PHPTAL empty array evaluates to false, so this works:
p tal:condition=not:titlesNo titles found./p ul
tal:condition=titles ...
If you want an empty list item:
ul
li tal:condition=not:titlesNo titles