Changeset 208 for trunk/expressoAdmin1_2/inc/class.uimaillists.inc.php
- Timestamp:
- 03/10/08 09:20:40 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uimaillists.inc.php
r180 r208 189 189 foreach ($manager_contexts as $index=>$context) 190 190 $combo_manager_org .= $this->functions->get_organizations($context); 191 $combo_all_orgs = $this->functions->get_organizations($GLOBALS['phpgw_info']['server']['ldap_context'], '', true, true );191 $combo_all_orgs = $this->functions->get_organizations($GLOBALS['phpgw_info']['server']['ldap_context'], '', true, true, true); 192 192 193 193 // Seta variaveis utilizadas pelo tpl. … … 252 252 foreach ($manager_contexts as $index=>$context) 253 253 $combo_manager_org .= $this->functions->get_organizations($context, trim(strtolower($maillist_info['context']))); 254 $combo_all_orgs = $this->functions->get_organizations($GLOBALS['phpgw_info']['server']['ldap_context'], trim(strtolower($maillist_info['context'])), true, true );254 $combo_all_orgs = $this->functions->get_organizations($GLOBALS['phpgw_info']['server']['ldap_context'], trim(strtolower($maillist_info['context'])), true, true, true); 255 255 256 256 // Usuarios da lista. … … 367 367 if (count($maillist_info['senders_info']) > 0) 368 368 { 369 foreach ($maillist_info['senders_info'] as $ uidnumber=>$senderinfo)370 { 371 $array_senders[$ uidnumber] = $senderinfo['cn'];369 foreach ($maillist_info['senders_info'] as $mail=>$senderinfo) 370 { 371 $array_senders[$mail] = $senderinfo['cn']; 372 372 } 373 373 natcasesort($array_senders); 374 foreach ($array_senders as $ uidnumber=>$cn)375 { 376 $ea_select_users_SCL_Maillist .= "<option value=" . $ uidnumber . ">" . $cn . " [" . $maillist_info['senders_info'][$uidnumber]['mail']. "]</option>";374 foreach ($array_senders as $mail=>$cn) 375 { 376 $ea_select_users_SCL_Maillist .= "<option value=" . $mail . ">" . $cn . " [" . $mail . "]</option>"; 377 377 } 378 378 }
Note: See TracChangeset
for help on using the changeset viewer.