- fixed acidently set owner by new events (multiple owners were reset to one, if you clicked inside a day-, week- or month-view)

- added an icon to easier identiy non-blocking events
This commit is contained in:
Ralf Becker 2006-03-16 18:17:18 +00:00
parent 2689dd7185
commit 80ff705199

View File

@ -267,6 +267,12 @@ class uical
}
$set_states['owner'] = implode(',',$owners);
}
// for the uiforms class (eg. edit), dont store the (new) owner, as it might change the view
if (substr($_GET['menuaction'],0,16) == 'calendar.uiforms')
{
$this->owner = $set_states[$state];
continue;
}
$states[$state] = $set_states[$state];
}
elseif (!is_array($states) || !isset($states[$state]))
@ -372,6 +378,10 @@ class uical
}
}
}
if($event['non_blocking'])
{
$icons[] = $this->html->image('calendar','nonblocking',lang('non blocking'));
}
if($event['public'] == 0)
{
$icons[] = $this->html->image('calendar','private',lang('private'));