summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-18 13:11:22 +0000
committerthomascube <thomas@roundcube.net>2007-05-18 13:11:22 +0000
commitc944cde4d05164b6271b4f3acbbe2855e31b1a97 (patch)
tree325d12f28e6f3c7c22e58012a3d30097d953022b /program/steps/mail/compose.inc
parent0ee2464a61aa97859e5c8d196e8d0359dc99c0aa (diff)
Removed HTML editor and disabled preview pane
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index a956ecffc..c668101b4 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -42,6 +42,8 @@ if ($_action=='remove-attachment' && preg_match('/^rcmfile([0-9]+)$/', $_POST['_
}
}
+// this version does not support HTML mails
+$CONFIG['htmleditor'] = false;
$MESSAGE_FORM = NULL;
$MESSAGE = NULL;
@@ -407,10 +409,6 @@ function rcmail_compose_body($attrib)
$body = rcmail_create_draft_body($body, $isHtml);
}
- $OUTPUT->include_script('tiny_mce/tiny_mce.js');
- $OUTPUT->include_script("editor.js");
- $OUTPUT->add_script('rcmail_editor_init("$__skin_path");');
-
$out = $form_start ? "$form_start\n" : '';
$saveid = new hiddenfield(array('name' => '_draft_saveid', 'value' => $compose_mode==RCUBE_COMPOSE_DRAFT ? str_replace(array('<','>'), "", $MESSAGE['headers']->messageID) : ''));
@@ -862,7 +860,6 @@ $OUTPUT->add_handlers(array(
'composeattachmentform' => 'rcmail_compose_attachment_form',
'composeattachment' => 'rcmail_compose_attachment_field',
'priorityselector' => 'rcmail_priority_selector',
- 'editorselector' => 'rcmail_editor_selector',
'receiptcheckbox' => 'rcmail_receipt_checkbox',
));