X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fprinter_friendly_top.php;h=147e8626738e133a3d8b962e719a56684fbfc5e7;hb=288df1a09d98fc7a455cbab2fceca36d00508328;hp=334f26ae8a40f23928606dce522d5ba4ba13bf2d;hpb=355861846a51d35efe50848869d680fd3b4a5316;p=squirrelmail.git diff --git a/src/printer_friendly_top.php b/src/printer_friendly_top.php index 334f26ae..147e8626 100644 --- a/src/printer_friendly_top.php +++ b/src/printer_friendly_top.php @@ -3,58 +3,50 @@ /** * printer_friendly_top.php * - * Copyright (c) 1999-2001 The SquirrelMail Development Team + * Copyright (c) 1999-2004 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * top frame of printer_friendly_main.php * displays some javascript buttons for printing & closing * - * $Id$ + * @version $Id$ + * @package squirrelmail */ -/*****************************************************************/ -/*** 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. ***/ -/*****************************************************************/ +/** + * Path for SquirrelMail required files. + * @ignore + */ +define('SM_PATH','../'); -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'); +/* 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"), - "\n", FALSE ); +displayHtmlHeader( _("Printer Friendly"), + "\n", FALSE ); - echo "\n" . - //'
'. - '
'. +echo "\n" . + html_tag( 'div', + ''. '
'. - ' '. - ''. + ' '. + ''. '
'. - '
'. - //'
'. - ''. - "\n"; + '', + 'right' ); + ''. "\n"; ?>