Copy of default - fixes object call for template

This commit is contained in:
Miles Lott 2001-02-06 14:03:45 +00:00
parent d0849b6c39
commit b161971275
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
$bodyheader = "BGCOLOR=\"".$phpgw_info["theme"]["bg_color"]."\""; $bodyheader = "BGCOLOR=\"".$phpgw_info["theme"]["bg_color"]."\"";
} }
$tpl = CreateObject('phpgwapi.Template',$phpgw_info["server"]["template_dir"]); $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$tpl->set_unknowns("remove"); $tpl->set_unknowns("remove");
$tpl->set_file(array("head" => "head.tpl")); $tpl->set_file(array("head" => "head.tpl"));
$tpl->set_var("webserver_url", $phpgw_info["server"]["webserver_url"]); $tpl->set_var("webserver_url", $phpgw_info["server"]["webserver_url"]);

View File

@ -16,7 +16,7 @@
$bodyheader .= "topmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" leftmargin=\"0\""; $bodyheader .= "topmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" leftmargin=\"0\"";
} }
$tpl = CreateObject('phpgwapi.Template',$phpgw_info["server"]["template_dir"]); $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$tpl->set_unknowns("remove"); $tpl->set_unknowns("remove");
$tpl->set_file(array("head" => "head.tpl")); $tpl->set_file(array("head" => "head.tpl"));
$tpl->set_var("website_title", $phpgw_info["server"]["site_title"]); $tpl->set_var("website_title", $phpgw_info["server"]["site_title"]);