Changeset 4500 for sandbox/2.2.0.2/contactcenter/inc/class.ui_api.inc.php
- Timestamp:
- 05/25/11 10:47:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/contactcenter/inc/class.ui_api.inc.php
r4498 r4500 183 183 $template->parse('out','search'); 184 184 185 return $template->get_var('out'); 186 } 187 188 function get_contact_details() 189 { 190 $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); 191 $template->set_file(array('details' => 'contact_details.tpl')); 192 193 if (!$this->commons_loaded) 194 { 195 $template->set_var('cc_api', $this->commons); 196 $this->commons_loaded = true; 197 } 198 else 199 { 200 $template->set_var('cc_api', ''); 201 } 202 203 //$template->set_var('ccContactDetails.js', $GLOBALS['phpgw_info']['server']['webserver_url'] . '/contactcenter/js/ccContactDetails.js'); 204 $template->set_var('cc_contact_details_title',lang("Contact's details")); 205 $template->set_var('cc_contact_details_close',lang("Close")); 206 $template->set_var('cc_contact_details_no_fields',lang("The extra details are not configured.")); 207 $template->set_var('cc_contact_details_attr_name',lang("Attribute name")); 208 $template->set_var('cc_contact_details_attr_value',lang("Value")); 209 $template->parse('out','details'); 185 210 return $template->get_var('out'); 186 211 }
Note: See TracChangeset
for help on using the changeset viewer.