From b16197127506559faf9075e4b9eb7f6f3d68bc48 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 6 Feb 2001 14:03:45 +0000 Subject: [PATCH] Copy of default - fixes object call for template --- phpgwapi/templates/justweb/head.inc.php | 2 +- phpgwapi/templates/verdilak/head.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/templates/justweb/head.inc.php b/phpgwapi/templates/justweb/head.inc.php index a212f62d39..53988460d1 100644 --- a/phpgwapi/templates/justweb/head.inc.php +++ b/phpgwapi/templates/justweb/head.inc.php @@ -17,7 +17,7 @@ $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_file(array("head" => "head.tpl")); $tpl->set_var("webserver_url", $phpgw_info["server"]["webserver_url"]); diff --git a/phpgwapi/templates/verdilak/head.inc.php b/phpgwapi/templates/verdilak/head.inc.php index 0ed5612a19..314b191ef4 100644 --- a/phpgwapi/templates/verdilak/head.inc.php +++ b/phpgwapi/templates/verdilak/head.inc.php @@ -16,7 +16,7 @@ $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_file(array("head" => "head.tpl")); $tpl->set_var("website_title", $phpgw_info["server"]["site_title"]);