Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1:/tmp/cvs-serv26503
Modified Files:
preferences.php
Log Message:
1.36 was an old version, committed by mistake. 1.35 is good.
Index: preferences.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** preferences.php 24 Nov 2003 03:15:57 -0000 1.36
--- preferences.php 24 Nov 2003 03:35:51 -0000 1.37
***************
*** 3,6 ****
--- 3,7 ----
define('BASE','./');
include(BASE.'functions/ical_parser.php');
+ include(BASE.'functions/calendar_functions.php');
$display_date = $preferences_lang;
***************
*** 158,169 ****
//
print "<select name=\"cookie_calendar\" class=\"query_style\">\n";
! $dir_handle = @opendir($calendar_path) or die(error(sprintf($error_path_lang, $calendar_path), $cal_filename));
! $filelist = array();
! while ($file = readdir($dir_handle)) {
! if (preg_match("/^[^.].+\.ics$/", $file)) {
! array_push($filelist, $file);
! }
! }
! natcasesort($filelist);
foreach ($filelist as $file) {
$cal_filename_tmp = substr($file,0,-4);
--- 159,163 ----
//
print "<select name=\"cookie_calendar\" class=\"query_style\">\n";
! $filelist = availableCalendarNames($username, $password, $ALL_CALENDARS_COMBINED);
foreach ($filelist as $file) {
$cal_filename_tmp = substr($file,0,-4);
|