<?php
- /**
- ** printer_friendly_main.php
- **
- ** Copyright (c) 1999-2000 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** $Id$
- **/
+/**
+ * printer_friendly_main.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
-?><!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
-<html>
- <head>
- <title>Print Email</title>
- </head>
- <frameset rows="50, *" noresize border="0">
- <frame src="printer_friendly_top.php" name="top_frame" scrolling="off">
- <frame src="printer_friendly_bottom.php?passed_ent_id=<?php
- echo $passed_ent_id . '&mailbox=' . urlencode($mailbox) .
- '&passed_id=' . $passed_id;
-?>" name="bottom_frame">
- </frameset>
-</html>
+require_once('../src/validate.php');
+require_once('../functions/page_header.php');
+
+displayHtmlHeader( _("Printer Friendly"), '', FALSE );
+
+echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
+ "<frame src=\"printer_friendly_top.php\" name=\"top_frame\" scrolling=\"no\">".
+ '<frame src="printer_friendly_bottom.php?passed_ent_id='.
+ $passed_ent_id . '&mailbox=' . urlencode($mailbox) .
+ '&passed_id=' . $passed_id .
+ "\" name=\"bottom_frame\">".
+ "</frameset>\n".
+ "</html>\n";
+
+?>