Changeset 6528 for trunk/expressoMail1_2/inc
- Timestamp:
- 06/15/12 17:00:17 (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/sandbox/2.4.1-3 merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/expressoMail1_2/inc/class.db_functions.inc.php
r6331 r6528 24 24 include_once(PHPGW_API_INC.'/class.db.inc.php'); 25 25 } 26 include_once('class.dynamic_contacts.inc.php');27 26 28 27 class db_functions … … 249 248 250 249 //Gera lista de contatos para ser gravado e acessado pelo expresso offline. 251 function get_dropdown_contacts_to_cache() {250 /*function get_dropdown_contacts_to_cache() { 252 251 return $this->get_dropdown_contacts(); 253 252 } … … 275 274 } 276 275 return $stringDropDownContacts; 277 } 276 }*/ 278 277 function getUserByEmail($params){ 279 278 // Follow the referral … … 308 307 return $result; 309 308 } 310 309 /* 311 310 function get_dynamic_contacts() 312 311 { … … 333 332 return $contacts; 334 333 } 334 */ 335 /* 335 336 function update_contacts($contacts=array()) 336 337 { … … 364 365 } 365 366 return $contacts; 366 } 367 } */ 368 367 369 function update_preferences($params){ 368 370 $string_serial = urldecode($params['prefe_string']); … … 377 379 } 378 380 381 /* 379 382 function insert_contact($contact) 380 383 { … … 396 399 $this->db->delete('phpgw_expressomail_contacts',$where,$line,$file); 397 400 } 398 401 */ 399 402 function import_vcard($params){ 400 403 include_once('class.imap_functions.inc.php'); -
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r6487 r6528 3087 3087 error_log("$now - $userip - $sent [$subject] - $userid => $addrs\r\n", 3, "/home/expressolivre/mail_senders.log"); 3088 3088 } 3089 if ($_SESSION['phpgw_info']['user']['preferences']['expressoMail']['use_dynamic_contacts']) { 3090 $contacts = new dynamic_contacts(); 3091 $new_contacts = $contacts->add_dynamic_contacts($toaddress . "," . $ccaddress . "," . $ccoaddress); 3092 return array("success" => true, "new_contacts" => $new_contacts); 3093 } 3094 3095 if($params['uids_save'] ) 3096 $this->delete_msgs(array('folder'=> $params['save_folder'] , 'msgs_number' => $params['uids_save'])); 3089 if($params['uids_save'] ) 3090 $this->delete_msgs(array('folder'=> $params['save_folder'] , 'msgs_number' => $params['uids_save'])); 3097 3091 3098 3099 3092 //return array("success" => true, "folder" => $folder_list); 3100 3093 return array("success" => true, "load" => $has_new_folder); -
trunk/expressoMail1_2/inc/class.ldap_functions.inc.php
r6459 r6528 564 564 '<tr class="quicksearchcontacts_unselected">' . 565 565 '<td class="cc" width="1%">' . 566 '<a title="'.$this->functions->getLang("Write message").'" onClick="javascript:QuickSearchUser.create_new_message(\''.$contacts_result["cn"].'\', \''.$contacts_result["mail"].'\' )">' .566 '<a title="'.$this->functions->getLang("Write message").'" onClick="javascript:QuickSearchUser.create_new_message(\''.$contacts_result["cn"].'\', \''.$contacts_result["mail"].'\', \''.$contacts_result["uid"].'\')">' . 567 567 $photo_link . 568 568 '</a>' . … … 570 570 '<td class="cc">' . 571 571 '<span name="cn">' . ($empNumber != "" ? $empNumber : $uid) . $contacts_result['cn'] . '</span>' . '<br>' . 572 '<a title="'.$functions->getLang("Write message").'" onClick="javascript:QuickSearchUser.create_new_message(\''.$contacts_result["cn"].'\', \''.$contacts_result["mail"].'\' )">' .572 '<a title="'.$functions->getLang("Write message").'" onClick="javascript:QuickSearchUser.create_new_message(\''.$contacts_result["cn"].'\', \''.$contacts_result["mail"].'\', \''.$contacts_result["uid"].'\')">' . 573 573 '<font color=blue>' . 574 574 '<span name="mail">' . $contacts_result['mail'] . '</span></a></font>'.
Note: See TracChangeset
for help on using the changeset viewer.