conditional objects in templates

Robin Elfrink elfrink at introweb.nl
Thu Nov 16 14:26:36 CET 2006


Edgar Bueltemeyer wrote:


> <roundcube:button command="print"
> imageSel="/images/buttons/print_sel.png"
> imageAct="/images/buttons/print_act.png"
> imagePas="/images/buttons/print_pas.png" width="32" height="32"
> title="printmessage" *condition="session:username:test"*/>


I took your path and added support for expressions. In the above example
it would be:

condition="session:username==test"



Robin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: conditional-objects2.patch
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20061116/cae1e03a/attachment.ksh>


More information about the Dev mailing list