Changeset 3268 for branches/2.2/mobile/inc/class.ui_mobilecc.inc.php
- Timestamp:
- 09/21/10 13:08:48 (14 years ago)
- Location:
- branches/2.2/mobile/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc
-
Property
svn:ignore
set to
.class.ui_mobilecc.inc.php.swp
-
Property
svn:ignore
set to
-
branches/2.2/mobile/inc/class.ui_mobilecc.inc.php
r1499 r3268 163 163 else { //Só pego os dados completos caso haja resultado na busca 164 164 if($this->page_info['actual_catalog']!="bo_group_manager") { //Se não for grupo, tenho que ordenar as connections 165 $entries = $this->bo->get_multiple_entries($ids,array("names_ordered"=>true,"uidnumber"=>true,"id_contact"=>true,"connections"=>true)); 165 166 $display = "none"; 167 if(isset($GLOBALS['phpgw_info']['user']['preferences']['contactcenter']['cell']) && $GLOBALS['phpgw_info']['user']['preferences']['contactcenter']['cell'] == 1) 168 { 169 $_SESSION['phpgw_info']['user']['preferences']['contactcenter']['cellShow'] = true; 170 $display = "inline"; 171 $entries = $this->bo->get_multiple_entries($ids,array("names_ordered"=>true,"uidnumber"=>true,"id_contact"=>true,"companies"=>true,"connections"=>true)); 172 }else { 173 $entries = $this->bo->get_multiple_entries($ids,array("names_ordered"=>true,"uidnumber"=>true,"id_contact"=>true,"connections"=>true)); 174 } 166 175 /** 167 176 * As entradas vindas de get_multiple_entries não vem com as connections … … 302 311 if($this->page_info['actual_catalog']!="bo_group_manager") { 303 312 $p->set_var( 304 array('lang_people_name' => lang("Name"), 305 'lang_phone' => lang("Phone"), 306 'lang_mail' => lang("Email"))); 313 array('lang_people_name' => lang("Name"), 314 'lang_phone' => lang("Phone"), 315 'lang_mobile' => "Celular", //lang("Mobile"), 316 'display' => $display, 317 'lang_mail' => lang("Email"))); 307 318 $p->parse('header','people_header',True); 308 319 } … … 320 331 if(($this->page_info['actual_catalog']!="bo_group_manager") && 321 332 (strpos($this->page_info['actual_catalog'],'bo_global_ldap_catalog')===false)){ //People 322 $var = array('row_nome'=>$entry['names_ordered']); 333 $var = array( 334 'row_nome' => $entry['names_ordered'], 335 'row_mobile' => $entry['companies']['company1']['celPhone'] 336 ); 323 337 $conn1 = array_shift($entry['connections']); 324 338 if(($conn1==NULL)||($conn1['connection_is_default']!=1)) { … … 352 366 } 353 367 else { //Ldap 354 $var = array('row_nome'=>$entry['names_ordered'][0] );368 $var = array('row_nome'=>$entry['names_ordered'][0],'row_mobile'=> $entry['companies']['company1']['celPhone']); 355 369 $conn1 = array_shift($entry['connections']); 356 370 if(($conn1==NULL)) {
Note: See TracChangeset
for help on using the changeset viewer.