mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Add 'selected' day table for daily schedules
This commit is contained in:
parent
9a3ef9f726
commit
ddd13e8620
@ -39,6 +39,7 @@ class calendar_merge extends bo_merge
|
||||
'today',
|
||||
'tomorrow',
|
||||
'yesterday',
|
||||
'selected',
|
||||
);
|
||||
|
||||
/**
|
||||
@ -337,6 +338,10 @@ class calendar_merge extends bo_merge
|
||||
$date = $this->bo->date2ts($date);
|
||||
if(is_array($id) && $id['start'] && ($date < $id['start'] || $date > $id['end'])) return array();
|
||||
}
|
||||
elseif ($plugin == 'selected')
|
||||
{
|
||||
$date = $id['start'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$date = strtotime($plugin);
|
||||
|
Loading…
Reference in New Issue
Block a user