aboutsummaryrefslogtreecommitdiffstats
path: root/month.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2007-10-11 23:46:31 +0000
committerJim Hu <jimhu@users.sourceforge.net>2007-10-11 23:46:31 +0000
commit83d7e71966a1387b451e085b1c84b63035cbacbe (patch)
treeef4abfd493bab10a973c9b30b8d13082a2974c98 /month.php
parente5d50688df549539cdf62387d1eca4b3c07aac8e (diff)
downloadphpicalendar-83d7e71966a1387b451e085b1c84b63035cbacbe.tar.gz
phpicalendar-83d7e71966a1387b451e085b1c84b63035cbacbe.tar.bz2
phpicalendar-83d7e71966a1387b451e085b1c84b63035cbacbe.zip
modify mont.php to set current view before parsing, and to remove some extraneous stuff duplicated in init.inc.php
Diffstat (limited to 'month.php')
-rw-r--r--month.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/month.php b/month.php
index 8e5d2aa..bd6152a 100644
--- a/month.php
+++ b/month.php
@@ -1,17 +1,12 @@
<?php
define('BASE', './');
+$current_view = "month";
require_once(BASE.'functions/ical_parser.php');
require_once(BASE.'functions/list_functions.php');
require_once(BASE.'functions/template.php');
header("Content-Type: text/html; charset=$charset");
-$current_view = "month";
if ($minical_view == 'current') $minical_view = 'month';
-ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2);
-$this_day = $day_array2[3];
-$this_month = $day_array2[2];
-$this_year = $day_array2[1];
-
$unix_time = strtotime($getdate);
$today_today = date('Ymd', time() + $second_offset);
$tomorrows_date = date('Ymd', strtotime("+1 day", $unix_time));

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