Some code cleanups to read_body.php
[squirrelmail.git] / plugins / message_details / message_details_main.php
1 <?php
2 /** Message Source
3 *
4 * Plugin to view the RFC822 raw message output and the bodystructure of a message
5 *
6 * Copyright (c) 2002 Marc Groot Koerkamp, The Netherlands
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
8 *
9 * $Id$
10 **/
11 /* Path for SquirrelMail required files. */
12
13 chdir('..');
14 define('SM_PATH','../');
15
16 /* SquirrelMail required files. */
17 require_once(SM_PATH . 'include/validate.php');
18 require_once(SM_PATH . 'functions/page_header.php');
19 require_once(SM_PATH . 'functions/strings.php');
20
21 displayHtmlHeader( _("Message details"), '', FALSE );
22
23 echo "<frameset rows=\"60, *\" noresize border=\"0\">\n";
24 echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id". '" name="top_frame" scrolling="off">';
25 echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id" . '" name="bottom_frame">';
26 echo '</frameset>'."\n"."</html>\n";
27 ?>