diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-03-11 23:02:07 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-03-11 23:02:07 +0000 |
commit | 7909beaca380b1f2f3e9ec01d01157a2920c4f04 (patch) | |
tree | 4ffca54f8c279f236d6c1545eb3f4805641c1d3d | |
parent | ac1b58f573dbf1ee088528f1e232ca6e04cfa76a (diff) | |
download | phpicalendar-7909beaca380b1f2f3e9ec01d01157a2920c4f04.tar.gz phpicalendar-7909beaca380b1f2f3e9ec01d01157a2920c4f04.tar.bz2 phpicalendar-7909beaca380b1f2f3e9ec01d01157a2920c4f04.zip |
Started LOCATION support, changed version to 0.9.2.
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | functions/ical_parser.php | 11 | ||||
-rw-r--r-- | includes/footer.inc.php | 2 |
3 files changed, 12 insertions, 6 deletions
@@ -74,17 +74,20 @@ Changes: -------- 0.9.2 -Fixed an extra .php on the preferences page. - -Increased validations on many pages.y + -Increased validations on many pages. -Added support for CLASS (public, private, and confidential). -Added support for LOCATION -Added support for ATTENDEE + -Added support for STATUS 0.9.1 -Added unset preferences -Cookies now fall back to defaults if data is bad. -Fixed a bug with the latest version of Ximian. -Added the ability to hard-set cookie-uri and download-uri. + -Added Catalan and Tranditional Chinese languages. -Back button on preferences page now works. + -Allow_Preferences option now works. 0.9 -Added complete VTODO support. diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 29ffb5d..8b340a0 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -892,16 +892,19 @@ if ($parse_file) { break; // Attendee support only testing in Apple iCal 1.0.2 case 'ATTENDEE': - $field = ereg_replace("ATTENDEE;CN=", "", $field); - $data = ereg_replace ("mailto:", "", $data); + $field = ereg_replace("ATTENDEE;CN=", "", $field); + $data = ereg_replace ("mailto:", "", $data); $attendee[] = array ('name' => $field, 'email' => $data); #print_r($attendee); break; case 'ORGANIZER': - $field = ereg_replace("ORGANIZER;CN=", "", $field); - $data = ereg_replace ("mailto:", "", $data); + $field = ereg_replace("ORGANIZER;CN=", "", $field); + $data = ereg_replace ("mailto:", "", $data); $organizer[] = array ('name' => $field, 'email' => $data); break; + case 'LOCATION': + $data = $location; + break; } } } diff --git a/includes/footer.inc.php b/includes/footer.inc.php index c8c810e..c86f1b9 100644 --- a/includes/footer.inc.php +++ b/includes/footer.inc.php @@ -1,6 +1,6 @@ <?php -echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9.1</a>"; +echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9.2</a>"; if ($enable_rss == 'yes') { echo "<br>\n"; if ($current_view == 'rssindex') { |