workaround to display all open tasks in calendar dayview

This commit is contained in:
Cornelius Weiß 2006-06-27 16:43:06 +00:00
parent 2bf64c906d
commit b849696eb2

View File

@ -710,11 +710,13 @@
{ {
$time = (int) adodb_date('Hi',$info['info_startdate']); $time = (int) adodb_date('Hi',$info['info_startdate']);
$date = adodb_date('Y/m/d',$info['info_startdate']); $date = adodb_date('Y/m/d',$info['info_startdate']);
/* As event-like infologs are not showen in current calendar,
we need to present all open infologs to the user! (2006-06-27 nelius)
if ($do_events && !$time || if ($do_events && !$time ||
!$do_events && $time && $date == $date_wanted) !$do_events && $time && $date == $date_wanted)
{ {
continue; continue;
} }*/
$title = ($do_events?$GLOBALS['egw']->common->formattime(adodb_date('H',$info['info_startdate']),adodb_date('i',$info['info_startdate'])).' ':''). $title = ($do_events?$GLOBALS['egw']->common->formattime(adodb_date('H',$info['info_startdate']),adodb_date('i',$info['info_startdate'])).' ':'').
$info['info_subject']; $info['info_subject'];
$view = $this->link->view('infolog',$info['info_id']); $view = $this->link->view('infolog',$info['info_id']);