reenabled participants

This commit is contained in:
Lars Kneschke 2006-06-29 05:24:17 +00:00
parent bea4cfa8df
commit 617d44e0a7

View File

@ -163,7 +163,7 @@
$mailto = $GLOBALS['egw']->accounts->id2name($uid,'account_email'); $mailto = $GLOBALS['egw']->accounts->id2name($uid,'account_email');
$cn = trim($GLOBALS['egw']->accounts->id2name($uid,'account_firstname'). ' ' . $cn = trim($GLOBALS['egw']->accounts->id2name($uid,'account_firstname'). ' ' .
$GLOBALS['egw']->accounts->id2name($uid,'account_lastname')); $GLOBALS['egw']->accounts->id2name($uid,'account_lastname'));
$attributes['ATTENDEE'][] = $mailto ? 'MAILTO:'.$mailto : ''; $attributes['ATTENDEE'][] = $mailto ? 'MAILTO:'. $cn .'<'. $mailto .'>' : '';
// ROLE={CHAIR|REQ-PARTICIPANT|OPT-PARTICIPANT|NON-PARTICIPANT} NOT used by eGW atm. // ROLE={CHAIR|REQ-PARTICIPANT|OPT-PARTICIPANT|NON-PARTICIPANT} NOT used by eGW atm.
$role = $uid == $event['owner'] ? 'CHAIR' : 'REQ-PARTICIPANT'; $role = $uid == $event['owner'] ? 'CHAIR' : 'REQ-PARTICIPANT';
// RSVP={TRUE|FALSE} // resonse expected, not set in eGW => status=U // RSVP={TRUE|FALSE} // resonse expected, not set in eGW => status=U
@ -686,9 +686,8 @@
switch(strtolower($_productName)) switch(strtolower($_productName))
{ {
default: default:
# participants disabled until working correctly $this->supportedFields = $defaultFields + array('participants' => 'participants');
#$this->supportedFields = $defaultFields + array('participants' => 'participants'); #$this->supportedFields = $defaultFields;
$this->supportedFields = $defaultFields;
break; break;
} }
break; break;