| 1 | <?php |
| 2 | /** |
| 3 | * Message Details plugin - main frame |
| 4 | * |
| 5 | * Plugin to view the RFC822 raw message output and the bodystructure of a message |
| 6 | * |
| 7 | * @author Marc Groot Koerkamp |
| 8 | * @copyright Copyright © 2002 Marc Groot Koerkamp, The Netherlands |
| 9 | * @copyright Copyright © 2004-2005 The SquirrelMail Project Team |
| 10 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
| 11 | * @version $Id$ |
| 12 | * @package plugins |
| 13 | * @subpackage message_details |
| 14 | */ |
| 15 | |
| 16 | /** |
| 17 | * Path for SquirrelMail required files. |
| 18 | * @ignore |
| 19 | */ |
| 20 | define('SM_PATH','../../'); |
| 21 | |
| 22 | /* SquirrelMail required files. */ |
| 23 | require_once(SM_PATH . 'include/validate.php'); |
| 24 | |
| 25 | displayHtmlHeader( _("Message Details"), '', FALSE ); |
| 26 | |
| 27 | sqgetGlobalVar('mailbox', $mailbox, SQ_GET); |
| 28 | sqgetGlobalVar('passed_id', $passed_id, SQ_GET); |
| 29 | |
| 30 | echo "<frameset rows=\"60, *\" noresize border=\"0\">\n"; |
| 31 | echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id". '" name="top_frame" scrolling="off" />'; |
| 32 | echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox) .'&get_message_details=yes&passed_id=' . "$passed_id" . '" name="bottom_frame" />'; |
| 33 | echo '</frameset>'."\n"."</html>\n"; |
| 34 | ?> |