mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Making sure things are in sync
This commit is contained in:
parent
907e34c001
commit
d0849b6c39
@ -19,10 +19,11 @@
|
||||
$bodyheader = 'BGCOLOR="' . $phpgw_info["theme"]["bg_color"] . '"';
|
||||
}
|
||||
|
||||
$tpl = $phpgw->template; //CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns("remove");
|
||||
$tpl->set_file(array("head" => "head.tpl"));
|
||||
$tpl->set_var("website_title", $phpgw_info["server"]["site_title"]);
|
||||
$tpl->set_var("body_tags",$bodyheader);
|
||||
echo $tpl->finish($tpl->parse("out","head"));
|
||||
unset($tpl);
|
||||
?>
|
@ -103,7 +103,7 @@
|
||||
if ($phpgw_info["server"]["showpoweredbyon"] == "bottom") {
|
||||
$msg = "<P><P>\n" . lang("Powered by phpGroupWare version x", $phpgw_info["server"]["versions"]["phpgwapi"]);
|
||||
|
||||
$tpl = new Template($phpgw_info["server"]["template_dir"]);
|
||||
$tpl = createobject("phpgwapi.Template",PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns("remove");
|
||||
|
||||
$tpl->set_file(array("footer" => "footer.tpl"));
|
||||
|
Loading…
Reference in New Issue
Block a user