Changeset 1517 for trunk/contactcenter/inc/class.ui_data.inc.php
- Timestamp:
- 10/20/09 10:56:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.ui_data.inc.php
r1496 r1517 212 212 $GLOBALS['phpgw']->template->set_var('cc_msg_home', lang('Home')); 213 213 $GLOBALS['phpgw']->template->set_var('cc_msg_cellphone', lang('Cellphone')); 214 $GLOBALS['phpgw']->template->set_var('cc_msg_corporative_cellphone', lang('Corporative Cellphone')); 215 $GLOBALS['phpgw']->template->set_var('cc_msg_corporative_fax', lang('Corporative Fax')); 216 $GLOBALS['phpgw']->template->set_var('cc_msg_corporative_pager', lang('Corporative Pager')); 214 217 $GLOBALS['phpgw']->template->set_var('cc_msg_work', lang('Work')); 215 218 $GLOBALS['phpgw']->template->set_var('cc_msg_fax', lang('Fax')); … … 232 235 $GLOBALS['phpgw']->template->set_var('cc_msg_fill_field_name', lang('Fill the field Full Name')); 233 236 237 if($GLOBALS['phpgw_info']['server']['personal_contact_type']=='True'){ 238 $GLOBALS['phpgw']->template->set_var('cc_contact_type', 'advanced'); 239 }else{ 240 $GLOBALS['phpgw']->template->set_var('cc_contact_type', 'default'); 241 } 234 242 $GLOBALS['phpgw']->template->parse('out','index'); 235 243 … … 1485 1493 } 1486 1494 } 1487 // print_r($data); 1488 1495 1496 /*Corporative*/ 1497 $data['personal']['cc_name_corporate'] = $entry['corporate_name']; 1498 $data['personal']['cc_job_title'] = $entry['job_title']; 1499 $data['personal']['cc_department'] = $entry['department']; 1500 $data['personal']['cc_name_corporate'] = $entry['corporate_name']; 1501 $data['personal']['cc_web_page'] = $entry['web_page']; 1502 1503 1489 1504 /* Relations */ 1490 1505 … … 1900 1915 switch($field) 1901 1916 { 1917 case 'corporate_name': 1918 case 'job_title': 1919 case 'department': 1920 case 'web_page': 1902 1921 case 'alias': 1903 1922 case 'given_names':
Note: See TracChangeset
for help on using the changeset viewer.