mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
feature to filter for only public events (no events tacked as private)
This commit is contained in:
parent
f47cced6ed
commit
09ea5fe114
@ -404,6 +404,8 @@ class calendar_so
|
||||
}
|
||||
switch($filter)
|
||||
{
|
||||
case 'showonlypublic':
|
||||
$where[] = "cal_public=1"; break;
|
||||
case 'deleted':
|
||||
$where[] = 'cal_deleted='.$this->db->quote(true,'bool');
|
||||
case 'unknown':
|
||||
|
@ -696,6 +696,7 @@ class calendar_ui
|
||||
'owner' => array(lang('Owner too'),lang('Show also events just owned by selected user')),
|
||||
'all' => array(lang('All incl. rejected'),lang('Show all status incl. rejected events')),
|
||||
'hideprivate' => array(lang('Hide private infos'),lang('Show all events, as if they were private')),
|
||||
'showonlypublic' => array(lang('Hide private events'),lang('Show only events flagged as public, (not checked as private)')),
|
||||
'no-enum-groups' => array(lang('only group-events'),lang('Do not include events of group members')),
|
||||
) as $value => $label)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user