Drop "$oldway" mailbox list generation code from left_main. The new code
[squirrelmail.git] / plugins / message_details / message_details_main.php
CommitLineData
bbdea028 1<?php
91e0dccc 2/**
86c62251 3 * Message Details plugin - main frame
8d6a115b 4 *
5 * Plugin to view the RFC822 raw message output and the bodystructure of a message
6 *
86c62251 7 * @author Marc Groot Koerkamp
8 * @copyright Copyright &copy; 2002 Marc Groot Koerkamp, The Netherlands
6c84ba1e 9 * @copyright Copyright &copy; 2004-2005 The SquirrelMail Project Team
86c62251 10 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
11 * @version $Id$
ea5f4b8e 12 * @package plugins
13 * @subpackage message_details
8d6a115b 14 */
bbdea028 15
ea5f4b8e 16/**
17 * Path for SquirrelMail required files.
18 * @ignore
19 */
92219031 20define('SM_PATH','../../');
89252d71 21
22/* SquirrelMail required files. */
23require_once(SM_PATH . 'include/validate.php');
bbdea028 24
3720bcfc 25displayHtmlHeader( _("Message Details"), '', FALSE );
bbdea028 26
b587ac51 27sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
28sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
04f6008a 29
bbdea028 30echo "<frameset rows=\"60, *\" noresize border=\"0\">\n";
ea2e78b0 31echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&amp;passed_id=' . "$passed_id". '" name="top_frame" scrolling="off" />';
f4450417 32echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox) .'&amp;get_message_details=yes&amp;passed_id=' . "$passed_id" . '" name="bottom_frame" />';
bbdea028 33echo '</frameset>'."\n"."</html>\n";
f4450417 34?>