diff options
author | alecpl <alec@alec.pl> | 2010-10-06 17:15:38 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-10-06 17:15:38 +0000 |
commit | 868deb5dabdc4d63210e4f53a2a80a904247af6a (patch) | |
tree | e5391d3273ca70bc7a4727ccc8db4bcdc401c2c2 /installer/config.php | |
parent | ace511a771656c983046919333cee501339c98a1 (diff) |
- Make htmleditor option behaviour consistent, add option to use HTML on reply to HTML message (#1485840)
Diffstat (limited to 'installer/config.php')
-rw-r--r-- | installer/config.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/installer/config.php b/installer/config.php index f35c6c2c0..5250782f9 100644 --- a/installer/config.php +++ b/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> |