From fa0886f6aad7b6f4a0b384ecfe7bf4add31fc78f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 20 Jul 2004 13:34:03 +0000 Subject: [PATCH] showing participant names for privat entries --- calendar/inc/class.uicalendar.inc.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index dc8b485e4d..e5cceb3b11 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -1915,20 +1915,12 @@ if (!$is_private) { $opt .= $this->event_tooltip($event,True); - } - else - { - $opt .= ' title="'.lang('You do not have permission to read this record!').'"'; - } - - if (!$is_private) - { $opt .= ' onClick="location=\''.$view.'\'"'; $cel = ''; } else { - $opt .= ''; + $opt .= ' title="'.lang('You do not have permission to read this record!').'"'; $cel = ''; } $opt .= ' class="planner-cell"'; @@ -1941,7 +1933,8 @@ { $cel .= $this->html->image('calendar','recur.gif','','border="0"'); } - $cel .= $this->html->image('calendar',count($event['participants'])>1?'multi_3.gif':'single.gif','','border="0"'); + $cel .= $this->html->image('calendar',count($event['participants'])>1?'multi_3.gif':'single.gif', + $is_private?$this->planner_participants($event['participants']):'','border="0"'); $cel .= ''; if (isset($event['print_title']) && $event['print_title'] == 'yes')