summaryrefslogtreecommitdiff
path: root/roundcubemail/installer
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-06 17:15:38 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-06 17:15:38 +0000
commit79f7e4878e8a90bac291f15b0c44d8f5819744cb (patch)
tree90b4d4dd60afb0b01f022d8cb6c94a8bf821349f /roundcubemail/installer
parent058cac7b020c1fff4985cf92316c40002d4e5fe9 (diff)
- Make htmleditor option behaviour consistent, add option to use HTML on reply to HTML message (#1485840)
git-svn-id: https://svn.roundcube.net/trunk@4054 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/installer')
-rw-r--r--roundcubemail/installer/config.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/roundcubemail/installer/config.php b/roundcubemail/installer/config.php
index f35c6c2c0..5250782f9 100644
--- a/roundcubemail/installer/config.php
+++ b/roundcubemail/installer/config.php
@@ -14,7 +14,6 @@ $RCI->bool_config_props = array(
'smtp_log' => 1,
'prefer_html' => 1,
'preview_pane' => 1,
- 'htmleditor' => 1,
'debug_level' => 1,
);
@@ -543,13 +542,16 @@ echo $check_prevpane->show(intval($RCI->getprop('preview_pane')));
<dt class="propname">htmleditor <span class="userconf">*</span></dt>
<dd>
+<label for="cfghtmlcompose">Compose HTML formatted messages</label>
<?php
-$check_htmlcomp = new html_checkbox(array('name' => '_htmleditor', 'id' => "cfghtmlcompose", 'value' => 1));
-echo $check_htmlcomp->show(intval($RCI->getprop('htmleditor')));
+$select_htmlcomp = new html_select(array('name' => '_htmleditor', 'id' => "cfghtmlcompose"));
+$select_htmlcomp->add('never', 0);
+$select_htmlcomp->add('always', 1);
+$select_htmlcomp->add('on reply to HTML message only', 2);
+echo $select_htmlcomp->show(intval($RCI->getprop('htmleditor')));
?>
-<label for="cfghtmlcompose">Compose HTML formatted messages</label><br />
</dd>
<dt class="propname">draft_autosave <span class="userconf">*</span></dt>