X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmime.php;h=8f232695cf8c902030d2fd44d52b36373c42141a;hb=ca885a4ff4cc1175af8db97bab02f7aa74ced73a;hp=c43b9c7788f156a43b57ed924784dc59f5075e72;hpb=ce68b76bfdef63cbc85d7bc46f7f1d538db9b4a4;p=squirrelmail.git
diff --git a/functions/mime.php b/functions/mime.php
index c43b9c77..8f232695 100644
--- a/functions/mime.php
+++ b/functions/mime.php
@@ -3,12 +3,11 @@
/**
* mime.php
*
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* This contains the functions necessary to detect and decode MIME
* messages.
*
+ * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
@@ -16,6 +15,8 @@
/** The typical includes... */
require_once(SM_PATH . 'functions/imap.php');
require_once(SM_PATH . 'functions/attachment_common.php');
+/** add sqm_baseuri()*/
+include_once(SM_PATH . 'functions/display_messages.php');
/* -------------------------------------------------------------------------- */
/* MIME DECODING */
@@ -41,7 +42,7 @@ function mime_structure ($bodystructure, $flags=array()) {
/* removed urldecode because $_GET is auto urldecoded ??? */
displayPageHeader( $color, $mailbox );
$errormessage = _("SquirrelMail could not decode the bodystructure of the message");
- $errormessage .= '
'._("the provided bodystructure by your imap-server").':
';
+ $errormessage .= '
'._("The bodystructure provided by your IMAP server:").'
';
$errormessage .= '
' . htmlspecialchars($read) . ''; plain_error_message( $errormessage, $color ); echo '