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