aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
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 /day.php
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 'day.php')
-rw-r--r--day.php21
1 files changed, 2 insertions, 19 deletions
diff --git a/day.php b/day.php
index ccabe8e..2b6ed59 100644
--- a/day.php
+++ b/day.php
@@ -42,26 +42,9 @@ if (isset($master_array[($getdate)])) {
}
}
}
-?>
-
-<!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=day\">";
- }
- ?>
+include (BASE.'includes/header.inc.php');
-<?php if (isset($master_array['-2'])) include (BASE.'functions/todo.js'); ?>
-</head>
-<body bgcolor="#FFFFFF">
-<?php include (BASE.'includes/header.inc.php'); ?>
+?>
<center>
<table border="0" width="700" cellspacing="0" cellpadding="0">
<tr>

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