From: <cl...@us...> - 2003-09-21 03:22:13
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv9284/functions Modified Files: error.php Log Message: Completed (hopefully) the move to header/footer on all pages. Cleaned up header a bit. Index: error.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/error.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** error.php 30 Nov 2002 21:05:39 -0000 1.8 --- error.php 21 Sep 2003 03:22:08 -0000 1.9 *************** *** 1,4 **** --- 1,6 ---- <?php if (!defined('BASE')) define('BASE','../'); + $current_view = 'error'; + $display_date = $error_title_lang; function error($error_msg='There was an error processing the request.', $file='NONE') { *************** *** 15,28 **** $error_calendar = sprintf($error_calendar_lang, $file); ?> ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> ! <html> ! <head> ! <meta http-equiv="content-type" content="text/html;charset=UTF-8"> ! <title><?php echo $error_title_lang; ?></title> ! <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet/default.css"; ?>"> ! </head> ! <body bgcolor="#FFFFFF"> <center> <table border="0" width="700" cellspacing="0" cellpadding="0"> --- 17,24 ---- $error_calendar = sprintf($error_calendar_lang, $file); + include (BASE.'includes/header.inc.php'); + ?> ! <center> <table border="0" width="700" cellspacing="0" cellpadding="0"> *************** *** 65,74 **** </tr> </table> - <?php include (BASE.'includes/footer.inc.php'); ?> </center> ! </body> ! </html> - <?php } ! ?> --- 61,70 ---- </tr> </table> </center> ! <?php ! ! include (BASE.'includes/footer.inc.php'); } ! ! ?> \ No newline at end of file |