moving functions to separate file, adding configuration files
[squirrelmail.git] / src / printer_friendly_top.php
index 127a9dfc65e3445772d56ef6bcdbc78925c0035f..fe6c1dc6e107f6b8739d2221932d18dd0dc91bfd 100644 (file)
@@ -1,27 +1,24 @@
 <?php
-
 /**
- * printer_friendly_top.php
- *
- * Copyright (c) 1999-2003 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
  *
- * $Id$
+ * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
  */
 
-/* Path for SquirrelMail required files. */
+/**
+ * Path for SquirrelMail required files.
+ * @ignore
+ */
 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".
@@ -34,7 +31,7 @@ displayHtmlHeader( _("Printer Friendly"),
              "</script>\n", FALSE );
 
 
-echo "<body text='$color[8]' bgcolor='$color[3]' link='$color[7]' vlink='$color[7]' alink='$color[7]'>\n" .
+echo '<body text="'.$color[8].'" bgcolor="'.$color[3].'" link="'.$color[7].'" vlink="'.$color[7].'" alink="'.$color[7]."\">\n" .
      html_tag( 'div',
          '<b>'.
          '<form>'.
@@ -43,6 +40,5 @@ echo "<body text='$color[8]' bgcolor='$color[3]' link='$color[7]' vlink='$color[
          '</form>'.
          '</b>',
      'right' );
-     '</body></html>'. "\n";
-
 ?>
+</body></html>