aboutsummaryrefslogtreecommitdiffstats
path: root/month.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 /month.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 'month.php')
-rw-r--r--month.php20
1 files changed, 2 insertions, 18 deletions
diff --git a/month.php b/month.php
index 55e7a83..e0694e5 100644
--- a/month.php
+++ b/month.php
@@ -34,32 +34,16 @@ $prev_month_time = mktime(0,0,0,$prev_month_month,$prev_month_day,$prev_month_ye
$next_month = date("Ymd", $next_month_time);
$prev_month = date("Ymd", $prev_month_time);
-$display_month = localizeDate ($dateFormat_month, $date);
+$display_date = localizeDate ($dateFormat_month, $date);
$parse_month = date ("Ym", $date);
$first_of_month = $this_year.$this_month."01";
$start_month_day = dateOfWeek($first_of_month, $week_start_day);
$thisday2 = localizeDate($dateFormat_week_list, $unix_time);
$num_of_events = 0;
+include (BASE.'includes/header.inc.php');
?>
-<!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_month"; ?></title>
- <link rel="stylesheet" type="text/css" href="styles/<?php echo "$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=month\">";
- }
- ?>
-</head>
-<body>
-<?php include (BASE.'includes/header.inc.php'); ?>
<center>
<table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
<tr>

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