summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-23 12:32:39 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-23 12:32:39 +0000
commit98d0ba33490a1918fe1903974dfa108029ce988c (patch)
tree3daa7efa7598649abc5b373fd04576db9e0692e4
parent1901745d734e493f56139fea6812b36fe05a5bae (diff)
- Hide preview frame switch when preview_pane option is disabled by dont_override (#1486814)
git-svn-id: https://svn.roundcube.net/trunk@3781 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/skins/default/templates/mail.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/skins/default/templates/mail.html b/roundcubemail/skins/default/templates/mail.html
index 2a150dd98..b2d51a7f0 100644
--- a/roundcubemail/skins/default/templates/mail.html
+++ b/roundcubemail/skins/default/templates/mail.html
@@ -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" />:&nbsp;</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=" " />