From c4c3624ba6b1ca47dc1434d4b606d25397480cbc Mon Sep 17 00:00:00 2001 From: roundcube Date: Sun, 6 Nov 2005 19:26:45 +0000 Subject: Added localized messages to client and check form input git-svn-id: https://svn.roundcube.net/trunk@76 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 4 ++++ 1 file changed, 4 insertions(+) (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 0dc450205..d01e399e6 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -32,6 +32,10 @@ if (!is_array($_SESSION['compose'])) $_SESSION['compose'] = array('id' => uniqid(rand())); +// add some labels to client +rcube_add_label('nosubject', 'norecipientwarning', 'nosubjectwarning', 'nobodywarning', 'sendingmessage'); + + if ($_GET['_reply_uid'] || $_GET['_forward_uid']) { $msg_uid = $_GET['_reply_uid'] ? $_GET['_reply_uid'] : $_GET['_forward_uid']; -- cgit v1.2.3