|
@@ 1680-1681 (lines=2) @@
|
| 1677 |
|
|
| 1678 |
|
if (($no_status = !$this->bo->check_status_perms($uid,$event)) || $view) |
| 1679 |
|
$readonlys['participants'][$row]['status'] = $no_status; |
| 1680 |
|
if ($preserv['hide_delete'] || !$this->bo->check_perms(Acl::EDIT,$event)) |
| 1681 |
|
$readonlys['participants']['delete'][$uid] = true; |
| 1682 |
|
// todo: make the participants available as links with email as title |
| 1683 |
|
$content['participants'][$row++]['title'] = $this->get_title($uid); |
| 1684 |
|
// enumerate group-invitations, so people can accept/reject them |
|
@@ 1820-1823 (lines=4) @@
|
| 1817 |
|
} |
| 1818 |
|
$readonlys['button[delete]'] = !$event['id'] || $preserved['hide_delete'] || !$this->bo->check_perms(Acl::DELETE,$event); |
| 1819 |
|
|
| 1820 |
|
if (!$event['id'] || $this->bo->check_perms(Acl::EDIT,$event)) // new event or edit rights to the event ==> allow to add alarm for all users |
| 1821 |
|
{ |
| 1822 |
|
$sel_options['owner'][0] = lang('All participants'); |
| 1823 |
|
} |
| 1824 |
|
if (isset($event['participant_types']['u'][$this->user])) |
| 1825 |
|
{ |
| 1826 |
|
$sel_options['owner'][$this->user] = $this->bo->participant_name($this->user); |