aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-15 17:25:27 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-15 17:25:27 +0000
commitcb1509c1c670974f54ed67d2076fef39e0d20812 (patch)
tree7f7f64c60ad63cf884cf5562565f46cffd3f9597 /week.php
parent99cfde6479207ba9349d8c4a093ef14a1026154d (diff)
downloadphpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.tar.gz
phpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.tar.bz2
phpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.zip
big changes to recurrence; trying to get closer to the spec
Diffstat (limited to 'week.php')
-rw-r--r--week.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/week.php b/week.php
index c0a9d70..1807eb7 100644
--- a/week.php
+++ b/week.php
@@ -4,13 +4,13 @@ define('BASE', './');
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");
-if ($minical_view == "current") $minical_view = "week";
+header("Content-Type: text/html; charset=$phpiCal_config->charset");
+if ($phpiCal_config->minical_view == "current") $minical_view = "week";
$starttime = "0500";
$weekstart = 1;
$unix_time = strtotime($getdate);
-$today_today = date('Ymd', time() + $second_offset);
+$today_today = date('Ymd', time() + $second_offset);
$next_week = date("Ymd", strtotime("+1 week", $unix_time));
$prev_week = date("Ymd", strtotime("-1 week", $unix_time));
$next_day = date('Ymd', strtotime("+1 day", $unix_time));
@@ -88,7 +88,7 @@ $page->replace_tags(array(
'list_weeks' => $list_weeks,
'list_jumps' => $list_jumps,
'legend' => $list_calcolors,
- 'style_select' => $style_select,
+ 'style_select' => '',
'l_goprint' => $lang['l_goprint'],
'l_preferences' => $lang['l_preferences'],
'l_calendar' => $lang['l_calendar'],

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