Changeset 3268 for branches/2.2
- Timestamp:
- 09/21/10 13:08:48 (14 years ago)
- Location:
- branches/2.2/mobile
- Files:
-
- 5 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)) { -
branches/2.2/mobile/index.php
r1851 r3268 4 4 $phpgw_info = array(); 5 5 $GLOBALS['sessionid'] = isset($_GET['sessionid']) ? $_GET['sessionid'] : @$_COOKIE['sessionid']; 6 7 $_SESSION['phpgw_info']['user']['preferences']['contactcenter']['cellShow'] = true;8 6 9 7 $proxies=explode(',',$_SERVER['HTTP_X_FORWARDED_HOST']); -
branches/2.2/mobile/templates/default
-
Property
svn:ignore
set to
.cc_main.tpl.swp
-
Property
svn:ignore
set to
-
branches/2.2/mobile/templates/default/cc_main.tpl
r1499 r3268 37 37 38 38 <!-- BEGIN people_header --> 39 <td width=" 60%" align="center">{lang_people_name}</td>39 <td width="40%" align="center">{lang_people_name}</td> 40 40 <td width="20%" align="center">{lang_phone}</td> 41 <td width="20%" align="center" style="display: {display};">{lang_mobile}</td> 41 42 <td width="20%" align="center">{lang_mail}</td> 42 43 <!-- END people_header --> … … 52 53 <td>{row_nome}</td> 53 54 <td align="center">{row_telefone}</td> 55 <td align="center" style="display: {display};">{row_mobile}</td> 54 56 <td align="center"><a href="{form_action}&input_to={row_nome}&input_to_mail={row_email}&cc_mob=1">{row_email}</a></td> 55 57
Note: See TracChangeset
for help on using the changeset viewer.