You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(5) |
Feb
(25) |
Mar
(18) |
Apr
|
May
(26) |
Jun
(14) |
Jul
(1) |
Aug
(5) |
Sep
(82) |
Oct
(3) |
Nov
(130) |
Dec
(9) |
2004 |
Jan
(4) |
Feb
(62) |
Mar
|
Apr
(3) |
May
(100) |
Jun
|
Jul
(6) |
Aug
(49) |
Sep
(33) |
Oct
(47) |
Nov
(2) |
Dec
(1) |
2005 |
Jan
|
Feb
(4) |
Mar
(1) |
Apr
(8) |
May
(17) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(26) |
Oct
(18) |
Nov
(37) |
Dec
(14) |
2006 |
Jan
(2) |
Feb
(18) |
Mar
(34) |
Apr
(52) |
May
(7) |
Jun
(3) |
Jul
(2) |
Aug
(10) |
Sep
|
Oct
|
Nov
(18) |
Dec
(4) |
2007 |
Jan
|
Feb
(7) |
Mar
(7) |
Apr
(6) |
May
(52) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(15) |
Nov
|
Dec
(1) |
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(250) |
2009 |
Jan
(35) |
Feb
(45) |
Mar
|
Apr
(4) |
May
(35) |
Jun
(13) |
Jul
(49) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(11) |
2010 |
Jan
(3) |
Feb
(30) |
Mar
|
Apr
(35) |
May
(12) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
From: <cl...@us...> - 2004-09-05 17:21:37
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29968 Modified Files: README config.inc.php Log Message: Updated. Index: README =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/README,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** README 3 Sep 2004 22:36:00 -0000 1.77 --- README 5 Sep 2004 17:21:22 -0000 1.78 *************** *** 41,49 **** http://phpicalendar.net/forums/ ! Supported Calendar Applications: -------------------------------- ! PHP iCalendar does not edit calendars, instead it supports any calendar ! application that can generate valid IETF 2445 files (.ics). ! Some of the supported applications are: - Apple iCal --- 41,49 ---- http://phpicalendar.net/forums/ ! Creating calendars and events: -------------------------------- ! PHP iCalendar DOES NOT create or edit calendars (or events). Instead it ! provides a way to view calendars from applications that generate valid ! IETF 2445 files (.ics). Some of the supported applications are: - Apple iCal *************** *** 80,89 **** COPYING for more information about our license. - Older Browser Support: - ---------------------- - Starting with 0.9.4, PHP iCalendar is moving away from supporting 4.x browsers. - If you still need support for these browers, 0.9.3 is still available for - download. - Changes: -------- --- 80,83 ---- Index: config.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/config.inc.php,v retrieving revision 1.152 retrieving revision 1.153 diff -C2 -d -r1.152 -r1.153 *** config.inc.php 3 Sep 2004 21:51:33 -0000 1.152 --- config.inc.php 5 Sep 2004 17:21:22 -0000 1.153 *************** *** 20,26 **** $allday_week_lines = '1'; // Number of lines to wrap each event title in all-day events in week view, 0 means display all lines. $week_events_lines = '1'; // Number of lines to wrap each event title in the 'Tommorrow's events' box, 0 means display all lines. ! $timezone = ''; // Set timezone. Read TIMEZONES file for more information $calendar_path = ''; // Leave this blank on most installs, place your full path to calendars if they are outside the phpicalendar folder. ! $second_offset = '0'; // The time in seconds between your time and your server's time. $bleed_time = ''; // This allows events past midnight to just be displayed on the starting date, only good up to 24 hours. Range from '0000' to '2359', or '-1' for no bleed time. Is automatically set to $day_start if left blank. $cookie_uri = ''; // The HTTP URL to the PHP iCalendar directory, ie. http://www.example.com/phpicalendar -- AUTO SETTING -- Only set if you are having cookie issues. --- 20,26 ---- $allday_week_lines = '1'; // Number of lines to wrap each event title in all-day events in week view, 0 means display all lines. $week_events_lines = '1'; // Number of lines to wrap each event title in the 'Tommorrow's events' box, 0 means display all lines. ! $timezone = 'US/Pacific'; // Set timezone. Read TIMEZONES file for more information $calendar_path = ''; // Leave this blank on most installs, place your full path to calendars if they are outside the phpicalendar folder. ! $second_offset = '3600'; // The time in seconds between your time and your server's time. $bleed_time = ''; // This allows events past midnight to just be displayed on the starting date, only good up to 24 hours. Range from '0000' to '2359', or '-1' for no bleed time. Is automatically set to $day_start if left blank. $cookie_uri = ''; // The HTTP URL to the PHP iCalendar directory, ie. http://www.example.com/phpicalendar -- AUTO SETTING -- Only set if you are having cookie issues. |
From: <cl...@us...> - 2004-09-04 01:14:32
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8755/functions Modified Files: ical_parser.php Log Message: Fix for [ 1004808 ] Event title/descriptions and "$##". Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.183 retrieving revision 1.184 diff -C2 -d -r1.183 -r1.184 *** ical_parser.php 3 Sep 2004 22:36:01 -0000 1.183 --- ical_parser.php 4 Sep 2004 01:14:21 -0000 1.184 *************** *** 1018,1021 **** --- 1018,1022 ---- $data = str_replace("\\n", "<br />", $data); $data = str_replace("\\r", "<br />", $data); + $data = str_replace('$', '$', $data); $data = htmlentities(urlencode($data)); if ($valarm_set == FALSE) { *************** *** 1029,1032 **** --- 1030,1034 ---- $data = str_replace("\\n", "<br />", $data); $data = str_replace("\\r", "<br />", $data); + $data = str_replace('$', '$', $data); $data = htmlentities(urlencode($data)); if ($valarm_set == FALSE) { *************** *** 1175,1179 **** //print_r($rrule_array); //print_r($recurrence_delete); ! //wprint '</pre>'; // Set a calender name for all calenders combined --- 1177,1181 ---- //print_r($rrule_array); //print_r($recurrence_delete); ! //print '</pre>'; // Set a calender name for all calenders combined |
From: <cl...@us...> - 2004-09-03 22:36:10
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17175/functions Modified Files: ical_parser.php Log Message: Updated. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.182 retrieving revision 1.183 diff -C2 -d -r1.182 -r1.183 *** ical_parser.php 3 Sep 2004 21:51:33 -0000 1.182 --- ical_parser.php 3 Sep 2004 22:36:01 -0000 1.183 *************** *** 117,121 **** $actual_mtime = time(); } else { ! $actual_mtime = filemtime($filename); } --- 117,121 ---- $actual_mtime = time(); } else { ! $actual_mtime = @filemtime($filename); } *************** *** 1134,1145 **** } } $calnumber = $calnumber + 1; } - if (!isset($master_array['-3'][$calnumber])) $master_array['-3'][$calnumber] = $actual_calname; - if (!isset($master_array['-4'][$calnumber]['mtime'])) $master_array['-4'][$calnumber]['mtime'] = $actual_mtime; - if (!isset($master_array['-4'][$calnumber]['filename'])) $master_array['-4'][$calnumber]['filename'] = $filename; - if (!isset($master_array['-4'][$calnumber]['webcal'])) $master_array['-4'][$calnumber]['webcal'] = 'no'; - if ($parse_file) { // Sort the array by absolute date. --- 1134,1144 ---- } } + if (!isset($master_array['-3'][$calnumber])) $master_array['-3'][$calnumber] = $actual_calname; + if (!isset($master_array['-4'][$calnumber]['mtime'])) $master_array['-4'][$calnumber]['mtime'] = $actual_mtime; + if (!isset($master_array['-4'][$calnumber]['filename'])) $master_array['-4'][$calnumber]['filename'] = $filename; + if (!isset($master_array['-4'][$calnumber]['webcal'])) $master_array['-4'][$calnumber]['webcal'] = 'no'; $calnumber = $calnumber + 1; } if ($parse_file) { // Sort the array by absolute date. *************** *** 1176,1180 **** //print_r($rrule_array); //print_r($recurrence_delete); ! //print '</pre>'; // Set a calender name for all calenders combined --- 1175,1179 ---- //print_r($rrule_array); //print_r($recurrence_delete); ! //wprint '</pre>'; // Set a calender name for all calenders combined |
From: <cl...@us...> - 2004-09-03 22:36:10
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17175 Modified Files: README Log Message: Updated. Index: README =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/README,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** README 2 Sep 2004 18:49:34 -0000 1.76 --- README 3 Sep 2004 22:36:00 -0000 1.77 *************** *** 52,56 **** - http://www.mozilla.org/projects/calendar/ - Ximian Evolution ! - http://www.ximian.com/products/evolution/ - KOrganizer - http://korganizer.kde.org/ --- 52,56 ---- - http://www.mozilla.org/projects/calendar/ - Ximian Evolution ! - http://www.novell.com/products/evolution/ - KOrganizer - http://korganizer.kde.org/ |
From: <cl...@us...> - 2004-09-03 21:54:25
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9103/functions Modified Files: template.php Log Message: Fix for [ 1012303 ] Show completed to-do items. Index: template.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** template.php 2 Sep 2004 18:49:34 -0000 1.54 --- template.php 3 Sep 2004 21:54:16 -0000 1.55 *************** *** 628,632 **** function get_vtodo() { ! global $template, $getdate, $master_array, $next_day, $timeFormat, $tomorrows_events_lines; preg_match("!<\!-- switch show_completed on -->(.*)<\!-- switch show_completed off -->!is", $this->page, $match1); --- 628,632 ---- function get_vtodo() { ! global $template, $getdate, $master_array, $next_day, $timeFormat, $tomorrows_events_lines, $show_completed; preg_match("!<\!-- switch show_completed on -->(.*)<\!-- switch show_completed off -->!is", $this->page, $match1); |
From: <cl...@us...> - 2004-09-03 21:51:47
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8670/functions Modified Files: ical_parser.php Log Message: Fix for [ 1010935 ] Empty calendars mess up legend Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.181 retrieving revision 1.182 diff -C2 -d -r1.181 -r1.182 *** ical_parser.php 3 Sep 2004 18:54:13 -0000 1.181 --- ical_parser.php 3 Sep 2004 21:51:33 -0000 1.182 *************** *** 173,180 **** case 'END:VEVENT': - if (!isset($master_array['-3'][$calnumber])) $master_array['-3'][$calnumber] = $actual_calname; - if (!isset($master_array['-4'][$calnumber]['mtime'])) $master_array['-4'][$calnumber]['mtime'] = $actual_mtime; - if (!isset($master_array['-4'][$calnumber]['filename'])) $master_array['-4'][$calnumber]['filename'] = $filename; - if (!isset($master_array['-4'][$calnumber]['webcal'])) $master_array['-4'][$calnumber]['webcal'] = 'no'; if (!isset($url)) $url = ''; if (!isset($type)) $type = ''; --- 173,176 ---- *************** *** 1141,1144 **** --- 1137,1145 ---- } + if (!isset($master_array['-3'][$calnumber])) $master_array['-3'][$calnumber] = $actual_calname; + if (!isset($master_array['-4'][$calnumber]['mtime'])) $master_array['-4'][$calnumber]['mtime'] = $actual_mtime; + if (!isset($master_array['-4'][$calnumber]['filename'])) $master_array['-4'][$calnumber]['filename'] = $filename; + if (!isset($master_array['-4'][$calnumber]['webcal'])) $master_array['-4'][$calnumber]['webcal'] = 'no'; + if ($parse_file) { // Sort the array by absolute date. |
From: <cl...@us...> - 2004-09-03 21:51:41
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8670 Modified Files: config.inc.php Log Message: Fix for [ 1010935 ] Empty calendars mess up legend Index: config.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/config.inc.php,v retrieving revision 1.151 retrieving revision 1.152 diff -C2 -d -r1.151 -r1.152 *** config.inc.php 12 Aug 2004 19:20:44 -0000 1.151 --- config.inc.php 3 Sep 2004 21:51:33 -0000 1.152 *************** *** 39,43 **** $printview_default = 'no'; // Set print view as the default view. day, week, and month only supported views for $default_view (listed well above). $show_todos = 'yes'; // Show your todo list on the side of day and week view. ! $show_completed = 'no'; // Show completed todos on your todo list. $allow_login = 'no'; // Set to yes to prompt for login to unlock calendars. $login_cookies = 'no'; // Set to yes to store authentication information via (unencrypted) cookies. Set to no to use sessions. --- 39,43 ---- $printview_default = 'no'; // Set print view as the default view. day, week, and month only supported views for $default_view (listed well above). $show_todos = 'yes'; // Show your todo list on the side of day and week view. ! $show_completed = 'yes'; // Show completed todos on your todo list. $allow_login = 'no'; // Set to yes to prompt for login to unlock calendars. $login_cookies = 'no'; // Set to yes to store authentication information via (unencrypted) cookies. Set to no to use sessions. |
From: <cl...@us...> - 2004-09-03 21:23:02
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3873/functions Modified Files: list_functions.php Log Message: Fix for [ 1014753 ] Incorrect character display. Index: list_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/list_functions.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** list_functions.php 1 Sep 2004 21:27:00 -0000 1.11 --- list_functions.php 3 Sep 2004 21:22:39 -0000 1.12 *************** *** 17,20 **** --- 17,21 ---- foreach ($master_array['-3'] as $key => $val) { if ($i > $unique_colors) $i = 1; + $val = str_replace ("\,", ",", $val); $return .= '<img src="templates/'.$template.'/images/monthdot_'.$i.'.gif" alt="" /> '.$val.'<br />'; $i++; |
From: <cl...@us...> - 2004-09-03 18:54:22
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11060/functions Modified Files: ical_parser.php Log Message: Fix for [ 1009061 ] some repeating dates don't display Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.180 retrieving revision 1.181 diff -C2 -d -r1.180 -r1.181 *** ical_parser.php 2 Sep 2004 18:57:42 -0000 1.180 --- ical_parser.php 3 Sep 2004 18:54:13 -0000 1.181 *************** *** 534,538 **** break; case 'MONTHLY': ! if (!isset($bymonth)) $bymonth = array(1,2,3,4,5,6,7,8,9,10,11,12); $next_range_time = strtotime(date('Y-m-01', $next_range_time)); $next_date_time = $next_date_time; --- 534,538 ---- break; case 'MONTHLY': ! if (empty($bymonth)) $bymonth = array(1,2,3,4,5,6,7,8,9,10,11,12); $next_range_time = strtotime(date('Y-m-01', $next_range_time)); $next_date_time = $next_date_time; *************** *** 566,570 **** $recur_data[] = $next_date_time; } ! } elseif (isset($bymonthday)) { // This supports MONTHLY where BYDAY and BYMONTH are both set foreach($bymonthday as $day) { --- 566,570 ---- $recur_data[] = $next_date_time; } ! } elseif (isset($bymonthday) && (!empty($bymonthday))) { // This supports MONTHLY where BYDAY and BYMONTH are both set foreach($bymonthday as $day) { |
From: <cl...@us...> - 2004-09-02 21:15:46
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31540 Modified Files: print.php Log Message: Added no results. Index: print.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/print.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** print.php 2 Sep 2004 18:43:33 -0000 1.32 --- print.php 2 Sep 2004 21:15:30 -0000 1.33 *************** *** 81,84 **** --- 81,85 ---- 'l_subscribe' => $lang['l_subscribe'], 'l_download' => $lang['l_download'], + 'l_no_results' => $lang['l_no_results'], 'l_powered_by' => $lang['l_powered_by'], 'l_this_site_is' => $lang['l_this_site_is'] |
From: <cl...@us...> - 2004-09-02 18:57:54
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2998/functions Modified Files: ical_parser.php init.inc.php Log Message: Fixes. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.179 retrieving revision 1.180 diff -C2 -d -r1.179 -r1.180 *** ical_parser.php 24 Aug 2004 23:14:59 -0000 1.179 --- ical_parser.php 2 Sep 2004 18:57:42 -0000 1.180 *************** *** 254,258 **** } } ! if (isset($start_unixtime,$end_unixtime) && date('d',$start_unixtime) != date('d',$end_unixtime)) { $spans_day = true; $bleed_check = (($start_unixtime - $end_unixtime) < (60*60*24)) ? '-1' : '0'; --- 254,258 ---- } } ! if (isset($start_unixtime,$end_unixtime) && date('Ymd',$start_unixtime) != date('Ymd',$end_unixtime)) { $spans_day = true; $bleed_check = (($start_unixtime - $end_unixtime) < (60*60*24)) ? '-1' : '0'; Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** init.inc.php 2 Sep 2004 18:44:43 -0000 1.68 --- init.inc.php 2 Sep 2004 18:57:43 -0000 1.69 *************** *** 71,78 **** if ($calendar_path == '') { ! $calendar_path = 'calendars'; ! $calendar_path_orig = $calendar_path; ! $calendar_path = BASE.$calendar_path; } $is_webcal = FALSE; --- 71,77 ---- if ($calendar_path == '') { ! $calendar_path = 'calendars'; } + $calendar_path = BASE.$calendar_path; $is_webcal = FALSE; |
From: <cl...@us...> - 2004-09-02 18:49:44
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1507/functions Modified Files: template.php Log Message: Updated README and fixed PHP5 error on print. Index: template.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** template.php 18 Aug 2004 00:10:08 -0000 1.53 --- template.php 2 Sep 2004 18:49:34 -0000 1.54 *************** *** 81,92 **** $event_end = $new_val2['event_end']; if (isset($new_val2['display_end'])) $event_end = $new_val2['display_end']; - $event_start = date ($timeFormat, strtotime ($event_start)); - $event_end = date ($timeFormat, strtotime ($event_end)); - $event_start = $event_start .' - '.$event_end; if (!$new_val2['event_start']) { $event_start = $lang['l_all_day']; $event_start2 = ''; $event_end = ''; ! } } --- 81,93 ---- $event_end = $new_val2['event_end']; if (isset($new_val2['display_end'])) $event_end = $new_val2['display_end']; if (!$new_val2['event_start']) { $event_start = $lang['l_all_day']; $event_start2 = ''; $event_end = ''; ! } else { ! $event_start = date ($timeFormat, strtotime ($event_start)); ! $event_end = date ($timeFormat, strtotime ($event_end)); ! $event_start = $event_start .' - '.$event_end; ! } } |
From: <cl...@us...> - 2004-09-02 18:49:44
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1507 Modified Files: README Log Message: Updated README and fixed PHP5 error on print. Index: README =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/README,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** README 1 Sep 2004 21:33:20 -0000 1.75 --- README 2 Sep 2004 18:49:34 -0000 1.76 *************** *** 93,96 **** --- 93,97 ---- -Fixed stat bug. -PHP5 support added. + -Requires PHP 4.1.0 or greater now. -Various Bug fixes. |
From: <cl...@us...> - 2004-09-02 18:45:23
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv479 Modified Files: preferences.php search.php Log Message: Updated to $_SERVER Index: preferences.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** preferences.php 2 Sep 2004 18:43:33 -0000 1.52 --- preferences.php 2 Sep 2004 18:44:43 -0000 1.53 *************** *** 8,12 **** if ($cookie_uri == '') { ! $cookie_uri = $HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/')); } --- 8,12 ---- if ($cookie_uri == '') { ! $cookie_uri = $_SERVER['SERVER_NAME'].substr($_SERVER['PHP_SELF'],0,strpos($_SERVER['PHP_SELF'], '/')); } Index: search.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/search.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** search.php 2 Sep 2004 18:43:33 -0000 1.33 --- search.php 2 Sep 2004 18:44:43 -0000 1.34 *************** *** 9,14 **** header("Content-Type: text/html; charset=$charset"); ! if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER'] != '') { ! $back_page = $HTTP_SERVER_VARS['HTTP_REFERER']; } else { $back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate; --- 9,14 ---- header("Content-Type: text/html; charset=$charset"); ! if (isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] != '') { ! $back_page = $_SERVER['HTTP_REFERER']; } else { $back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate; |
From: <cl...@us...> - 2004-09-02 18:45:23
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv479/functions Modified Files: init.inc.php Log Message: Updated to $_SERVER Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -d -r1.67 -r1.68 *** init.inc.php 2 Sep 2004 18:43:34 -0000 1.67 --- init.inc.php 2 Sep 2004 18:44:43 -0000 1.68 *************** *** 5,10 **** // Older versions of PHP do not define $_SERVER. Define it here instead. ! if (!isset($_SERVER) && isset($HTTP_SERVER_VARS)) { ! $_SERVER = &$HTTP_SERVER_VARS; } --- 5,10 ---- // Older versions of PHP do not define $_SERVER. Define it here instead. ! if (!isset($_SERVER) && isset($_SERVER)) { ! $_SERVER = &$_SERVER; } *************** *** 30,34 **** // Set the cookie URI. if ($cookie_uri == '') { ! $cookie_uri = $HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/')); } --- 30,34 ---- // Set the cookie URI. if ($cookie_uri == '') { ! $cookie_uri = $_SERVER['SERVER_NAME'].substr($_SERVER['PHP_SELF'],0,strpos($_SERVER['PHP_SELF'], '/')); } *************** *** 132,136 **** if (isset($filename)) { if (($download_uri == '') && (preg_match('/(^\/|\.\.\/)/', $filename) == 0)) { ! $subscribe_path = 'webcal://'.$HTTP_SERVER_VARS['SERVER_NAME'].dirname($HTTP_SERVER_VARS['PHP_SELF']).'/'.$filename; $download_filename = $filename; } elseif ($download_uri != '') { --- 132,136 ---- if (isset($filename)) { if (($download_uri == '') && (preg_match('/(^\/|\.\.\/)/', $filename) == 0)) { ! $subscribe_path = 'webcal://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/'.$filename; $download_filename = $filename; } elseif ($download_uri != '') { |
From: <cl...@us...> - 2004-09-02 18:45:02
|
Update of /cvsroot/phpicalendar/phpicalendar/rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv479/rss Modified Files: index.php rss.php Log Message: Updated to $_SERVER Index: index.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/index.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** index.php 18 Aug 2004 00:14:49 -0000 1.31 --- index.php 2 Sep 2004 18:44:44 -0000 1.32 *************** *** 5,9 **** require_once(BASE.'functions/calendar_functions.php'); ! $default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].':'.$HTTP_SERVER_VARS['SERVER_PORT'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'],'/rss/')); $current_view = "rssindex"; --- 5,9 ---- require_once(BASE.'functions/calendar_functions.php'); ! $default_path = 'http://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].substr($_SERVER['PHP_SELF'],0,strpos($_SERVER['PHP_SELF'],'/rss/')); $current_view = "rssindex"; Index: rss.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** rss.php 2 Sep 2004 18:43:34 -0000 1.19 --- rss.php 2 Sep 2004 18:44:52 -0000 1.20 *************** *** 8,12 **** } ! $default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].':'.$HTTP_SERVER_VARS['SERVER_PORT'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'],'/rss/')); $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); --- 8,12 ---- } ! $default_path = 'http://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].substr($_SERVER['PHP_SELF'],0,strpos($_SERVER['PHP_SELF'],'/rss/')); $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); |
From: <cl...@us...> - 2004-09-02 18:43:44
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32715/functions Modified Files: init.inc.php userauth_functions.php Log Message: Updated to $_GET Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** init.inc.php 2 Sep 2004 18:41:13 -0000 1.66 --- init.inc.php 2 Sep 2004 18:43:34 -0000 1.67 *************** *** 36,40 **** // Grab the action (login or logout). ! if (isset($HTTP_GET_VARS['action'])) $action = $HTTP_GET_VARS['action']; else if (isset($_POST['action'])) $action = $_POST['action']; else $action = ''; --- 36,40 ---- // Grab the action (login or logout). ! if (isset($_GET['action'])) $action = $_GET['action']; else if (isset($_POST['action'])) $action = $_POST['action']; else $action = ''; *************** *** 59,64 **** if (!isset($getdate)) { ! if (isset($HTTP_GET_VARS['getdate']) && ($HTTP_GET_VARS['getdate'] !== '')) { ! $getdate = $HTTP_GET_VARS['getdate']; } else { $getdate = date('Ymd', strtotime("now + $second_offset seconds")); --- 59,64 ---- if (!isset($getdate)) { ! if (isset($_GET['getdate']) && ($_GET['getdate'] !== '')) { ! $getdate = $_GET['getdate']; } else { $getdate = date('Ymd', strtotime("now + $second_offset seconds")); *************** *** 77,82 **** $is_webcal = FALSE; ! if (isset($HTTP_GET_VARS['cal']) && $HTTP_GET_VARS['cal'] != '') { ! $cal_filename = urldecode($HTTP_GET_VARS['cal']); } else { if (isset($default_cal_check)) { --- 77,82 ---- $is_webcal = FALSE; ! if (isset($_GET['cal']) && $_GET['cal'] != '') { ! $cal_filename = urldecode($_GET['cal']); } else { if (isset($default_cal_check)) { *************** *** 116,120 **** array_push($cal_filelist,$filename); } else { ! exit(error($lang['l_error_remotecal'], $HTTP_GET_VARS['cal'])); } } else { --- 116,120 ---- array_push($cal_filelist,$filename); } else { ! exit(error($lang['l_error_remotecal'], $_GET['cal'])); } } else { Index: userauth_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/userauth_functions.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** userauth_functions.php 2 Sep 2004 18:41:13 -0000 1.4 --- userauth_functions.php 2 Sep 2004 18:43:34 -0000 1.5 *************** *** 44,48 **** // indicate that the login is invalid. function user_login() { ! global $_COOKIE, $HTTP_GET_VARS, $_POST, $_SERVER; global $login_cookies, $cookie_uri, $locked_map; --- 44,48 ---- // indicate that the login is invalid. function user_login() { ! global $_COOKIE, $_GET, $_POST, $_SERVER; global $login_cookies, $cookie_uri, $locked_map; *************** *** 84,92 **** // Look for a new username and password. ! if (isset($HTTP_GET_VARS['username']) && ! isset($HTTP_GET_VARS['password'])) { ! $username = $HTTP_GET_VARS['username']; ! $password = $HTTP_GET_VARS['password']; } else if (isset($_POST['username']) && isset($_POST['password'])) --- 84,92 ---- // Look for a new username and password. ! if (isset($_GET['username']) && ! isset($_GET['password'])) { ! $username = $_GET['username']; ! $password = $_GET['password']; } else if (isset($_POST['username']) && isset($_POST['password'])) |
From: <cl...@us...> - 2004-09-02 18:43:44
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32715 Modified Files: admin.php day.php preferences.php print.php search.php Log Message: Updated to $_GET Index: admin.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/admin.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** admin.php 2 Sep 2004 18:41:12 -0000 1.21 --- admin.php 2 Sep 2004 18:43:32 -0000 1.22 *************** *** 14,18 **** // Load variables from forms and query strings into local scope if($_POST) {extract($_POST, EXTR_PREFIX_SAME, "post_");} ! if($HTTP_GET_VARS) {extract($HTTP_GET_VARS, EXTR_PREFIX_SAME, "get_");} if (!isset($action)) $action = ''; --- 14,18 ---- // Load variables from forms and query strings into local scope if($_POST) {extract($_POST, EXTR_PREFIX_SAME, "post_");} ! if($_GET) {extract($_GET, EXTR_PREFIX_SAME, "get_");} if (!isset($action)) $action = ''; Index: day.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/day.php,v retrieving revision 1.120 retrieving revision 1.121 diff -C2 -d -r1.120 -r1.121 *** day.php 1 Sep 2004 21:26:59 -0000 1.120 --- day.php 2 Sep 2004 18:43:32 -0000 1.121 *************** *** 1,5 **** <?php ! if (isset($HTTP_GET_VARS['jumpto_day'])) { ! $jumpto_day_time = strtotime($HTTP_GET_VARS['jumpto_day']); if ($jumpto_day_time == -1) { $getdate = date('Ymd', strtotime("now + $second_offset seconds")); --- 1,5 ---- <?php ! if (isset($_GET['jumpto_day'])) { ! $jumpto_day_time = strtotime($_GET['jumpto_day']); if ($jumpto_day_time == -1) { $getdate = date('Ymd', strtotime("now + $second_offset seconds")); Index: preferences.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** preferences.php 2 Sep 2004 18:41:12 -0000 1.51 --- preferences.php 2 Sep 2004 18:43:33 -0000 1.52 *************** *** 15,20 **** if ($allow_preferences == 'no') header("Location: $back_page"); ! if (isset($HTTP_GET_VARS['action'])) { ! $action = $HTTP_GET_VARS['action']; } else { $action = ''; --- 15,20 ---- if ($allow_preferences == 'no') header("Location: $back_page"); ! if (isset($_GET['action'])) { ! $action = $_GET['action']; } else { $action = ''; Index: print.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/print.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** print.php 1 Sep 2004 21:26:59 -0000 1.31 --- print.php 2 Sep 2004 18:43:33 -0000 1.32 *************** *** 10,14 **** $end_week_time = $start_week_time + (6 * 25 * 60 * 60); $parse_month = date ("Ym", strtotime($getdate)); ! $printview = $HTTP_GET_VARS['printview']; $cal_displayname = str_replace("32", " ", $cal); $events_week = 0; --- 10,14 ---- $end_week_time = $start_week_time + (6 * 25 * 60 * 60); $parse_month = date ("Ym", strtotime($getdate)); ! $printview = $_GET['printview']; $cal_displayname = str_replace("32", " ", $cal); $events_week = 0; Index: search.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/search.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** search.php 12 Aug 2004 20:32:48 -0000 1.32 --- search.php 2 Sep 2004 18:43:33 -0000 1.33 *************** *** 16,21 **** $search_valid = false; ! if (isset($HTTP_GET_VARS['query']) && $HTTP_GET_VARS['query'] != '') { ! $query = $HTTP_GET_VARS['query']; $search_valid = true; } --- 16,21 ---- $search_valid = false; ! if (isset($_GET['query']) && $_GET['query'] != '') { ! $query = $_GET['query']; $search_valid = true; } |
From: <cl...@us...> - 2004-09-02 18:43:44
|
Update of /cvsroot/phpicalendar/phpicalendar/rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32715/rss Modified Files: rss.php Log Message: Updated to $_GET Index: rss.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/rss/rss.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** rss.php 13 Aug 2004 22:51:34 -0000 1.18 --- rss.php 2 Sep 2004 18:43:34 -0000 1.19 *************** *** 14,18 **** $end_week = localizeDate($dateFormat_week, $end_week_time); $parse_month = date ("Ym", strtotime($getdate)); ! $rssview = $HTTP_GET_VARS['rssview']; $cal_displayname = str_replace("32", " ", $cal); $events_week = 0; --- 14,18 ---- $end_week = localizeDate($dateFormat_week, $end_week_time); $parse_month = date ("Ym", strtotime($getdate)); ! $rssview = $_GET['rssview']; $cal_displayname = str_replace("32", " ", $cal); $events_week = 0; |
From: <cl...@us...> - 2004-09-02 18:43:43
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32715/includes Modified Files: login.php todo.php Log Message: Updated to $_GET Index: login.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/login.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** login.php 15 May 2004 02:42:15 -0000 1.9 --- login.php 2 Sep 2004 18:43:34 -0000 1.10 *************** *** 11,19 **** echo '<form style="margin-bottom:0;" action="'.$form_action.'" method="POST">'; echo '<input type="hidden" name="action" value="login">'; ! foreach (array_keys($HTTP_GET_VARS) as $key) { if ($key == 'action' || $key == 'username' || $key == 'password') { continue; } ! echo '<input type="hidden" name="'.$key.'" value="'.$HTTP_GET_VARS[$key].'">'; } --- 11,19 ---- echo '<form style="margin-bottom:0;" action="'.$form_action.'" method="POST">'; echo '<input type="hidden" name="action" value="login">'; ! foreach (array_keys($_GET) as $key) { if ($key == 'action' || $key == 'username' || $key == 'password') { continue; } ! echo '<input type="hidden" name="'.$key.'" value="'.$_GET[$key].'">'; } Index: todo.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/todo.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** todo.php 11 Aug 2004 05:54:51 -0000 1.16 --- todo.php 2 Sep 2004 18:43:34 -0000 1.17 *************** *** 6,10 **** require_once(BASE.'functions/template.php'); ! $vtodo_array = unserialize(base64_decode($HTTP_GET_VARS['vtodo_array'])); // Set the variables from the array --- 6,10 ---- require_once(BASE.'functions/template.php'); ! $vtodo_array = unserialize(base64_decode($_GET['vtodo_array'])); // Set the variables from the array |
From: <cl...@us...> - 2004-09-02 18:41:24
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32070/includes Modified Files: event.php Log Message: Updated to $_POST Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** event.php 23 May 2004 23:37:38 -0000 1.29 --- event.php 2 Sep 2004 18:41:13 -0000 1.30 *************** *** 10,24 **** } ! $event = (isset($HTTP_POST_VARS['event'])) ? decode_popup($HTTP_POST_VARS['event']) : (''); ! $description = (isset($HTTP_POST_VARS['description'])) ? decode_popup($HTTP_POST_VARS['description']) : (''); ! $cal = (isset($HTTP_POST_VARS['cal'])) ? decode_popup($HTTP_POST_VARS['cal']) : (''); ! $start = (isset($HTTP_POST_VARS['start'])) ? decode_popup($HTTP_POST_VARS['start']) : (''); ! $end = (isset($HTTP_POST_VARS['end'])) ? decode_popup($HTTP_POST_VARS['end']) : (''); ! $status = (isset($HTTP_POST_VARS['status'])) ? decode_popup($HTTP_POST_VARS['status']) : (''); ! $location = (isset($HTTP_POST_VARS['location'])) ? decode_popup($HTTP_POST_VARS['location']) : (''); ! $url = (isset($HTTP_POST_VARS['url'])) ? decode_popup($HTTP_POST_VARS['url']) : (''); ! $organizer = (isset($HTTP_POST_VARS['organizer'])) ? ($HTTP_POST_VARS['organizer']) : (''); $organizer = unserialize (decode_popup ($organizer)); ! $attendee = (isset($HTTP_POST_VARS['attendee'])) ? ($HTTP_POST_VARS['attendee']) : (''); $attendee = unserialize (decode_popup ($attendee)); $cal_title_full = $cal.' '.$calendar_lang; --- 10,24 ---- } ! $event = (isset($_POST['event'])) ? decode_popup($_POST['event']) : (''); ! $description = (isset($_POST['description'])) ? decode_popup($_POST['description']) : (''); ! $cal = (isset($_POST['cal'])) ? decode_popup($_POST['cal']) : (''); ! $start = (isset($_POST['start'])) ? decode_popup($_POST['start']) : (''); ! $end = (isset($_POST['end'])) ? decode_popup($_POST['end']) : (''); ! $status = (isset($_POST['status'])) ? decode_popup($_POST['status']) : (''); ! $location = (isset($_POST['location'])) ? decode_popup($_POST['location']) : (''); ! $url = (isset($_POST['url'])) ? decode_popup($_POST['url']) : (''); ! $organizer = (isset($_POST['organizer'])) ? ($_POST['organizer']) : (''); $organizer = unserialize (decode_popup ($organizer)); ! $attendee = (isset($_POST['attendee'])) ? ($_POST['attendee']) : (''); $attendee = unserialize (decode_popup ($attendee)); $cal_title_full = $cal.' '.$calendar_lang; |
From: <cl...@us...> - 2004-09-02 18:41:23
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32070/functions Modified Files: init.inc.php userauth_functions.php Log Message: Updated to $_POST Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** init.inc.php 2 Sep 2004 18:39:52 -0000 1.65 --- init.inc.php 2 Sep 2004 18:41:13 -0000 1.66 *************** *** 37,41 **** // Grab the action (login or logout). if (isset($HTTP_GET_VARS['action'])) $action = $HTTP_GET_VARS['action']; ! else if (isset($HTTP_POST_VARS['action'])) $action = $HTTP_POST_VARS['action']; else $action = ''; --- 37,41 ---- // Grab the action (login or logout). if (isset($HTTP_GET_VARS['action'])) $action = $HTTP_GET_VARS['action']; ! else if (isset($_POST['action'])) $action = $_POST['action']; else $action = ''; Index: userauth_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/userauth_functions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** userauth_functions.php 2 Sep 2004 18:39:52 -0000 1.3 --- userauth_functions.php 2 Sep 2004 18:41:13 -0000 1.4 *************** *** 44,48 **** // indicate that the login is invalid. function user_login() { ! global $_COOKIE, $HTTP_GET_VARS, $HTTP_POST_VARS, $_SERVER; global $login_cookies, $cookie_uri, $locked_map; --- 44,48 ---- // indicate that the login is invalid. function user_login() { ! global $_COOKIE, $HTTP_GET_VARS, $_POST, $_SERVER; global $login_cookies, $cookie_uri, $locked_map; *************** *** 89,97 **** $username = $HTTP_GET_VARS['username']; $password = $HTTP_GET_VARS['password']; ! } else if (isset($HTTP_POST_VARS['username']) && ! isset($HTTP_POST_VARS['password'])) { ! $username = $HTTP_POST_VARS['username']; ! $password = $HTTP_POST_VARS['password']; } --- 89,97 ---- $username = $HTTP_GET_VARS['username']; $password = $HTTP_GET_VARS['password']; ! } else if (isset($_POST['username']) && ! isset($_POST['password'])) { ! $username = $_POST['username']; ! $password = $_POST['password']; } |
From: <cl...@us...> - 2004-09-02 18:41:23
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32070 Modified Files: admin.php preferences.php Log Message: Updated to $_POST Index: admin.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/admin.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** admin.php 18 Aug 2004 04:06:31 -0000 1.20 --- admin.php 2 Sep 2004 18:41:12 -0000 1.21 *************** *** 13,17 **** // Load variables from forms and query strings into local scope ! if($HTTP_POST_VARS) {extract($HTTP_POST_VARS, EXTR_PREFIX_SAME, "post_");} if($HTTP_GET_VARS) {extract($HTTP_GET_VARS, EXTR_PREFIX_SAME, "get_");} --- 13,17 ---- // Load variables from forms and query strings into local scope ! if($_POST) {extract($_POST, EXTR_PREFIX_SAME, "post_");} if($HTTP_GET_VARS) {extract($HTTP_GET_VARS, EXTR_PREFIX_SAME, "get_");} Index: preferences.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** preferences.php 2 Sep 2004 18:39:51 -0000 1.50 --- preferences.php 2 Sep 2004 18:41:12 -0000 1.51 *************** *** 24,34 **** if ($action == 'setcookie') { ! $cookie_language = $HTTP_POST_VARS['cookie_language']; ! $cookie_calendar = $HTTP_POST_VARS['cookie_calendar']; ! $cookie_view = $HTTP_POST_VARS['cookie_view']; ! $cookie_style = $HTTP_POST_VARS['cookie_style']; ! $cookie_startday = $HTTP_POST_VARS['cookie_startday']; ! $cookie_time = $HTTP_POST_VARS['cookie_time']; ! $cookie_unset = $HTTP_POST_VARS['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"); $the_cookie = serialize($the_cookie); --- 24,34 ---- if ($action == 'setcookie') { ! $cookie_language = $_POST['cookie_language']; ! $cookie_calendar = $_POST['cookie_calendar']; ! $cookie_view = $_POST['cookie_view']; ! $cookie_style = $_POST['cookie_style']; ! $cookie_startday = $_POST['cookie_startday']; ! $cookie_time = $_POST['cookie_time']; ! $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"); $the_cookie = serialize($the_cookie); |
From: <cl...@us...> - 2004-09-02 18:40:01
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31747/functions Modified Files: init.inc.php userauth_functions.php Log Message: Updated to $_COOKIE Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** init.inc.php 16 Aug 2004 18:33:46 -0000 1.64 --- init.inc.php 2 Sep 2004 18:39:52 -0000 1.65 *************** *** 18,23 **** include_once(BASE.'functions/calendar_functions.php'); include_once(BASE.'functions/userauth_functions.php'); ! if (isset($HTTP_COOKIE_VARS['phpicalendar'])) { ! $phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar'])); if (isset($phpicalendar['cookie_language'])) $language = $phpicalendar['cookie_language']; if (isset($phpicalendar['cookie_calendar'])) $default_cal_check = $phpicalendar['cookie_calendar']; --- 18,23 ---- include_once(BASE.'functions/calendar_functions.php'); include_once(BASE.'functions/userauth_functions.php'); ! if (isset($_COOKIE['phpicalendar'])) { ! $phpicalendar = unserialize(stripslashes($_COOKIE['phpicalendar'])); if (isset($phpicalendar['cookie_language'])) $language = $phpicalendar['cookie_language']; if (isset($phpicalendar['cookie_calendar'])) $default_cal_check = $phpicalendar['cookie_calendar']; Index: userauth_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/userauth_functions.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** userauth_functions.php 22 Jul 2004 02:25:42 -0000 1.2 --- userauth_functions.php 2 Sep 2004 18:39:52 -0000 1.3 *************** *** 44,48 **** // indicate that the login is invalid. function user_login() { ! global $HTTP_COOKIE_VARS, $HTTP_GET_VARS, $HTTP_POST_VARS, $_SERVER; global $login_cookies, $cookie_uri, $locked_map; --- 44,48 ---- // indicate that the login is invalid. function user_login() { ! global $_COOKIE, $HTTP_GET_VARS, $HTTP_POST_VARS, $_SERVER; global $login_cookies, $cookie_uri, $locked_map; *************** *** 58,64 **** // Look for a login cookie. if ($login_cookies == 'yes' && ! isset($HTTP_COOKIE_VARS['phpicalendar_login'])) { ! $login_cookie = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar_login'])); if (isset($login_cookie['username']) && isset($login_cookie['password'])) --- 58,64 ---- // Look for a login cookie. if ($login_cookies == 'yes' && ! isset($_COOKIE['phpicalendar_login'])) { ! $login_cookie = unserialize(stripslashes($_COOKIE['phpicalendar_login'])); if (isset($login_cookie['username']) && isset($login_cookie['password'])) |
From: <cl...@us...> - 2004-09-02 18:40:00
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31747 Modified Files: index.php preferences.php Log Message: Updated to $_COOKIE Index: index.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/index.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.php 13 May 2004 18:38:14 -0000 1.7 --- index.php 2 Sep 2004 18:39:51 -0000 1.8 *************** *** 3,8 **** if (!isset($ALL_CALENDARS_COMBINED)) $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; include "./config.inc.php"; ! if (isset($HTTP_COOKIE_VARS['phpicalendar'])) { ! $phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar'])); $default_view = $phpicalendar['cookie_view']; } --- 3,8 ---- if (!isset($ALL_CALENDARS_COMBINED)) $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; include "./config.inc.php"; ! if (isset($_COOKIE['phpicalendar'])) { ! $phpicalendar = unserialize(stripslashes($_COOKIE['phpicalendar'])); $default_view = $phpicalendar['cookie_view']; } Index: preferences.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** preferences.php 18 Aug 2004 00:14:48 -0000 1.49 --- preferences.php 2 Sep 2004 18:39:51 -0000 1.50 *************** *** 38,46 **** setcookie("phpicalendar","$the_cookie",time()+(60*60*24*7*12*10) ,"/","$cookie_uri",0); } ! $HTTP_COOKIE_VARS['phpicalendar'] = $the_cookie; } ! if (isset($HTTP_COOKIE_VARS['phpicalendar'])) { ! $phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar'])); $cookie_language = $phpicalendar['cookie_language']; $cookie_calendar = $phpicalendar['cookie_calendar']; --- 38,46 ---- setcookie("phpicalendar","$the_cookie",time()+(60*60*24*7*12*10) ,"/","$cookie_uri",0); } ! $_COOKIE['phpicalendar'] = $the_cookie; } ! if (isset($_COOKIE['phpicalendar'])) { ! $phpicalendar = unserialize(stripslashes($_COOKIE['phpicalendar'])); $cookie_language = $phpicalendar['cookie_language']; $cookie_calendar = $phpicalendar['cookie_calendar']; *************** *** 54,58 **** } ! if ((!isset($HTTP_COOKIE_VARS['phpicalendar'])) || ($cookie_unset)) { # No cookie set -> use defaults from config file. $cookie_language = ucfirst($language); --- 54,58 ---- } ! if ((!isset($_COOKIE['phpicalendar'])) || ($cookie_unset)) { # No cookie set -> use defaults from config file. $cookie_language = ucfirst($language); |