From 3022447c3fae52b2ae2255167f59f65f0b010902 Mon Sep 17 00:00:00 2001 From: angles Date: Fri, 11 May 2001 18:43:47 +0000 Subject: [PATCH] change template init to CreateObject --- preferences/index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/preferences/index.php b/preferences/index.php index 3513f40485..6912c248af 100755 --- a/preferences/index.php +++ b/preferences/index.php @@ -14,15 +14,13 @@ $phpgw_info['flags']['currentapp'] = 'preferences'; include('../header.inc.php'); - - $pref_tpl = new Template($phpgw->common->get_tpl_dir('preferences')); + + $pref_tpl = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $pref_tpl->set_file(array( 'T_icon_cell' => 'index_icon_cell.tpl', 'T_link_cell' => 'index_link_cell.tpl', 'index_out' => 'index.tpl', )); - // initialize - // This func called by the includes to dump a row header function section_start($name='',$icon='')