Conditional HTML and preview pane

Robin Elfrink elfrink at
Tue Nov 21 16:52:46 CET 2006


Another go at a preview pane.

I implemented conditional HTML which works like this:

<roundcube:if condition="config:preview==true" />
 html bla bla
<roundcube:else />
 other html bla bla
<roundcube:endif />

The preview code was mostly Thomas', plus a bit of myself to let the
user decide for herself.

Code is not yet optimized, so it looks like poo, and I suspect IE6 will
have problems, because I delete some CSS which made it look strange in IE7.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: conditional-preview.patch
URL: <>

More information about the Dev mailing list