projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
X-Priority Low is 5, not 3. Thanks Thierry Godefroy.
[squirrelmail.git]
/
src
/
view_html.php
diff --git
a/src/view_html.php
b/src/view_html.php
index 5e7df7c6b15904c187e6c553dde2c9098289d7ac..c0d2932a02446e988f19b83c21a7b086e27b4cd7 100644
(file)
--- a/
src/view_html.php
+++ b/
src/view_html.php
@@
-1,7
+1,7
@@
<?php
/**
<?php
/**
- *
$Source$
+ *
view_html
* Displays html message parts
*
* File is used to display html message parts. Usually inside iframe.
* Displays html message parts
*
* File is used to display html message parts. Usually inside iframe.
@@
-10,12
+10,15
@@
* optional. User must be authenticated ($key in cookie. $username and
* $onetimepad in session).
*
* optional. User must be authenticated ($key in cookie. $username and
* $onetimepad in session).
*
- * @copyright © 1999-200
6
The SquirrelMail Project Team
+ * @copyright © 1999-200
7
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
* @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.
*/
/**
* Include the SquirrelMail initialization file.
*/
@@
-56,8
+59,7
@@
$encoding = strtolower($header->encoding);
$body = mime_fetch_body($imap_stream, $passed_id, $ent_id);
$body = decodeBody($body, $encoding);
$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: check if xtra_code is needed.
@@
-75,4
+77,3
@@
$body = MagicHTML( $body, $passed_id, $message, $mailbox);
/** TODO: charset might be part of html code. */
header('Content-Type: text/html; charset=' . $charset);
echo $body;
/** TODO: charset might be part of html code. */
header('Content-Type: text/html; charset=' . $charset);
echo $body;
-?>