X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmime.php;h=8f232695cf8c902030d2fd44d52b36373c42141a;hb=ca885a4ff4cc1175af8db97bab02f7aa74ced73a;hp=a2ff7c18133ff3c3da1f43023d71c7e579e9c474;hpb=598294a727a2789b7c562ee7083da703c8bb0628;p=squirrelmail.git
diff --git a/functions/mime.php b/functions/mime.php
index a2ff7c18..8f232695 100644
--- a/functions/mime.php
+++ b/functions/mime.php
@@ -3,12 +3,11 @@
/**
* mime.php
*
- * Copyright (c) 1999-2005 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 '