X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fview_header.php;h=d2a85ebfdbd7ae8ddf966e80731861abb6a57b14;hp=958695a2623cbcba8fc5410e2ae635bce49748dc;hb=eb7bd9b7b01e0cf97a14e81ca6b0f1725873699c;hpb=91e0dccca7b2452d8b450791cae3aa4125e8889e diff --git a/src/view_header.php b/src/view_header.php index 958695a2..d2a85ebf 100644 --- a/src/view_header.php +++ b/src/view_header.php @@ -3,11 +3,10 @@ /** * view_header.php * - * Copyright (c) 1999-2004 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * This is the code to view the message header. * + * @copyright © 1999-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail */ @@ -19,7 +18,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ -require_once(SM_PATH . 'include/validate.php'); +include_once(SM_PATH . 'include/validate.php'); require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/html.php'); @@ -27,6 +26,10 @@ require_once(SM_PATH . 'functions/url_parser.php'); function parse_viewheader($imapConnection,$id, $passed_ent_id) { + $header_output = array(); + $second = array(); + $first = array(); + if (!$passed_ent_id) { $read=sqimap_run_command ($imapConnection, "FETCH $id BODY[HEADER]", true, $a, $b, TRUE); @@ -93,15 +96,15 @@ function view_header($header, $mailbox, $color) { _("Viewing Full Header") . ' - '. '' ._("View message") . "\n"; + echo '">' ._("View message") . "\n"; echo_template_var($header, array( '\n".'
', - '', + '', '', - '', + '', '
'."\n" ) );