From 472e7acbb50c8496ec9ae730bb82d785add1ed96 Mon Sep 17 00:00:00 2001 From: kink Date: Sun, 27 Jul 2003 20:24:31 +0000 Subject: [PATCH] Drop obsolete function git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5459 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/display_messages.php | 21 +-------------------- functions/mime.php | 4 +--- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/functions/display_messages.php b/functions/display_messages.php index 090fc062..f035a201 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -34,25 +34,6 @@ function sqm_baseuri(){ return $base_uri; } -function error_username_password_incorrect() { - global $frame_top, $color; - /* XXX: Should really not start the HTML before this, or close off more - cleanly. */ - - if (!isset($frame_top)) { - $frame_top = '_top'; - } - $string = ''. - _("Unknown user or password incorrect.") . - ''. - '' . _("Click here to try again") . - '.'. - ''; - error_box($string,$color); -echo ''; -} - function error_message($message, $mailbox, $sort, $startMessage, $color) { $urlMailbox = urlencode($mailbox); @@ -154,7 +135,7 @@ function error_box($string, $color) { echo ' '; echo ' '; echo ' '; echo '
'; - echo ' ' . _("ERROR") . ':'; + echo ' ' . $err . ':'; echo '
'; echo ' '; diff --git a/functions/mime.php b/functions/mime.php index ec703c34..f3dc3ad4 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -36,11 +36,9 @@ function mime_structure ($bodystructure, $flags=array()) { global $color, $mailbox; /* removed urldecode because $_GET is auto urldecoded ??? */ displayPageHeader( $color, $mailbox ); - echo "\n\n" . - '
'; $errormessage = _("SquirrelMail could not decode the bodystructure of the message"); $errormessage .= '
'._("the provided bodystructure by your imap-server").':

'; - $errormessage .= '
' . htmlspecialchars($read) . '
'; + $errormessage .= '
' . htmlspecialchars($read) . '
'; plain_error_message( $errormessage, $color ); echo ''; exit; -- 2.25.1