aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:33:14 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:33:14 +0000
commit9cc4b1667897ac0e9db28044d96e7b96a7ac38e5 (patch)
tree9ba349e112a4a242a04b895ea69ab7b349018402 /day.php
parentedd9a9fd1a3451f7868400fcf9d2ebe0cf563c51 (diff)
downloadphpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.tar.gz
phpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.tar.bz2
phpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.zip
misc minor fixes
Diffstat (limited to 'day.php')
-rw-r--r--day.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/day.php b/day.php
index 7ed31ea..932b6c1 100644
--- a/day.php
+++ b/day.php
@@ -19,7 +19,7 @@ if ($phpiCal_config->minical_view == 'current') $minical_view = 'day';
$weekstart = 1;
$unix_time = strtotime($getdate);
-$today_today = date('Ymd', time() + $second_offset);
+$today_today = date('Ymd', time() + $phpiCal_config->second_offset);
$next_day = date('Ymd', strtotime("+1 day", $unix_time));
$prev_day = date('Ymd', strtotime("-1 day", $unix_time));
@@ -86,7 +86,7 @@ $page->replace_tags(array(
'list_weeks' => $list_weeks,
'list_jumps' => $list_jumps,
'legend' => $list_calcolors,
- 'style_select' => $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