mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-12 09:40:45 +01:00
Copy of default - fixes object call for template
This commit is contained in:
parent
d0849b6c39
commit
b161971275
@ -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"]);
|
||||||
|
@ -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"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user