Making sure things are in sync

This commit is contained in:
jengo 2001-02-06 13:58:59 +00:00
parent 907e34c001
commit d0849b6c39
2 changed files with 3 additions and 2 deletions

View File

@ -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);
?>

View File

@ -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"));