X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fprinter_friendly_main.php;h=24d10e222b8f6384e9d58fb7dc9da7d535bfc567;hb=c3ccfa1912b4ca47279d259bb587ceb293ce5d83;hp=688c575848951493a1a1f0b117b883007c6efa1b;hpb=5e9e90fd78a930cc74432034fad600d38ac50563;p=squirrelmail.git diff --git a/src/printer_friendly_main.php b/src/printer_friendly_main.php index 688c5758..24d10e22 100644 --- a/src/printer_friendly_main.php +++ b/src/printer_friendly_main.php @@ -3,24 +3,34 @@ /** * printer_friendly_main.php * - * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Copyright (c) 1999-2003 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * $Id$ */ -require_once('../src/validate.php'); -require_once('../functions/page_header.php'); +/* Path for SquirrelMail required files. */ +define('SM_PATH','../'); + +/* SquirrelMail required files. */ +require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/page_header.php'); displayHtmlHeader( _("Printer Friendly"), '', FALSE ); +/* get those globals into gear */ +$passed_ent_id = $_GET['passed_ent_id']; +$passed_id = (int) $_GET['passed_id']; +$mailbox = $_GET['mailbox']; +/* end globals */ + echo "\n". - "". + ''. '". - "\n". + '" name="bottom_frame" />'. + "\n\n". "\n"; ?>