From: <ji...@us...> - 2008-12-20 00:33:18
|
Update of /cvsroot/phpicalendar/phpicalendar In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25593 Modified Files: day.php print.php week.php Log Message: misc minor fixes Index: day.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/day.php,v retrieving revision 1.135 retrieving revision 1.136 diff -C2 -d -r1.135 -r1.136 *** day.php 15 Dec 2008 17:25:27 -0000 1.135 --- day.php 20 Dec 2008 00:33:14 -0000 1.136 *************** *** 20,24 **** $weekstart = 1; $unix_time = strtotime($getdate); ! $today_today = date('Ymd', time() + $second_offset); $next_day = date('Ymd', strtotime("+1 day", $unix_time)); $prev_day = date('Ymd', strtotime("-1 day", $unix_time)); --- 20,24 ---- $weekstart = 1; $unix_time = strtotime($getdate); ! $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)); *************** *** 87,91 **** 'list_jumps' => $list_jumps, 'legend' => $list_calcolors, ! 'style_select' => $style_select, 'l_goprint' => $lang['l_goprint'], 'l_preferences' => $lang['l_preferences'], --- 87,91 ---- 'list_jumps' => $list_jumps, 'legend' => $list_calcolors, ! 'style_select' => @$style_select, 'l_goprint' => $lang['l_goprint'], 'l_preferences' => $lang['l_preferences'], Index: print.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/print.php,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** print.php 12 Oct 2007 06:41:33 -0000 1.40 --- print.php 20 Dec 2008 00:33:14 -0000 1.41 *************** *** 48,67 **** $page->replace_files(array( ! 'header' => BASE.'templates/'.$template.'/header.tpl', ! 'footer' => BASE.'templates/'.$template.'/footer.tpl', ! 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl' )); $page->replace_tags(array( ! 'version' => $phpicalendar_version, 'event_js' => '', ! 'charset' => $charset, ! 'default_path' => '', ! 'template' => $template, 'cal' => $cal, 'getdate' => $getdate, 'calendar_name' => $cal_displayname, 'current_view' => $current_view, ! 'printview' => $printview, 'display_date' => $display_date, 'sidebar_date' => $sidebar_date, --- 48,67 ---- $page->replace_files(array( ! 'header' => BASE.'templates/'.$phpiCal_config->template.'/header.tpl', ! 'footer' => BASE.'templates/'.$phpiCal_config->template.'/footer.tpl', ! 'sidebar' => BASE.'templates/'.$phpiCal_config->template.'/sidebar.tpl' )); $page->replace_tags(array( ! 'version' => $phpiCal_config->phpicalendar_version, 'event_js' => '', ! 'charset' => $phpiCal_config->charset, ! 'default_path' => $phpiCal_config->default_path, ! 'template' => $phpiCal_config->template, 'cal' => $cal, 'getdate' => $getdate, 'calendar_name' => $cal_displayname, 'current_view' => $current_view, ! 'printview' => $printview, 'display_date' => $display_date, 'sidebar_date' => $sidebar_date, *************** *** 80,84 **** 'list_jumps' => $list_jumps, 'legend' => $list_calcolors, ! 'style_select' => $style_select, 'l_time' => $lang['l_time'], 'l_summary' => $lang['l_summary'], --- 80,84 ---- 'list_jumps' => $list_jumps, 'legend' => $list_calcolors, ! 'style_select' => @$style_select, 'l_time' => $lang['l_time'], 'l_summary' => $lang['l_summary'], *************** *** 89,93 **** 'l_month' => $lang['l_month'], 'l_year' => $lang['l_year'], ! 'l_location' => $lang['l_location'], 'l_subscribe' => $lang['l_subscribe'], 'l_download' => $lang['l_download'], --- 89,93 ---- 'l_month' => $lang['l_month'], 'l_year' => $lang['l_year'], ! 'l_location' => $lang['l_location'], 'l_subscribe' => $lang['l_subscribe'], 'l_download' => $lang['l_download'], Index: week.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/week.php,v retrieving revision 1.135 retrieving revision 1.136 diff -C2 -d -r1.135 -r1.136 *** week.php 15 Dec 2008 17:25:27 -0000 1.135 --- week.php 20 Dec 2008 00:33:14 -0000 1.136 *************** *** 11,15 **** $weekstart = 1; $unix_time = strtotime($getdate); ! $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)); --- 11,15 ---- $weekstart = 1; $unix_time = strtotime($getdate); ! $today_today = date('Ymd', time() + $phpiCal_config->second_offset); $next_week = date("Ymd", strtotime("+1 week", $unix_time)); $prev_week = date("Ymd", strtotime("-1 week", $unix_time)); |