From: <cl...@us...> - 2003-11-13 06:02:51
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv3320/functions Modified Files: ical_parser.php list_icals.php Log Message: Moved select to list icals, changed ical_parser back to previous. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.113 retrieving revision 1.114 diff -C2 -d -r1.113 -r1.114 *** ical_parser.php 5 Nov 2003 06:07:20 -0000 1.113 --- ical_parser.php 13 Nov 2003 06:02:47 -0000 1.114 *************** *** 396,400 **** // if $until isn't set yet, we set it to the end of our range we're looking at // The FREQ switch array will always kick our early, so lets try this workaround. ! if (isset($until)) $until = strtotime('+'.$interval.' '.$freq_type, $until);; if (!isset($until)) $until = $end_range_time; --- 396,400 ---- // if $until isn't set yet, we set it to the end of our range we're looking at // The FREQ switch array will always kick our early, so lets try this workaround. ! // if (isset($until)) $until = strtotime('+'.$interval.' '.$freq_type, $until);; if (!isset($until)) $until = $end_range_time; Index: list_icals.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/list_icals.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** list_icals.php 20 Sep 2003 19:13:13 -0000 1.17 --- list_icals.php 13 Nov 2003 06:02:47 -0000 1.18 *************** *** 8,11 **** --- 8,14 ---- $query=""; } + echo "<select name=\"action\" class=\"query_style\" onChange=\"window.location=(this.options[this.selectedIndex].value+'"; + if (isset($query)) echo $query; + echo "');\">"; // open file $dir_handle = @opendir($calendar_path) or die(error(sprintf($error_path_lang, $calendar_path), $cal_filename)); |