From 41fa0b909ac1fe80dd103e8d986776ef46a5b50a Mon Sep 17 00:00:00 2001 From: thomascube Date: Mon, 31 Jul 2006 22:51:23 +0000 Subject: Compose, save and sendmail cleanup --- program/steps/mail/compose.inc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'program/steps/mail/compose.inc') diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 877948c53..32378f59c 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -50,7 +50,7 @@ rcmail_compose_cleanup(); $_SESSION['compose'] = array('id' => uniqid(rand())); // add some labels to client -rcube_add_label('nosubject', 'norecipientwarning', 'nosubjectwarning', 'nobodywarning', 'notsentwarning', 'savingmessage', 'savingmessage', 'messagesaved'); +rcube_add_label('nosubject', 'norecipientwarning', 'nosubjectwarning', 'nobodywarning', 'notsentwarning', 'savingmessage', 'sendingmessage', 'messagesaved'); if ($_GET['_reply_uid'] || $_GET['_forward_uid'] || $_GET['_draft_uid']) @@ -411,8 +411,8 @@ function rcmail_compose_body($attrib) rcube_add_label('checking'); } - $out .= ''; - + $out .= "\n".''; + return $out; } @@ -793,7 +793,5 @@ if ($DB->num_rows($sql_result)) } - - parse_template('compose'); ?> -- cgit v1.2.3