From 7152f59f04fc2ecfc0bcfb9a50758c3757c119f8 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 01 Jan 2012 13:52:30 -0500
Subject: [PATCH] - Fix so editor selector is hidden when 'htmleditor' is listed in 'dont_override'

---
 skins/larry/templates/compose.html |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/skins/larry/templates/compose.html b/skins/larry/templates/compose.html
index aad516d..67d94f6 100644
--- a/skins/larry/templates/compose.html
+++ b/skins/larry/templates/compose.html
@@ -109,10 +109,12 @@
 	</span>
 	
 	<div id="composeoptions">
+		<roundcube:if condition="!in_array('htmleditor', (array)config:dont_override)" />
 		<span class="composeoption">
 			<label><roundcube:label name="editortype" />
 				<roundcube:object name="editorSelector" editorid="composebody" tabindex="12" /></label>
 		</span>
+		<roundcube:endif />
 		<span class="composeoption">
 			<label><label for="rcmcomposepriority"><roundcube:label name="priority" />
 				<roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" /></label>

--
Gitblit v1.9.1