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