Changeset 1517 for trunk/contactcenter/inc/class.ui_api.inc.php
- Timestamp:
- 10/20/09 10:56:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.ui_api.inc.php
r1496 r1517 199 199 { 200 200 $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); 201 202 $template->set_file(array('full_add' => 'full_add.tpl')); 203 201 if($GLOBALS['phpgw_info']['server']['personal_contact_type']=='True'){ 202 $template->set_file(array('full_add' => 'corporative_full_add.tpl')); 203 $template->set_var('cc_contact_type','advanced'); 204 }else{ 205 $template->set_file(array('full_add' => 'full_add.tpl')); 206 $template->set_var('cc_contact_type','default'); 207 } 204 208 if (!$this->commons_loaded) 205 209 { … … 227 231 $template->set_var('cc_contact_personal',lang('Personal')); 228 232 $template->set_var('cc_contact_addrs',lang('Addresses')); 233 $template->set_var('cc_contact_corporative',lang('Corporative')); 229 234 $template->set_var('cc_contact_conns',lang('Connections')); 230 235 $template->set_var('emails_telephones', lang("E-Mails and Telephones")); … … 326 331 /* End Contact - Connections */ 327 332 333 334 335 /* Corporate - contact */ 336 $template->set_var('cc_name_corporate',lang('Corporate')); 337 $template->set_var('cc_job_title',lang('Job Title')); 338 $template->set_var('cc_department',lang('Department')); 339 $template->set_var('cc_web_page',lang('Web Page')); 340 328 341 $template->set_var('email', lang("E-Mail")); 329 342 $template->set_var('telephone', lang("Telephone"));
Note: See TracChangeset
for help on using the changeset viewer.