projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
and back in sync again
[squirrelmail.git]
/
src
/
printer_friendly_main.php
diff --git
a/src/printer_friendly_main.php
b/src/printer_friendly_main.php
index f5029b6ecc08967af3263b34c0b323c42011a208..24d10e222b8f6384e9d58fb7dc9da7d535bfc567 100644
(file)
--- a/
src/printer_friendly_main.php
+++ b/
src/printer_friendly_main.php
@@
-3,7
+3,7
@@
/**
* printer_friendly_main.php
*
/**
* printer_friendly_main.php
*
- * Copyright (c) 1999-200
2
The SquirrelMail Project Team
+ * Copyright (c) 1999-200
3
The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
@@
-20,17
+20,17
@@
displayHtmlHeader( _("Printer Friendly"), '', FALSE );
/* get those globals into gear */
$passed_ent_id = $_GET['passed_ent_id'];
/* get those globals into gear */
$passed_ent_id = $_GET['passed_ent_id'];
-$passed_id = $_GET['passed_id'];
+$passed_id =
(int)
$_GET['passed_id'];
$mailbox = $_GET['mailbox'];
/* end globals */
echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
$mailbox = $_GET['mailbox'];
/* end globals */
echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
-
"<frame src=\"printer_friendly_top.php\" name=\"top_frame\" scrolling=\"no\">"
.
+
'<frame src="printer_friendly_top.php" name="top_frame" scrolling="no" />'
.
'<frame src="printer_friendly_bottom.php?passed_ent_id='.
'<frame src="printer_friendly_bottom.php?passed_ent_id='.
-
$passed_ent_id
. '&mailbox=' . urlencode($mailbox) .
+
urlencode($passed_ent_id)
. '&mailbox=' . urlencode($mailbox) .
'&passed_id=' . $passed_id .
'&passed_id=' . $passed_id .
-
"\" name=\"bottom_frame\">"
.
- "</frameset>\n".
+
'" name="bottom_frame" />'
.
+ "
\n
</frameset>\n".
"</html>\n";
?>
"</html>\n";
?>