From bc8437b71c440a605497a6af363811351b1aa147 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 01 Jan 2012 14:10:53 -0500
Subject: [PATCH] - Fix so editor selector is hidden when 'htmleditor' is listed in 'dont_override'
---
skins/default/templates/compose.html | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html
index 2dcf8b0..4921bbf 100644
--- a/skins/default/templates/compose.html
+++ b/skins/default/templates/compose.html
@@ -112,10 +112,12 @@
</div>
<div id="compose-editorfooter">
<span id="spellcheck-control" style="margin-right:10px"></span>
+ <roundcube:if condition="!in_array('htmleditor', (array)config:dont_override)" />
<span>
<label><roundcube:label name="editortype" /></label>
<roundcube:object name="editorSelector" editorid="compose-body" tabindex="12" />
</span>
+ <roundcube:endif />
</div>
</div>
</div>
--
Gitblit v1.9.1