|
From: <ji...@us...> - 2008-12-28 19:30:47
|
Update of /cvsroot/phpicalendar/phpicalendar In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7568 Modified Files: AUTHORS day.php preferences.php Log Message: fix misc bugs; rewrite some places where warnings squelched with @; require php5.1 or greater Index: AUTHORS =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/AUTHORS,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** AUTHORS 20 Dec 2008 00:11:55 -0000 1.7 --- AUTHORS 28 Dec 2008 19:30:41 -0000 1.8 *************** *** 53,59 **** Portuguese Rui Costa <ruicosta at ubi dot pt> Luciano Antonio Costa <bits dot e dot bytes at gmail dot com> ! Slovak Jan Michalicka co...@ji... Spanish Javier Navarro <jnavarro at xips dot es> Luis Fernando Rocha <ludwig_von_rocht at yahoo dot com> ! Russian Sergey <1c@3555686 dot com> Swedish Jonas Hjelm <jonas at hnet dot se> --- 53,59 ---- Portuguese Rui Costa <ruicosta at ubi dot pt> Luciano Antonio Costa <bits dot e dot bytes at gmail dot com> ! Slovak Jan Michalicka <contact at jimi dot sk> Spanish Javier Navarro <jnavarro at xips dot es> Luis Fernando Rocha <ludwig_von_rocht at yahoo dot com> ! Russian Sergey <1c at 3555686 dot com> Swedish Jonas Hjelm <jonas at hnet dot se> Index: day.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/day.php,v retrieving revision 1.136 retrieving revision 1.137 diff -C2 -d -r1.136 -r1.137 *** day.php 20 Dec 2008 00:33:14 -0000 1.136 --- day.php 28 Dec 2008 19:30:41 -0000 1.137 *************** *** 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: preferences.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -d -r1.67 -r1.68 *** preferences.php 27 Dec 2008 23:49:39 -0000 1.67 --- preferences.php 28 Dec 2008 19:30:41 -0000 1.68 *************** *** 7,11 **** if ($phpiCal_config->allow_preferences != 'yes') { ! exit(error('Preferences are not available for this installation.', $cal)); } --- 7,11 ---- if ($phpiCal_config->allow_preferences != 'yes') { ! exit(error($lang['l_prefs_off'], $cal)); } *************** *** 31,34 **** --- 31,35 ---- $cookie_time = $_POST['cookie_time']; $cookie_endtime = $_POST['cookie_endtime']; + $cookie_timezone = $_POST['cookie_timezone']; $cookie_unset = @$_POST['unset']; $the_cookie = array ("cookie_language" => "$cookie_language", "cookie_calendar" => "$cookie_calendar", "cookie_view" => "$cookie_view", "cookie_startday" => "$cookie_startday", "cookie_style" => "$cookie_style", "cookie_time" => "$cookie_time","cookie_endtime" => "$cookie_endtime", "cookie_cpath"=>"$cookie_cpath", "cookie_timezone"=>"$cookie_timezone"); *************** *** 59,63 **** $cookie_time = $phpicalendar['cookie_time']; $cookie_endtime = $phpicalendar['cookie_endtime']; ! $cookie_endtime = $phpicalendar['cookie_timezone']; if ($cookie_unset) { unset ($cookie_language, $cookie_calendar, $cookie_view, $cookie_style,$cookie_startday); --- 60,64 ---- $cookie_time = $phpicalendar['cookie_time']; $cookie_endtime = $phpicalendar['cookie_endtime']; ! $cookie_timezone = $phpicalendar['cookie_timezone']; if ($cookie_unset) { unset ($cookie_language, $cookie_calendar, $cookie_view, $cookie_style,$cookie_startday); *************** *** 227,231 **** 'cal' => $cal, 'getdate' => $getdate, ! 'calendar_name' => $calendar_name, 'display_date' => $display_date, 'rss_powered' => $rss_powered, --- 228,232 ---- 'cal' => $cal, 'getdate' => $getdate, ! 'calendar_name' => $cal_displayname, 'display_date' => $display_date, 'rss_powered' => $rss_powered, |