<?php
/**
- * $Source$
+ * view_html
* Displays html message parts
*
* File is used to display html message parts. Usually inside iframe.
* optional. User must be authenticated ($key in cookie. $username and
* $onetimepad in session).
*
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
+/** This is the view_html page */
+define('PAGE_NAME', 'view_html');
+
/**
* Include the SquirrelMail initialization file.
*/
$body = mime_fetch_body($imap_stream, $passed_id, $ent_id);
$body = decodeBody($body, $encoding);
-$hookResults = do_hook('message_body', $body);
-$body = $hookResults[1];
+do_hook('message_body', $body);
/**
* TODO: check if xtra_code is needed.
/** TODO: charset might be part of html code. */
header('Content-Type: text/html; charset=' . $charset);
echo $body;
-?>