updating pot
[squirrelmail.git] / plugins / message_details / message_details_top.php
CommitLineData
bbdea028 1<?php
8d6a115b 2
bbdea028 3/** Message Source
8d6a115b 4 *
5 * Plugin to view the RFC822 raw message output and the bodystructure of a message
6 *
7 * Copyright (c) 2002 Marc Groot Koerkamp, The Netherlands
8 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 *
10 * $Id$
ea5f4b8e 11 * @package plugins
12 * @subpackage message_details
8d6a115b 13 */
bbdea028 14
ea5f4b8e 15/** @ignore */
92219031 16define('SM_PATH','../../');
89252d71 17
18/* SquirrelMail required files. */
19require_once(SM_PATH . 'include/validate.php');
20require_once(SM_PATH . 'functions/strings.php');
21require_once(SM_PATH . 'config/config.php');
d8a8fe9f 22require_once(SM_PATH . 'functions/forms.php');
bbdea028 23
3720bcfc 24displayHtmlHeader( _("Message Details"),
bbdea028 25 "<script language=\"javascript\">\n".
26 "<!--\n".
27 "function printPopup() {\n".
28 "parent.frames[1].focus();\n".
29 "parent.frames[1].print();\n".
30 "}\n".
31 "-->\n".
32 "</script>\n", FALSE );
33
f360843c 34sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
35sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
bbdea028 36
37echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
f360843c 38 '<center><b>' .
d8a8fe9f 39 addForm(SM_PATH . 'src/download.php', 'GET').
40 addHidden('mailbox', $mailbox).
41 addHidden('passed_id', $passed_id).
42 addHidden('ent_id', '0').
43 addHidden('absolute_dl', 'true').
f360843c 44 '<input type="button" value="' . _("Print") . '" onClick="printPopup()" />&nbsp;&nbsp;'.
45 '<input type="button" value="' . _("Close Window") . '" onClick="window.parent.close()" />&nbsp;&nbsp;'.
d8a8fe9f 46 addSubmit(_("Save Message")).
bbdea028 47 '</form>'.
48 '</b>'.
49 '</body>'.
50 "</html>\n";
dcc1cc82 51?>