diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-09-17 05:18:23 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-09-17 05:18:23 +0000 |
commit | 9ee9d70b3288ae2ca420b03698fa0b2d76677f3c (patch) | |
tree | 59cb757a5606f75e00fed6ea4dfce004d9cfc2d3 /includes | |
parent | d390d4472192244f6ee1a1b68dde32b5ae28fec3 (diff) | |
download | phpicalendar-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.php | 22 |
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."&rssview=week\">"; + } + if (isset($master_array['-2'])) include (BASE.'functions/todo.js'); + + ?> +</head> +<body bgcolor="#FFFFFF">
\ No newline at end of file |