Conditional objects in templates
elfrink at introweb.nl
Thu Nov 16 12:49:50 CET 2006
I have a first rough implementation of conditional objects in templates.
An object in a template file can have an extra attribute called
'conditional', which holds a condition like 'varname==value'. '==' can
be '!=', or '<=' or any other expression. 'varname' is any $CONFIG variable.
In the example the messagelist is only shown if the mailbox-name is 'INBOX'.
Am I going in the right direction?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Dev