mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
feature to allow filter for public events only
This commit is contained in:
parent
e016d9ed16
commit
fbfdb38852
@ -400,6 +400,9 @@ class calendar_so
|
||||
|
||||
switch($filter)
|
||||
{
|
||||
case 'showonlypublic':
|
||||
$where[] = "cal_public=1";
|
||||
$where[] = "cal_status != 'R'"; break;
|
||||
case 'unknown':
|
||||
$where[] = "cal_status='U'"; break;
|
||||
case 'accepted':
|
||||
|
@ -691,6 +691,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