X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmime.php;h=682d3cb3ec330311ef9ad5ed67a3080e63788243;hb=758a7889b6548017a46017278d03e812658d71c1;hp=ab9935f20e7d512f5dd2078c4ae907fb78c42deb;hpb=a2bfcbce2e1620762431cd34cd51513eb403633a;p=squirrelmail.git
diff --git a/functions/mime.php b/functions/mime.php
index ab9935f2..682d3cb3 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-2005 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 '