From: <lkn...@us...> - 2006-06-29 07:23:03
|
Author: lkneschke Date: Thu Jun 29 07:25:22 2006 New Revision: 21985 URL: http://egroupware.org/viewvc?rev=3D21985&view=3Drev Log: reenabled participants Modified: trunk/calendar/inc/class.boical.inc.php Modified: trunk/calendar/inc/class.boical.inc.php URL: http://egroupware.org/viewvc/trunk/calendar/inc/class.boical.inc.php?r= ev=3D21985&r1=3D21984&r2=3D21985&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/calendar/inc/class.boical.inc.php (original) +++ trunk/calendar/inc/class.boical.inc.php Thu Jun 29 07:25:22 2006 @@ -163,7 +163,7 @@ $mailto =3D $GLOBALS['egw']->accounts->id2name($uid,'account_emai= l'); $cn =3D trim($GLOBALS['egw']->accounts->id2name($uid,'account_fir= stname'). ' ' . $GLOBALS['egw']->accounts->id2name($uid,'account_lastname')); - $attributes['ATTENDEE'][] =3D $mailto ? 'MAILTO:'.$mailto : ''; + $attributes['ATTENDEE'][] =3D $mailto ? 'MAILTO:'. $cn .'<'. $mai= lto .'>' : ''; // ROLE=3D{CHAIR|REQ-PARTICIPANT|OPT-PARTICIPANT|NON-PARTICIPANT}= NOT used by eGW atm. $role =3D $uid =3D=3D $event['owner'] ? 'CHAIR' : 'REQ-PARTICIPAN= T'; // RSVP=3D{TRUE|FALSE} // resonse expected, not set in eGW =3D> s= tatus=3DU @@ -686,9 +686,8 @@ switch(strtolower($_productName)) { default: - # participants disabled until working correctly - #$this->supportedFields =3D $defaultFields + array('participants' = =3D> 'participants'); - $this->supportedFields =3D $defaultFields; + $this->supportedFields =3D $defaultFields + array('participants' = =3D> 'participants'); + #$this->supportedFields =3D $defaultFields; break; } break; |