change to reflect change in name of etemplate var

This commit is contained in:
Ralf Becker 2005-02-05 10:23:19 +00:00
parent 0274dd12be
commit aeae312bc9

View File

@ -22,20 +22,20 @@
$GLOBALS['portal_order'][] = $app_id; $GLOBALS['portal_order'][] = $app_id;
$infolog = CreateObject('infolog.uiinfolog'); $infolog = CreateObject('infolog.uiinfolog');
if($showevents==1) switch($showevents)
{ {
$html = $infolog->index(array('nm' => array('filter' => 'own-open-today')),'','',0,False,True); case 1:
} $html = $infolog->index(array('nm' => array('filter' => 'own-open-today')),'','',0,False,True);
elseif($showevents==2) break;
{ case 2:
#$html = $infolog->index(array('nm' => array('filter' => 'own-upcoming')),'','',0,False,True); $html = ExecMethod('calendar.uicalendar.get_todos', array('', false));
$html = ExecMethod('calendar.uicalendar.get_todos', array('', false)); break;
} }
$title = lang('InfoLog').' - '.lang($infolog->filters['own-open-today']); $title = lang('InfoLog').' - '.lang($infolog->filters['own-open-today']);
$stable = $infolog->tmpl->stable; $xslt = $infolog->tmpl->xslt;
unset($infolog); unset($infolog);
if($stable) // .14/6 if(!$xslt) // .14/6
{ {
$portalbox = CreateObject('phpgwapi.listbox',array( $portalbox = CreateObject('phpgwapi.listbox',array(
'title' => $title, 'title' => $title,