X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fmime.php;h=7bacc8625658c2136a934e44a7b2fef7d467dc3e;hp=e8538eb918fb79c9ed0427c72edbc271742ee85a;hb=b17a8968214b532391299cc58fbf25f7a5b5cd29;hpb=4d592352b16c63c5ede7ffcc51d78fb011a82601
diff --git a/functions/mime.php b/functions/mime.php
index e8538eb9..7bacc862 100644
--- a/functions/mime.php
+++ b/functions/mime.php
@@ -3,15 +3,17 @@
/**
* mime.php
*
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * 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.
*
- * $Id$
+ * @version $Id$
+ * @package squirrelmail
*/
+/** The typical includes... */
require_once(SM_PATH . 'functions/imap.php');
require_once(SM_PATH . 'functions/attachment_common.php');
@@ -19,11 +21,13 @@ require_once(SM_PATH . 'functions/attachment_common.php');
/* MIME DECODING */
/* -------------------------------------------------------------------------- */
-/* This function gets the structure of a message and stores it in the "message" class.
+/**
+ * Get the MIME structure
+ *
+ * This function gets the structure of a message and stores it in the "message" class.
* It will return this object for use with all relevant header information and
* fully parsed into the standard "message" object format.
*/
-
function mime_structure ($bodystructure, $flags=array()) {
/* Isolate the body structure and remove beginning and end parenthesis. */
@@ -37,7 +41,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 provided bodystructure by your imap-server").':
';
$errormessage .= '
' . htmlspecialchars($read) . ''; plain_error_message( $errormessage, $color ); echo '