diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-03-20 01:08:29 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-03-20 01:08:29 +0000 |
commit | edfac56f9d97c1754bb05c60bbc723fee7839fc8 (patch) | |
tree | 18719e21fbb15d4678422c49efe3af1a61080848 /functions/ical_parser.php | |
parent | c35649f1127a646c662a21a069c2031f24a772bd (diff) | |
download | phpicalendar-edfac56f9d97c1754bb05c60bbc723fee7839fc8.tar.gz phpicalendar-edfac56f9d97c1754bb05c60bbc723fee7839fc8.tar.bz2 phpicalendar-edfac56f9d97c1754bb05c60bbc723fee7839fc8.zip |
Display real calendar names where possible
Diffstat (limited to 'functions/ical_parser.php')
-rw-r--r-- | functions/ical_parser.php | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index e8c5898..e24b953 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -1130,6 +1130,14 @@ if ($parse_file) { } } + +// Set a calender name for all calenders combined +if ($cal == $ALL_CALENDARS_COMBINED) { + $calendar_name = $all_cal_comb_lang; +} +$cal_displayname = implode(', ', $cal_displaynames); #reset this with the correct names +$template_started = getmicrotime(); + //If you want to see the values in the arrays, uncomment below. //print '<pre>'; @@ -1138,13 +1146,7 @@ if ($parse_file) { //print_r($day_array); //print_r($rrule_array); //print_r($recurrence_delete); +//print_r($cal_displaynames); +//print_r($cal_filelist); //print '</pre>'; - -// Set a calender name for all calenders combined -if ($cal == $ALL_CALENDARS_COMBINED) { - $calendar_name = $all_cal_comb_lang; -} -$cal_displayname = implode(', ', $cal_displaynames); #reset this with the correct names -$template_started = getmicrotime(); - ?> |