[Svn] r3781 - trunk/roundcubemail/skins/default/templates

trac at roundcube.net trac at roundcube.net
Wed Jun 23 14:32:39 CEST 2010


Author: alec
Date: 2010-06-23 07:32:39 -0500 (Wed, 23 Jun 2010)
New Revision: 3781

Modified:
   trunk/roundcubemail/skins/default/templates/mail.html
Log:
- Hide preview frame switch when preview_pane option is disabled by dont_override (#1486814)


Modified: trunk/roundcubemail/skins/default/templates/mail.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/mail.html	2010-06-23 09:55:08 UTC (rev 3780)
+++ trunk/roundcubemail/skins/default/templates/mail.html	2010-06-23 12:32:39 UTC (rev 3781)
@@ -86,8 +86,10 @@
         <roundcube:button command="expand-unread" type="link" title="expand-unread" class="buttonPas expand-unread" classAct="button expand-unread" classSel="button expand-unreadsel" content=" " />
         <roundcube:button command="collapse-all" type="link" title="collapse-all" class="buttonPas collapse-all" classAct="button collapse-all" classSel="button collapse-allsel" content=" " />
     <roundcube:endif />
+    <roundcube:if condition="!in_array('preview_pane', (array)config:dont_override)" />
         <label><span style="margin-left: 12px"><roundcube:label name="previewpane" />: </span>
-        <input type="checkbox" onclick="rcmail_ui.switch_preview_pane(this)"<roundcube:if condition="config:preview_pane == true" /> checked="checked"<roundcube:endif /> /></label>
+        <input type="checkbox" onclick="rcmail_ui.switch_preview_pane(this)"<roundcube:exp expression="config:preview_pane == true ? ' checked=checked' : ''" /> /></label>
+    <roundcube:endif />
     </div>
     <div id="countcontrols" class="pagenav">
         <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastmessages" content=" " />

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list