From 0ec1a14b3ada469a486c24efb76fe8e845ada412 Mon Sep 17 00:00:00 2001 From: teepe Date: Tue, 15 Oct 2002 21:26:37 +0000 Subject: [PATCH] the html was horrible, and it nuked netscape in displaying it all well git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3869 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 166 ++++++++++++++++++++++++++---------------------- 1 file changed, 90 insertions(+), 76 deletions(-) diff --git a/src/compose.php b/src/compose.php index e0a5fdfc..f95dd7e4 100644 --- a/src/compose.php +++ b/src/compose.php @@ -193,9 +193,9 @@ if (sqsession_is_registered('session_expired_post')) { * another user during this session. */ if ($session_expired_post['username'] != $username) { - unset($session_expired_post); + unset($session_expired_post); sqsession_unregister('session_expired_post'); - session_write_close(); + session_write_close(); } else { foreach ($session_expired_post as $postvar => $val) { if (isset($val)) { @@ -204,9 +204,9 @@ if (sqsession_is_registered('session_expired_post')) { $$postvar = ''; } } - $compose_messages = unserialize(urldecode($restoremessages)); - sqsession_register($compose_messages,'compose_messages'); - sqsession_register($composesession,'composesession'); + $compose_messages = unserialize(urldecode($restoremessages)); + sqsession_register($compose_messages,'compose_messages'); + sqsession_register($composesession,'composesession'); if (isset($send)) { unset($send); } @@ -340,14 +340,14 @@ if ($send) { showInputForm($session); exit(); } - unset($compose_messages[$session]); + unset($compose_messages[$session]); if ( isset($delete_draft)) { Header("Location: delete_message.php?mailbox=" . urlencode( $draft_folder ). "&message=$delete_draft&sort=$sort&startMessage=1&mail_sent=yes"); exit(); } if ($compose_new_win == '1') { - + Header("Location: compose.php?mail_sent=yes"); } else { @@ -866,12 +866,11 @@ function showInputForm ($session, $values=false) { if ($idents > 1) { echo ' ' . "\n" . ' ' . - "\n" . - _("From:") . - ' ' . "\n" . - '' . "\n" . + '