fix for hook_home: app-template-dir has to be set explicitly

This commit is contained in:
Ralf Becker 2003-04-27 07:27:05 +00:00
parent a6764066ce
commit 1b0912de51

View File

@ -682,7 +682,7 @@
'print' => $print
);
$p = $GLOBALS['phpgw']->template;
$p = CreateObject('phpgwapi.Template',$this->template_dir);
$p->set_unknowns('remove');
$p->set_file(
Array(
@ -897,7 +897,7 @@
'printer_friendly'=> $printer
);
$p = $GLOBALS['phpgw']->template;
$p = CreateObject('phpgwapi.Template',$this->template_dir);
$p->set_file(
Array(
'year_t' => 'year.tpl'
@ -3644,7 +3644,7 @@
)
);
$p = $GLOBALS['phpgw']->template;
$p = CreateObject('phpgwapi.Template',$this->template_dir);
$p->set_unknowns('keep');
$templates = Array(