X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fprinter_friendly_top.php;h=2ffaf6b45f2bef845ffcc21428f6d276f6e5770d;hp=cc7a924f8d4c9589c0146f2f1c52ada7bb18ac37;hb=99a0e2a2972681ef914d2e01c29f9f0f7bd6f0c4;hpb=5c4ff7bfc6e04337bd6bcf76743b1fbb92556233 diff --git a/src/printer_friendly_top.php b/src/printer_friendly_top.php index cc7a924f..2ffaf6b4 100644 --- a/src/printer_friendly_top.php +++ b/src/printer_friendly_top.php @@ -13,32 +13,14 @@ */ /** - * Path for SquirrelMail required files. - * @ignore + * Include the SquirrelMail initialization file. */ -define('SM_PATH','../'); +include('../include/init.php'); -/* SquirrelMail required files. */ -include_once(SM_PATH . 'include/validate.php'); +displayHtmlHeader( _("Printer Friendly")); +$oErrorHandler->setDelayedErrors(true); -displayHtmlHeader( _("Printer Friendly"), - "\n", FALSE ); - - -echo '\n" . - html_tag( 'div', - '
'. - ' '. - ''. - '
', - 'right' ); +$oTemplate->display('printer_friendly_top.tpl'); $oTemplate->display('footer.tpl'); ?> \ No newline at end of file