From: <ji...@us...> - 2006-04-10 02:22:39
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12420/functions Modified Files: ical_parser.php Log Message: get real calendar names if save parsed cals set Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.210 retrieving revision 1.211 diff -C2 -d -r1.210 -r1.211 *** ical_parser.php 10 Apr 2006 00:43:44 -0000 1.210 --- ical_parser.php 10 Apr 2006 02:22:32 -0000 1.211 *************** *** 59,62 **** --- 59,66 ---- $z++; } + foreach ($master_array['-3'] as $temp_array) { + if (isset($temp_array) && $temp_array !='') $caldisplaynames[] = $temp_array; + } + if ($y == sizeof($cal_filelist)) { if ($master_array['-1'] == 'valid cal file') { *************** *** 1201,1205 **** $calendar_name = $all_cal_comb_lang; } ! $cal_displayname = implode(', ', $cal_displaynames); #reset this with the correct names $template_started = getmicrotime(); --- 1205,1209 ---- $calendar_name = $all_cal_comb_lang; } ! $cal_displayname = urldecode(implode(', ', $cal_displaynames)); #reset this with the correct names $template_started = getmicrotime(); |