mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
change template init to CreateObject
This commit is contained in:
parent
60069e2751
commit
3022447c3f
@ -15,14 +15,12 @@
|
|||||||
$phpgw_info['flags']['currentapp'] = 'preferences';
|
$phpgw_info['flags']['currentapp'] = 'preferences';
|
||||||
include('../header.inc.php');
|
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(
|
$pref_tpl->set_file(array(
|
||||||
'T_icon_cell' => 'index_icon_cell.tpl',
|
'T_icon_cell' => 'index_icon_cell.tpl',
|
||||||
'T_link_cell' => 'index_link_cell.tpl',
|
'T_link_cell' => 'index_link_cell.tpl',
|
||||||
'index_out' => 'index.tpl',
|
'index_out' => 'index.tpl',
|
||||||
));
|
));
|
||||||
// initialize
|
|
||||||
|
|
||||||
|
|
||||||
// This func called by the includes to dump a row header
|
// This func called by the includes to dump a row header
|
||||||
function section_start($name='',$icon='')
|
function section_start($name='',$icon='')
|
||||||
|
Loading…
Reference in New Issue
Block a user