diff --git a/admin/categories.php b/admin/categories.php index 6c2ebc2b55..ae1182ddcd 100644 --- a/admin/categories.php +++ b/admin/categories.php @@ -18,7 +18,7 @@ include('../header.inc.php'); - $t = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('admin')); + $t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $t->set_file(array( 'cat_list_t' => 'listcats.tpl', diff --git a/admin/deletegroup.php b/admin/deletegroup.php index 4216be9342..253619118f 100755 --- a/admin/deletegroup.php +++ b/admin/deletegroup.php @@ -24,7 +24,7 @@ } include('../header.inc.php'); - $p = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('admin')); + $p = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $p->set_file(array( 'body' => 'delete_common.tpl', 'message_row' => 'message_row.tpl'