2f5aba78e2e346b73a91b7964df06a24d6db9a85
5 * Plugin to view the RFC822 raw message output and the bodystructure of a message
7 * Copyright (c) 2002 Marc Groot Koerkamp, The Netherlands
8 * Licensed under the GNU GPL. For full terms see the file COPYING.
13 define('SM_PATH','../../');
15 /* SquirrelMail required files. */
16 require_once(SM_PATH
. 'include/validate.php');
17 require_once(SM_PATH
. 'functions/strings.php');
18 require_once(SM_PATH
. 'config/config.php');
20 displayHtmlHeader( _("Message details"),
21 "<script language=\"javascript\">\n".
23 "function printPopup() {\n".
24 "parent.frames[1].focus();\n".
25 "parent.frames[1].print();\n".
28 "</script>\n", FALSE );
31 echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
33 '<FORM name=rfc822 action="message_details_download.php?savemessage=1&passed_id='."$passed_id".'" METHOD=POST>' .
34 '<input type="button" value="' . _("Print") . '" onClick="printPopup()">   '.
35 '<input type="button" value="' . _("Close Window") . '" onClick="window.parent.close()">  '.
36 '<input type="submit" value="' . _("Save Message") . '"> '.
37 '<input type="hidden" name="mailbox" value="'. "$mailbox" . '"> ' .