Ignore:
Timestamp:
03/10/08 09:20:40 (16 years ago)
Author:
niltonneto
Message:

Alterações do mantenedor do módulo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.uimaillists.inc.php

    r180 r208  
    189189                        foreach ($manager_contexts as $index=>$context) 
    190190                                $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);                   
    192192                         
    193193                        // Seta variaveis utilizadas pelo tpl. 
     
    252252                        foreach ($manager_contexts as $index=>$context) 
    253253                                $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);                  
    255255 
    256256                        // Usuarios da lista. 
     
    367367                        if (count($maillist_info['senders_info']) > 0) 
    368368                        { 
    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']; 
    372372                                } 
    373373                                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>"; 
    377377                                } 
    378378                        } 
Note: See TracChangeset for help on using the changeset viewer.