mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +01:00
Add calendar day view navigator for multiple selected users view
This commit is contained in:
parent
ba6e9129e7
commit
3f6f7ff539
@ -985,6 +985,19 @@ class calendar_uiviews extends calendar_ui
|
|||||||
|
|
||||||
$cols[0] =& $this->timeGridWidget($this->tagWholeDayOnTop($dayEvents),$this->cal_prefs['interval'],450,'','',$owner);
|
$cols[0] =& $this->timeGridWidget($this->tagWholeDayOnTop($dayEvents),$this->cal_prefs['interval'],450,'','',$owner);
|
||||||
|
|
||||||
|
if (count($users) > 1)
|
||||||
|
{
|
||||||
|
$navHeader = '<div class="calendar_calWeek calendar_calWeekNavHeader">'
|
||||||
|
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
||||||
|
'menuaction' => $this->view_menuaction,
|
||||||
|
'date' => date('Ymd',$this->first-1),
|
||||||
|
)). '  '.$this->bo->long_date($this->first,0,false,true);
|
||||||
|
|
||||||
|
$navHeader = $navHeader.'  '.html::a_href(html::image('phpgwapi','right',lang('next'),$options=' alt=">>"'),array(
|
||||||
|
'menuaction' => $this->view_menuaction,
|
||||||
|
'date' => date('Ymd',$this->last+1),
|
||||||
|
)).'</div>';
|
||||||
|
}
|
||||||
|
|
||||||
// only show todo's for a single user
|
// only show todo's for a single user
|
||||||
if (count($users) == 1 && ($todos = $this->get_todos($todo_label)) !== false)
|
if (count($users) == 1 && ($todos = $this->get_todos($todo_label)) !== false)
|
||||||
@ -1010,6 +1023,7 @@ class calendar_uiviews extends calendar_ui
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
$cols[0] = $navHeader . $cols[0];
|
||||||
echo $cols[0];
|
echo $cols[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user