useing html-class from the api

This commit is contained in:
Ralf Becker 2003-09-25 08:13:18 +00:00
parent 948fe27751
commit a440efa31d

View File

@ -31,7 +31,11 @@
{
$GLOBALS['phpgw']->nextmatchs = CreateObject('phpgwapi.nextmatchs');
}
$this->html = CreateObject('calendar.html');
if (!is_object($GLOBALS['phpgw']->html))
{
$GLOBALS['phpgw']->html = CreateObject('phpgwapi.html');
}
$this->html = &$GLOBALS['phpgw']->html;
}
function index($error='')