From: <cl...@us...> - 2003-03-10 05:37:50
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv10589/functions Modified Files: ical_parser.php Log Message: Support for private and confidential CLASS. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** ical_parser.php 16 Feb 2003 20:36:20 -0000 1.84 --- ical_parser.php 10 Mar 2003 05:37:46 -0000 1.85 *************** *** 108,111 **** --- 108,121 ---- } elseif ($line == 'END:VEVENT') { + + // CLASS support + if ($class == 'PRIVATE') { + $summary ='**PRIVATE**'; + $description ='**PRIVATE**'; + } elseif ($class == 'CONFIDENTIAL') { + $summary ='**CONFIDENTIAL**'; + $description ='**CONFIDENTIAL**'; + } + // make sure we have some value for $uid if (!isset($uid)) { |