forked from extern/egroupware
fix for hook_home: app-template-dir has to be set explicitly
This commit is contained in:
parent
a6764066ce
commit
1b0912de51
@ -682,7 +682,7 @@
|
|||||||
'print' => $print
|
'print' => $print
|
||||||
);
|
);
|
||||||
|
|
||||||
$p = $GLOBALS['phpgw']->template;
|
$p = CreateObject('phpgwapi.Template',$this->template_dir);
|
||||||
$p->set_unknowns('remove');
|
$p->set_unknowns('remove');
|
||||||
$p->set_file(
|
$p->set_file(
|
||||||
Array(
|
Array(
|
||||||
@ -897,7 +897,7 @@
|
|||||||
'printer_friendly'=> $printer
|
'printer_friendly'=> $printer
|
||||||
);
|
);
|
||||||
|
|
||||||
$p = $GLOBALS['phpgw']->template;
|
$p = CreateObject('phpgwapi.Template',$this->template_dir);
|
||||||
$p->set_file(
|
$p->set_file(
|
||||||
Array(
|
Array(
|
||||||
'year_t' => 'year.tpl'
|
'year_t' => 'year.tpl'
|
||||||
@ -3644,7 +3644,7 @@
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$p = $GLOBALS['phpgw']->template;
|
$p = CreateObject('phpgwapi.Template',$this->template_dir);
|
||||||
$p->set_unknowns('keep');
|
$p->set_unknowns('keep');
|
||||||
|
|
||||||
$templates = Array(
|
$templates = Array(
|
||||||
|
Loading…
Reference in New Issue
Block a user