eliminated multiple <font>&nbsp;</font> when showing event list in home

This commit is contained in:
alpeb 2004-05-14 15:38:15 +00:00
parent c69ae06549
commit 17811d977d

View File

@ -3559,11 +3559,19 @@
$rowspan--;
}
elseif (!isset($rows[$slot]))
{
if((int)($GLOBALS['phpgw_info']['user']['preferences']['calendar']['mainscreen_showevents'])==2 &&
$GLOBALS['phpgw_info']['flags']['currentapp'] == 'home')
{
$p->set_var('event', '');
}
else
{
$p->set_var('event','&nbsp;');
$row_to_print = $this->nm_on_off();
$p->parse('event','day_event'.$row_to_print);
}
}
else
{
$rowspan = (int)$row_span[$slot];