aboutsummaryrefslogtreecommitdiffstats
path: root/year.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-20 03:22:54 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-20 03:22:54 +0000
commit9b00469b471a8b159c60ecca333f0f7064ba1d27 (patch)
treee4716278c994d577c67a9bf3887c453c56b67030 /year.php
parent3734188aa20c0fad1610e5de3078d7d022694bbd (diff)
downloadphpicalendar-9b00469b471a8b159c60ecca333f0f7064ba1d27.tar.gz
phpicalendar-9b00469b471a8b159c60ecca333f0f7064ba1d27.tar.bz2
phpicalendar-9b00469b471a8b159c60ecca333f0f7064ba1d27.zip
misc error warnings and notices
Diffstat (limited to 'year.php')
-rw-r--r--year.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/year.php b/year.php
index 9bcf802..6a0a6d0 100644
--- a/year.php
+++ b/year.php
@@ -57,7 +57,7 @@ $page->replace_tags(array(
'current_view' => $current_view,
'template' => $phpiCal_config->template,
'charset' => $phpiCal_config->charset,
- 'default_path' => '',
+ 'default_path' => $phpiCal_config->default_path,
'cal' => $cal,
'getcpath' => "&cpath=$cpath",
'cpath' => $cpath,
@@ -71,10 +71,10 @@ $page->replace_tags(array(
'todo_available' => '',
'event_js' => '',
'this_year' => $this_year,
- 'next_day' => $next_day,
- 'next_week' => $next_week,
- 'prev_day' => $prev_day,
- 'prev_week' => $prev_week,
+ 'next_day' => @$next_day,
+ 'next_week' => @$next_week,
+ 'prev_day' => @$prev_day,
+ 'prev_week' => @$prev_week,
'next_year' => $next_year,
'prev_year' => $prev_year,
'show_goto' => '',
@@ -91,7 +91,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