Ignore:
Timestamp:
09/12/08 11:39:24 (16 years ago)
Author:
niltonneto
Message:

Alterações feitas por João Alfredo.
Email: jakjr@…

File:
1 edited

Legend:

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

    r355 r414  
    113113                        if ($return['status'] == true) 
    114114                        { 
    115                                 $this->db_functions->write_log('Criado lista de email','',$dn,'',''); 
     115                                $this->db_functions->write_log('created email list',$dn); 
    116116                                 
    117117                                foreach($params['mailForwardingAddress'] as $index=>$mail) 
    118118                                { 
    119                                         $this->db_functions->write_log("Adicionado email $mail a lista ".$params['cn']." no momento da criação",$dn,'','',''); 
     119                                        $this->db_functions->write_log("added user on email list creation", $params['cn'].':' . $mail); 
    120120                                } 
    121121                        } 
     
    130130                        { 
    131131                                $return['status'] = false; 
    132                                 $return['msg'] = 'Você não tem acesso para editar listas de email.'; 
     132                                $return['msg'] = lang('You do not have access to edit email lists') . '.'; 
    133133                                return $return; 
    134134                        } 
     
    158158                                                $dn = $newrdn . ',' . $newparent; 
    159159                                                $old_dn = $old_values['uid']; 
    160                                                 $this->db_functions->write_log("Renomeado login da lista de $old_dn para $dn",'',$dn,$old_values['uid'],''); 
     160                                                $this->db_functions->write_log("renamed list login",$old_dn . ' -> ' . $dn); 
    161161                                        } 
    162162                                } 
     
    168168                        { 
    169169                                $ldap_mod_replace['mail'] = $new_values['mail']; 
    170                                 $this->db_functions->write_log('Modificado email da lista para ' . $new_values['mail'],'',$dn,'',''); 
     170                                $this->db_functions->write_log('modified list email', $dn . ': ' . $old_values['mail'] . '->' . $new_values['mail']); 
    171171                        } 
    172172                        if ($new_values['cn'] != $old_values['cn']) 
    173173                        { 
    174174                                $ldap_mod_replace['cn'] = $new_values['cn']; 
    175                                 $this->db_functions->write_log("Modificado common name da lista $dn",'',$dn,'',''); 
     175                                $this->db_functions->write_log('modified list name', $old_values['cn'] . '->' . $new_values['cn']); 
    176176                        } 
    177177                        if ($diff['uid']) 
     
    255255                                        foreach($add_users as $index=>$mail) 
    256256                                        { 
    257                                                 $this->db_functions->write_log("Adicionado usuario $mail a lista de email $dn",$dn,'','',''); 
     257                                                $this->db_functions->write_log("added user to list", "$dn: $mail"); 
    258258                                        } 
    259259                                } 
     
    275275                                        foreach($remove_users as $index=>$mail) 
    276276                                        { 
    277                                                 $this->db_functions->write_log("Removido usuario $mail da lista de email $dn",$dn,'','',''); 
     277                                                $this->db_functions->write_log("removed user from list", "$dn: $mail"); 
    278278                                        } 
    279279                                } 
     
    289289                        { 
    290290                                $return['status'] = false; 
    291                                 $return['msg'] = 'Você não tem acesso para editar SCL de listas de email.'; 
     291                                $return['msg'] = lang('You do not have access to edit email lists SCL') . '.'; 
    292292                                return $return; 
    293293                        } 
     
    314314                        { 
    315315                                $ldap_add['participantCanSendMail'] = "TRUE"; 
    316                                 $this->db_functions->write_log("Ativado participantCanSendMail da SCL da lista de email " . $new_values['mail'],'','','',''); 
     316                                $this->db_functions->write_log("turned on participantCanSendMail",$new_values['mail']); 
    317317                        } 
    318318                        if (($new_values['accountRestrictive'] == 'on') && ($old_values['accountRestrictive'] == '')) 
     
    320320                                $ldap_add['accountRestrictive'] = "mailListRestriction"; 
    321321                                $ldap_add['accountDeliveryMessage']     = 'OK'; 
    322                                 $this->db_functions->write_log("Ativado mailListRestriction da SCL da lista de email " . $new_values['mail'],'','','',''); 
     322                                $this->db_functions->write_log("turned on mailListRestriction", $new_values['mail']); 
    323323                        } 
    324324                        if (count($ldap_add)) 
     
    337337                        { 
    338338                                $ldap_remove['participantCanSendMail']  = array(); 
    339                                 $this->db_functions->write_log("Desativado participantCanSendMail da SCL da lista de email " . $new_values['mail'],'','','',''); 
     339                                $this->db_functions->write_log("turned off participantCanSendMail",$new_values['mail']); 
    340340                        } 
    341341                        if (($new_values['accountRestrictive'] != 'on') && ($old_values['accountRestrictive'] == 'mailListRestriction')) 
     
    343343                                $ldap_remove['accountRestrictive']      = array(); 
    344344                                $ldap_remove['accountDeliveryMessage']  = array(); 
    345                                 $this->db_functions->write_log("Desativado restrição (mailListRestriction) da SCL da lista de email " . $new_values['mail'],'','','',''); 
     345                                $this->db_functions->write_log("turned off mailListRestriction",$new_values['mail']); 
    346346                        } 
    347347                        if (count($ldap_remove)) 
     
    381381                                        foreach($add_users as $index=>$mail) 
    382382                                        { 
    383                                                 $this->db_functions->write_log("Adicionado usuario $mail da SCP da lista de email $dn",$dn,'','',''); 
     383                                                $this->db_functions->write_log("added user to SCL","$dn: $mail",'','',''); 
    384384                                        } 
    385385                                } 
     
    401401                                        foreach($add_users as $index=>$mail) 
    402402                                        { 
    403                                                 $this->db_functions->write_log("Removido usuario $mail da SCP da lista de email $dn",$dn,'','',''); 
     403                                                $this->db_functions->write_log("removed user from SCL","$dn: $mail",'','',''); 
    404404                                        } 
    405405                                } 
     
    427427                        { 
    428428                                $return['status'] = false; 
    429                                 $return['msg'] = 'Você não tem acesso para excluir listas de email.'; 
     429                                $return['msg'] = lang('You do not have access to delete email lists') . '.'; 
    430430                                return $return; 
    431431                        } 
     
    447447                        if ($return['status'] == true) 
    448448                        { 
    449                                 $this->db_functions->write_log('Deletado lista de email','',$uid,'',''); 
     449                                $this->db_functions->write_log('deleted email list',$uid); 
    450450                        } 
    451451                         
    452452                        return $return;  
    453453                } 
    454                  
    455454        } 
    456455?> 
Note: See TracChangeset for help on using the changeset viewer.