mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +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
@ -3357,13 +3357,15 @@
|
|||||||
$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(
|
$templates = Array(
|
||||||
'day_cal' => $tpl
|
'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