From 9b00469b471a8b159c60ecca333f0f7064ba1d27 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sat, 20 Dec 2008 03:22:54 +0000 Subject: misc error warnings and notices --- year.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'year.php') 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'], -- cgit v1.2.3