From b4aca1db30f57f8172231dd314fae9d392967bdf Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 31 Jul 2006 22:51:23 +0000 Subject: Compose, save and sendmail cleanup git-svn-id: https://svn.roundcube.net/trunk@288 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'roundcubemail/program/steps/mail/compose.inc') diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 877948c53..32378f59c 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/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