translation->add_app('infolog'); $GLOBALS['phpgw_info']['etemplate']['hooked'] = True; $infolog = CreateObject('infolog.uiinfolog'); $infolog->index(0,'calendar',$GLOBALS['project_id'],array( 'menuaction' => 'projects.uiprojects.view', 'project_id' => $GLOBALS['project_id'] )); $GLOBALS['phpgw_info']['flags']['currentapp'] = $save_app; unset($GLOBALS['phpgw_info']['etemplate']['hooked']);