Changeset 24 for trunk/contactcenter/inc/class.ui_data.inc.php
- Timestamp:
- 05/10/07 11:51:20 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.ui_data.inc.php
r19 r24 2390 2390 $info = ldap_get_entries($ds, $sr); 2391 2391 for($z = 0; $z < $info['count']; $z++) { 2392 $participant = ' "'.$info[$z]['cn'][0].'" <'.$info[$z]['mail'][0].'>';2392 $participant = '<font color=\'DARKBLUE\'> "'.$info[$z]['cn'][0].'" <'.$info[$z]['mail'][0].'></font><br>'; 2393 2393 $array_emails[$info[$z]['mail'][0]] = null; 2394 2394 array_push($array_participants, $participant); … … 2397 2397 foreach($array_emails as $index => $email) 2398 2398 if($email) 2399 array_push($array_participants, $email);2399 array_push($array_participants, " ".$email."<br>"); 2400 2400 2401 2401 ldap_close($ds); 2402 2402 } 2403 2403 sort($array_participants); 2404 $array_participants['names_ordered'] = $contact['names_ordered']; 2405 echo serialize($array_participants); 2404 $innerHTML = ''; 2405 foreach($array_participants as $index => $participant){ 2406 $innerHTML .= $participant; 2407 } 2408 $return = array('size' => count($array_participants), 'names_ordered'=> $contact['names_ordered'], 'inner_html' => $innerHTML); 2409 echo serialize($return); 2406 2410 } 2407 2411
Note: See TracChangeset
for help on using the changeset viewer.