* top frame of printer_friendly_main.php
* displays some javascript buttons for printing & closing
*
- * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @copyright © 1999-2006 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
define('SM_PATH','../');
/* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
+include_once(SM_PATH . 'include/validate.php');
displayHtmlHeader( _("Printer Friendly"),
- "<script language=\"javascript\" type=\"text/javascript\">\n".
+ "<script type=\"text/javascript\">\n".
"<!--\n".
"function printPopup() {\n".
"parent.frames[1].focus();\n".
'<input type="button" value="' . _("Close") . '" onclick="window.parent.close()" />'.
'</form>',
'right' );
-?>
-</body></html>
\ No newline at end of file
+
+$oTemplate->display('footer.tpl');
+?>
\ No newline at end of file