duhduh
[squirrelmail.git] / src / printer_friendly_top.php
index a8e48fd0a6b82d25c404641aad623efbbbf81f6f..f1562b2ee3ef35cafd1325c43741baebffb2b18a 100644 (file)
  * $Id$
  */
 
-/*****************************************************************/
-/*** THIS FILE NEEDS TO HAVE ITS FORMATTING FIXED!!!           ***/
-/*** PLEASE DO SO AND REMOVE THIS COMMENT SECTION.             ***/
-/***    + Base level indent should begin at left margin, as    ***/
-/***      the require_once below looks.                        ***/
-/***    + All identation should consist of four space blocks   ***/
-/***    + Tab characters are evil.                             ***/
-/***    + all comments should use "slash-star ... star-slash"  ***/
-/***      style -- no pound characters, no slash-slash style   ***/
-/***    + FLOW CONTROL STATEMENTS (if, while, etc) SHOULD      ***/
-/***      ALWAYS USE { AND } CHARACTERS!!!                     ***/
-/***    + Please use ' instead of ", when possible. Note "     ***/
-/***      should always be used in _( ) function calls.        ***/
-/*** Thank you for your help making the SM code more readable. ***/
-/*****************************************************************/
-
 require_once('../src/validate.php');
 require_once('../functions/strings.php');
 require_once('../config/config.php');
 require_once('../src/load_prefs.php');
 require_once('../functions/page_header.php');
 
-    displayHtmlHeader( _("Printer Friendly"),
-                 "<script language=\"javascript\">\n".
-                 "<!--\n".
-                 "function printPopup() {\n".
-                    "parent.frames[1].focus();\n".
-                    "parent.frames[1].print();\n".
-                 "}\n".
-                 "-->\n".
-                 "</script>\n", FALSE );
+displayHtmlHeader( _("Printer Friendly"),
+             "<script language=\"javascript\">\n".
+             "<!--\n".
+             "function printPopup() {\n".
+                "parent.frames[1].focus();\n".
+                "parent.frames[1].print();\n".
+             "}\n".
+             "-->\n".
+             "</script>\n", FALSE );
 
 
-    echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
-         //'<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="middle" align="center">'.
-         '<center><b>'.
-         '<form>'.
-         '<input type="button" value="' . _("Print") . '" onClick="printPopup()"> '.
-         '<input type="button" value="' . _("Close Window") . '" onClick="window.parent.close()">'.
-         '</form>'.
-         '</b>'.
-         //'</td></tr></table>'.
-         '</body>'.
-         "</html>\n";
+echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
+     //'<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="middle" align="center">'.
+     '<center><b>'.
+     '<form>'.
+     '<input type="button" value="' . _("Print") . '" onClick="printPopup()"> '.
+     '<input type="button" value="' . _("Close Window") . '" onClick="window.parent.close()">'.
+     '</form>'.
+     '</b>'.
+     //'</td></tr></table>'.
+     '</body>'.
+     "</html>\n";
 
-?>
+?>
\ No newline at end of file