mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Now using PHPGW_APP_TPL
This commit is contained in:
parent
b0b26bc450
commit
323d44f8e9
@ -24,7 +24,7 @@
|
|||||||
$phpgw_info['flags']['enable_contacts_class'] = True;
|
$phpgw_info['flags']['enable_contacts_class'] = True;
|
||||||
include('../header.inc.php');
|
include('../header.inc.php');
|
||||||
|
|
||||||
$t = new Template(PHPGW_APP_TPL);
|
$t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||||
$t->set_file(array('add' => 'add.tpl'));
|
$t->set_file(array('add' => 'add.tpl'));
|
||||||
|
|
||||||
$this = CreateObject('phpgwapi.contacts');
|
$this = CreateObject('phpgwapi.contacts');
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
$fields = addressbook_read_entry($ab_id,$qfields);
|
$fields = addressbook_read_entry($ab_id,$qfields);
|
||||||
addressbook_form('edit','edit.php','Edit',$fields[0],$customfields);
|
addressbook_form('edit','edit.php','Edit',$fields[0],$customfields);
|
||||||
|
|
||||||
$t = new Template(PHPGW_APP_TPL);
|
$t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||||
$t->set_file(array("edit" => "edit.tpl"));
|
$t->set_file(array("edit" => "edit.tpl"));
|
||||||
|
|
||||||
$t->set_var('ab_id',$ab_id);
|
$t->set_var('ab_id',$ab_id);
|
||||||
|
@ -293,8 +293,8 @@
|
|||||||
|
|
||||||
$t = new Template(PHPGW_APP_TPL);
|
$t = new Template(PHPGW_APP_TPL);
|
||||||
$t->set_file(array('form' => 'form.tpl'));
|
$t->set_file(array('form' => 'form.tpl'));
|
||||||
$t->set_block('form','add','add');
|
//$t->set_block('form','add','add');
|
||||||
$t->set_block('form','edit','edit');
|
//$t->set_block('form','edit','edit');
|
||||||
|
|
||||||
$email = $fields['email'];
|
$email = $fields['email'];
|
||||||
$emailtype = $fields['email_type'];
|
$emailtype = $fields['email_type'];
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
include('../header.inc.php');
|
include('../header.inc.php');
|
||||||
|
|
||||||
$t = new Template(PHPGW_APP_TPL);
|
$t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||||
$t->set_file(array('addressbook_list_t' => 'index.tpl'));
|
$t->set_file(array('addressbook_list_t' => 'index.tpl'));
|
||||||
$t->set_block('addressbook_list_t','addressbook_header','addressbook_header');
|
$t->set_block('addressbook_list_t','addressbook_header','addressbook_header');
|
||||||
$t->set_block('addressbook_list_t','column','column');
|
$t->set_block('addressbook_list_t','column','column');
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
echo parse_navbar();
|
echo parse_navbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
$t = new Template(PHPGW_APP_TPL);
|
$t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
|
||||||
$t->set_file(array('view_t' => 'view.tpl'));
|
$t->set_file(array('view_t' => 'view.tpl'));
|
||||||
$t->set_block('view_t','view_header','view_header');
|
$t->set_block('view_t','view_header','view_header');
|
||||||
$t->set_block('view_t','view_row','view_row');
|
$t->set_block('view_t','view_row','view_row');
|
||||||
|
Loading…
Reference in New Issue
Block a user