Only iso_8859_default and ns_4551_1 decoding is left in i18n.php. Others
[squirrelmail.git] / src / printer_friendly_main.php
1 <?php
2
3 /**
4 * printer_friendly_main.php
5 *
6 * Copyright (c) 1999-2003 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
8 *
9 * $Id$
10 */
11
12 /* Path for SquirrelMail required files. */
13 define('SM_PATH','../');
14
15 /* SquirrelMail required files. */
16 require_once(SM_PATH . 'include/validate.php');
17 require_once(SM_PATH . 'functions/page_header.php');
18
19 displayHtmlHeader( _("Printer Friendly"), '', FALSE );
20
21 /* get those globals into gear */
22 $passed_ent_id = $_GET['passed_ent_id'];
23 $passed_id = (int) $_GET['passed_id'];
24 $mailbox = $_GET['mailbox'];
25 /* end globals */
26
27 echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
28 '<frame src="printer_friendly_top.php" name="top_frame" scrolling="no" />'.
29 '<frame src="printer_friendly_bottom.php?passed_ent_id='.
30 urlencode($passed_ent_id) . '&amp;mailbox=' . urlencode($mailbox) .
31 '&amp;passed_id=' . $passed_id .
32 '" name="bottom_frame" />'.
33 "\n</frameset>\n".
34 "</html>\n";
35
36 ?>