Give an error to the user when SquirrelMail is not configured yet
[squirrelmail.git] / src / printer_friendly_top.php
index c7510b7fdcba68cff970dab953c0248f7072fe6a..cb8dbe0e5f25d915527e11f90b32b765ed819690 100644 (file)
@@ -1,14 +1,13 @@
 <?php
 
 /**
- * printer_friendly_top.php
- *
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * printer_friendly top frame
  *
  * top frame of printer_friendly_main.php
  * displays some javascript buttons for printing & closing
  *
+ * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
@@ -21,11 +20,6 @@ define('SM_PATH','../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/strings.php');
-require_once(SM_PATH . 'config/config.php');
-require_once(SM_PATH . 'include/load_prefs.php');
-require_once(SM_PATH . 'functions/page_header.php');
-require_once(SM_PATH . 'functions/html.php');
 
 displayHtmlHeader( _("Printer Friendly"),
              "<script language=\"javascript\" type=\"text/javascript\">\n".
@@ -48,4 +42,4 @@ echo '<body text="'.$color[8].'" bgcolor="'.$color[3].'" link="'.$color[7].'" vl
          '</b>',
      'right' );
 ?>
-</body></html>
+</body></html>
\ No newline at end of file