mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
day view inside calendar was broken, because of changes for the new home view
This commit is contained in:
parent
c77cc462e6
commit
2979b60394
@ -3356,14 +3356,16 @@
|
|||||||
$p = CreateObject('phpgwapi.Template',$this->template_dir);
|
$p = CreateObject('phpgwapi.Template',$this->template_dir);
|
||||||
$p->set_unknowns('keep');
|
$p->set_unknowns('keep');
|
||||||
|
|
||||||
$tpl = 'day_cal.tpl';
|
$tpl = 'day_cal.tpl';
|
||||||
if(intval($GLOBALS['phpgw_info']['user']['preferences']['calendar']['mainscreen_showevents'])==2)
|
if(intval($GLOBALS['phpgw_info']['user']['preferences']['calendar']['mainscreen_showevents'])==2 &&
|
||||||
{
|
$GLOBALS[phpgw_info][flags][currentapp] == 'home')
|
||||||
$tpl = 'day_list.tpl';
|
{
|
||||||
}
|
$tpl = 'day_list.tpl';
|
||||||
$templates = Array(
|
}
|
||||||
'day_cal' => $tpl
|
$templates = Array(
|
||||||
);
|
'day_cal' => $tpl
|
||||||
|
);
|
||||||
|
|
||||||
$p->set_file($templates);
|
$p->set_file($templates);
|
||||||
$p->set_block('day_cal','day','day');
|
$p->set_block('day_cal','day','day');
|
||||||
$p->set_block('day_cal','day_row','day_row');
|
$p->set_block('day_cal','day_row','day_row');
|
||||||
|
Loading…
Reference in New Issue
Block a user