Correct value of undefined hostname
[squirrelmail.git] / src / printer_friendly_main.php
index a4d3bed5b98e083ff5d36fea2a7669bc01732b32..8c0c03d6e4d522e013beeb0eece54a562e188504 100644 (file)
@@ -3,19 +3,21 @@
 /**
  * printer_friendly frameset
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
+/** This is the printer_friendly_main page */
+define('PAGE_NAME', 'printer_friendly_main');
+
 /**
  * Include the SquirrelMail initialization file.
  */
 include('../include/init.php');
 
 /* get those globals into gear */
-global $color;
 if ( ! sqgetGlobalVar('passed_ent_id',$passed_ent_id,SQ_GET))
     $passed_ent_id = 0;
 if ( ! sqgetGlobalVar('mailbox',$mailbox,SQ_GET) ||
@@ -40,5 +42,4 @@ if ( ! sqgetGlobalVar('mailbox',$mailbox,SQ_GET) ||
 
     $oTemplate->display('printer_friendly_main.tpl');
 
-    $oTemplate->display('footer.tpl');
 }