Update of /cvsroot/phpicalendar/phpicalendar/includes
In directory sc8-pr-cvs1:/tmp/cvs-serv28204/includes
Modified Files:
header.inc.php
Log Message:
Moved all html head/meta data/body/ect to 'header.inc.php' so people can
more easily modify the top to fit their site.
Index: header.inc.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/includes/header.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** header.inc.php 12 Mar 2003 01:56:40 -0000 1.2
--- header.inc.php 17 Sep 2003 05:18:24 -0000 1.3
***************
*** 1,4 ****
! <?php /* Begin Custom Header */ ?>
!
! <?php /* End Custom Header */ ?>
--- 1,20 ----
! <? if ($current_view == 'preferences') $display_date = $preferences_lang; ?>
! <!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 "$calendar_name - $display_date"; ?></title>
! <link rel="stylesheet" type="text/css" href="<?php echo BASE."styles/$style_sheet/default.css"; ?>">
! <?php
!
! // if RSS is enabled, set the RSS auto-discovery link
! if ($enable_rss == 'yes') {
! echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"".$default_path."/rss/rss.php?cal=".$cal."&rssview=week\">";
! }
! if (isset($master_array['-2'])) include (BASE.'functions/todo.js');
!
! ?>
! </head>
! <body bgcolor="#FFFFFF">
\ No newline at end of file
|