aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-09-17 05:18:23 +0000
committerChad Little <clittle@users.sourceforge.net>2003-09-17 05:18:23 +0000
commit9ee9d70b3288ae2ca420b03698fa0b2d76677f3c (patch)
tree59cb757a5606f75e00fed6ea4dfce004d9cfc2d3 /includes
parentd390d4472192244f6ee1a1b68dde32b5ae28fec3 (diff)
downloadphpicalendar-9ee9d70b3288ae2ca420b03698fa0b2d76677f3c.tar.gz
phpicalendar-9ee9d70b3288ae2ca420b03698fa0b2d76677f3c.tar.bz2
phpicalendar-9ee9d70b3288ae2ca420b03698fa0b2d76677f3c.zip
Moved all html head/meta data/body/ect to 'header.inc.php' so people can
more easily modify the top to fit their site.
Diffstat (limited to 'includes')
-rw-r--r--includes/header.inc.php22
1 files changed, 19 insertions, 3 deletions
diff --git a/includes/header.inc.php b/includes/header.inc.php
index dbc3425..09ceb52 100644
--- a/includes/header.inc.php
+++ b/includes/header.inc.php
@@ -1,4 +1,20 @@
-<?php /* Begin Custom Header */ ?>
+<? if ($current_view == 'preferences') $display_date = $preferences_lang; ?>
-
-<?php /* End Custom Header */ ?>
+<!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."&amp;rssview=week\">";
+ }
+ if (isset($master_array['-2'])) include (BASE.'functions/todo.js');
+
+ ?>
+</head>
+<body bgcolor="#FFFFFF"> \ No newline at end of file

© 2014-2024 Faster IT GmbH | imprint | privacy policy