X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fprinter_friendly_top.php;h=2473f1a55346d15ca063947b61534b2eaec45bfa;hb=393b5a49a10f50de5521c7f81721a594f3b30f7f;hp=b67b705ae289b5a17d61c3820f3cb535f2af455f;hpb=4b4abf93a9624311afef0c385023724ee46a2b60;p=squirrelmail.git diff --git a/src/printer_friendly_top.php b/src/printer_friendly_top.php index b67b705a..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-2005 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. */ -require_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'); -?> - \ No newline at end of file +$oTemplate->display('footer.tpl');