somehow url vars with &amp are not picked up by PHP
[squirrelmail.git] / src / printer_friendly_main.php
... / ...
CommitLineData
1<?php
2
3/**
4 * printer_friendly_main.php
5 *
6 * Copyright (c) 1999-2002 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. */
13define('SM_PATH','../');
14
15/* SquirrelMail required files. */
16require_once(SM_PATH . 'include/validate.php');
17require_once(SM_PATH . 'functions/page_header.php');
18
19displayHtmlHeader( _("Printer Friendly"), '', FALSE );
20
21echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
22 "<frame src=\"printer_friendly_top.php\" name=\"top_frame\" scrolling=\"no\">".
23 '<frame src="printer_friendly_bottom.php?passed_ent_id='.
24 $passed_ent_id . '&amp;mailbox=' . urlencode($mailbox) .
25 '&amp;passed_id=' . $passed_id .
26 "\" name=\"bottom_frame\">".
27 "</frameset>\n".
28 "</html>\n";
29
30?>