From: <ji...@us...> - 2008-12-20 00:33:18
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25593/functions Modified Files: list_functions.php Log Message: misc minor fixes Index: list_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/list_functions.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** list_functions.php 16 Dec 2008 15:46:24 -0000 1.19 --- list_functions.php 20 Dec 2008 00:33:14 -0000 1.20 *************** *** 2,8 **** function list_jumps() { ! global $second_offset, $lang, $cal; $calName = join(',', array_map("getCalendarName", split(',', $cal))); ! $today = date('Ymd', time() + $second_offset); $return = '<option value="#">'.$lang['l_jump'].'</option>'; $return .= '<option value="day.php?cal='.$calName.'&getdate='.$today.'">'.$lang['l_goday'].'</option>'; --- 2,8 ---- function list_jumps() { ! global $phpiCal_config, $lang, $cal; $calName = join(',', array_map("getCalendarName", split(',', $cal))); ! $today = date('Ymd', time() + $phpiCal_config->second_offset); $return = '<option value="#">'.$lang['l_jump'].'</option>'; $return .= '<option value="day.php?cal='.$calName.'&getdate='.$today.'">'.$lang['l_goday'].'</option>'; |