X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmime.php;h=a65e5619b0b42ba1baed4ee70c7114ed8398dfa8;hb=fd81e884c200a3e6e2933c6c810adaf35cd8448b;hp=ca43a355f07ce35059f53e6d4bcb64a1a83a167b;hpb=098ea084d624846de46648afacc0564d9f2c1959;p=squirrelmail.git diff --git a/functions/mime.php b/functions/mime.php index ca43a355..a65e5619 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -10,20 +10,24 @@ * messages. * * $Id$ + * @package squirrelmail */ +/** The typical includes... */ require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/attachment_common.php'); -/* --------------------------------------------------------------------------------- */ -/* MIME DECODING */ -/* --------------------------------------------------------------------------------- */ +/* -------------------------------------------------------------------------- */ +/* 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. */ @@ -34,12 +38,11 @@ function mime_structure ($bodystructure, $flags=array()) { if (!is_object($msg)) { include_once(SM_PATH . 'functions/display_messages.php'); global $color, $mailbox; - displayPageHeader( $color, urldecode($mailbox) ); - echo "
\n\n" . - '' . htmlspecialchars($read) . ' |
' . htmlspecialchars($read) . ''; plain_error_message( $errormessage, $color ); echo '