I added the code in phpgw.inc.php to check if there is a templates directory in the applications directory. It will then load up $phpgw->template. I did not commit the moved templates, becuase we need to figure out the name of the directory for them.

This commit is contained in:
jengo 2000-11-07 17:31:12 +00:00
parent 3ef0a59006
commit eb5b0f9ff8

View File

@ -18,7 +18,7 @@
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
. $phpgw_info["server"]["auth_type"] . ".inc.php");
$t = new Template($phpgw_info["server"]["template_dir"]);
$t = $phpgw->template; // Just temp (jengo)
$t->set_file(array("header" => "accounts.tpl",
"row" => "accounts.tpl",
"footer" => "accounts.tpl"));