Hi there,

is there a way to insert a lower than in phptal, which is printed as lower 
than in the source code?
My problem: i have a javascript part in my template where i need a lower
than in some cases ... ( if(foo < 0) { do(); } )
I could not find a simple way to add this < to the code.
The only way i found is this:
if( foo <span tal:replace="structure lessthen" /> 0) { do(); }
and define lessthan = '<' in my phpcode.

-- 
 MfG, Christian Welzel

  GPG-Key:     http://www.camlann.de/key.asc
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to