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 |
30460a05 |
9 | * @copyright 2002 Marc Groot Koerkamp, The Netherlands |
22387c8d |
10 | * @copyright 2002-2017 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 |
20 | require('../../include/init.php'); |
bbdea028 |
21 | |
3720bcfc |
22 | displayHtmlHeader( _("Message Details"), '', FALSE ); |
bbdea028 |
23 | |
b587ac51 |
24 | sqgetGlobalVar('mailbox', $mailbox, SQ_GET); |
51bbe8fa |
25 | sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT); |
fab8e10c |
26 | if (!sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET)) |
27 | $passed_ent_id = 0; |
04f6008a |
28 | |
fab8e10c |
29 | //FIXME: Don't echo HTML directly - need to "templatize" this |
a74103dd |
30 | echo "<frameset rows=\"60, *\" >\n"; |
fab8e10c |
31 | echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . $passed_id |
32 | . '&passed_ent_id=' . $passed_ent_id |
33 | . '" name="top_frame" scrolling="no" noresize="noresize" frameborder="0" />'; |
34 | echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox) |
35 | . '&get_message_details=yes&passed_id=' . $passed_id |
36 | . '&passed_ent_id=' . $passed_ent_id |
37 | . '" name="bottom_frame" frameborder="0" />'; |
bbdea028 |
38 | echo '</frameset>'."\n"."</html>\n"; |