X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fprinter_friendly_top.php;h=2473f1a55346d15ca063947b61534b2eaec45bfa;hb=393b5a49a10f50de5521c7f81721a594f3b30f7f;hp=d068b8a8c983fa18f6caf1959aae2e63fb95bbdd;hpb=2c92ea9da4c11cac1ea3118a1e0fda6407e5d62b;p=squirrelmail.git diff --git a/src/printer_friendly_top.php b/src/printer_friendly_top.php index d068b8a8..2473f1a5 100644 --- a/src/printer_friendly_top.php +++ b/src/printer_friendly_top.php @@ -6,39 +6,23 @@ * top frame of printer_friendly_main.php * displays some javascript buttons for printing & closing * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright © 1999-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail */ +/** This is the printer_friendly_top page */ +define('PAGE_NAME', 'printer_friendly_top'); + /** - * Path for SquirrelMail required files. - * @ignore + * Include the SquirrelMail initialization file. */ -define('SM_PATH','../'); - -/* SquirrelMail required files. */ -include_once(SM_PATH . 'include/validate.php'); - -displayHtmlHeader( _("Printer Friendly"), - "\n", FALSE ); +include('../include/init.php'); +displayHtmlHeader( _("Printer Friendly")); +$oErrorHandler->setDelayedErrors(true); -echo '\n" . - html_tag( 'div', - '
'. - ' '. - ''. - '
', - 'right' ); +$oTemplate->display('printer_friendly_top.tpl'); $oTemplate->display('footer.tpl'); -?> \ No newline at end of file