Changeset 414 for trunk/expressoAdmin1_2/inc/class.maillist.inc.php
- Timestamp:
- 09/12/08 11:39:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.maillist.inc.php
r355 r414 113 113 if ($return['status'] == true) 114 114 { 115 $this->db_functions->write_log(' Criado lista de email','',$dn,'','');115 $this->db_functions->write_log('created email list',$dn); 116 116 117 117 foreach($params['mailForwardingAddress'] as $index=>$mail) 118 118 { 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); 120 120 } 121 121 } … … 130 130 { 131 131 $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') . '.'; 133 133 return $return; 134 134 } … … 158 158 $dn = $newrdn . ',' . $newparent; 159 159 $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); 161 161 } 162 162 } … … 168 168 { 169 169 $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']); 171 171 } 172 172 if ($new_values['cn'] != $old_values['cn']) 173 173 { 174 174 $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']); 176 176 } 177 177 if ($diff['uid']) … … 255 255 foreach($add_users as $index=>$mail) 256 256 { 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"); 258 258 } 259 259 } … … 275 275 foreach($remove_users as $index=>$mail) 276 276 { 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"); 278 278 } 279 279 } … … 289 289 { 290 290 $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') . '.'; 292 292 return $return; 293 293 } … … 314 314 { 315 315 $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']); 317 317 } 318 318 if (($new_values['accountRestrictive'] == 'on') && ($old_values['accountRestrictive'] == '')) … … 320 320 $ldap_add['accountRestrictive'] = "mailListRestriction"; 321 321 $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']); 323 323 } 324 324 if (count($ldap_add)) … … 337 337 { 338 338 $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']); 340 340 } 341 341 if (($new_values['accountRestrictive'] != 'on') && ($old_values['accountRestrictive'] == 'mailListRestriction')) … … 343 343 $ldap_remove['accountRestrictive'] = array(); 344 344 $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']); 346 346 } 347 347 if (count($ldap_remove)) … … 381 381 foreach($add_users as $index=>$mail) 382 382 { 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",'','',''); 384 384 } 385 385 } … … 401 401 foreach($add_users as $index=>$mail) 402 402 { 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",'','',''); 404 404 } 405 405 } … … 427 427 { 428 428 $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') . '.'; 430 430 return $return; 431 431 } … … 447 447 if ($return['status'] == true) 448 448 { 449 $this->db_functions->write_log(' Deletado lista de email','',$uid,'','');449 $this->db_functions->write_log('deleted email list',$uid); 450 450 } 451 451 452 452 return $return; 453 453 } 454 455 454 } 456 455 ?>
Note: See TracChangeset
for help on using the changeset viewer.