Use <plugin>_info() function if at all possible instead of <plugin>_version()
[squirrelmail.git] / plugins / message_details / message_details_main.php
CommitLineData
bbdea028 1<?php
4b4abf93 2
91e0dccc 3/**
86c62251 4 * Message Details plugin - main frame
8d6a115b 5 *
6 * Plugin to view the RFC822 raw message output and the bodystructure of a message
7 *
86c62251 8 * @author Marc Groot Koerkamp
4b4abf93 9 * @copyright &copy; 2002 Marc Groot Koerkamp, The Netherlands
4b5049de 10 * @copyright &copy; 2002-2007 The SquirrelMail Project Team
86c62251 11 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
12 * @version $Id$
ea5f4b8e 13 * @package plugins
14 * @subpackage message_details
8d6a115b 15 */
bbdea028 16
ea5f4b8e 17/**
202bcbcc 18 * Include the SquirrelMail initialization file.
ea5f4b8e 19 */
202bcbcc 20require('../../include/init.php');
bbdea028 21
3720bcfc 22displayHtmlHeader( _("Message Details"), '', FALSE );
bbdea028 23
b587ac51 24sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
25sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
04f6008a 26
a74103dd 27echo "<frameset rows=\"60, *\" >\n";
28echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&amp;passed_id=' . "$passed_id".
29 '" name="top_frame" scrolling="no" noresize="noresize" frameborder="0" />';
30echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox) .
31 '&amp;get_message_details=yes&amp;passed_id=' . "$passed_id" .
32 '" name="bottom_frame" frameborder="0" />';
bbdea028 33echo '</frameset>'."\n"."</html>\n";
f8a1ed5a 34?>