mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
using CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
This commit is contained in:
parent
936d6dd022
commit
01b0f63865
@ -18,7 +18,7 @@
|
||||
|
||||
$phpgw->infolog = createobject('infolog.infolog');
|
||||
|
||||
$t = new Template($phpgw_info['server']['app_tpl']); // $t->unknows = 'keep'; $t->debug = 1;
|
||||
$t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); // $t->unknows = 'keep'; $t->debug = 1;
|
||||
$t->set_file(array('import' => 'csv_import.tpl'));
|
||||
$t->set_block('import','filename','filenamehandle');
|
||||
$t->set_block('import','fheader','fheaderhandle');
|
||||
|
@ -49,7 +49,7 @@
|
||||
. "<input type=\"hidden\" name=\"start\" value=\"$start\">\n"
|
||||
. "<input type=\"hidden\" name=\"filter\" value=\"$filter\">\n";
|
||||
|
||||
$phpgw->template = new Template($phpgw->common->get_tpl_dir('info'));
|
||||
$phpgw->template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||
$phpgw->template->set_file(array( 'info_delete' => 'delete.tpl' ));
|
||||
$phpgw->template->set_var( $phpgw->infolog->setStyleSheet( ));
|
||||
$phpgw->template->set_var( $phpgw->infolog->infoHeaders( ));
|
||||
|
@ -150,6 +150,7 @@
|
||||
$pri_selected[$phpgw->infolog->data['info_pri']] = ' selected';
|
||||
$status_selected[$phpgw->infolog->data['info_status']] = ' selected';
|
||||
|
||||
$phpgw->template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||
$phpgw->template->set_file(array('info_edit' => 'form.tpl'));
|
||||
|
||||
// ====================================================================
|
||||
|
@ -24,7 +24,7 @@
|
||||
$db = $phpgw->db;
|
||||
$db2 = $phpgw->db;
|
||||
|
||||
$phpgw->template = new Template($phpgw->common->get_tpl_dir('infolog'));
|
||||
$phpgw->template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||
$phpgw->template->set_file(array( 'info_list_t' => 'list.tpl' ));
|
||||
$phpgw->template->set_block('info_list_t','info_list','list');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user