- Timestamp:
- 09/24/12 10:31:10 (11 years ago)
- Location:
- branches/2.4/expressoMail1_2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/inc/class.imap_functions.inc.php
r7236 r7281 3651 3651 return $returns; 3652 3652 } 3653 function verify_disposition_notification($msg){ 3654 $header = imap_fetchheader($this->mbox, $msg, FT_UID); 3655 $pattern = '/^[ \t]*Disposition-Notification-To:.*/mi'; 3656 if (preg_match($pattern, $header, $fields)) 3657 return true; 3658 else 3659 return false; 3660 } 3661 3653 3662 function set_messages_flag($params) 3654 3663 { … … 3677 3686 $msgs = explode(",",$msgs_to_set); 3678 3687 foreach($msgs as $men){ 3679 if (imap_setflag_full($this->mbox, $men, "\\Seen", ST_UID)) 3680 $return["msgs_to_set"] .= $men.","; 3681 else 3682 $return["msgs_not_to_set"] .= $men.","; 3688 3689 if($this->verify_disposition_notification($men)){ 3690 3691 if(!array_key_exists('disposition_notification_to', $return)) 3692 $return['disposition_notification_to'] = array(); 3693 3694 $return["disposition_notification_to"][] = $men; 3695 }else{ 3696 if (imap_setflag_full($this->mbox, $men, "\\Seen", ST_UID)) 3697 $return["msgs_to_set"] .= $men.","; 3698 else 3699 $return["msgs_not_to_set"] .= $men.","; 3700 } 3683 3701 } 3684 3702 $return["status"] = true; -
branches/2.4/expressoMail1_2/js/main.js
r7255 r7281 3273 3273 return; 3274 3274 var msgs_to_set = data.msgs_to_set.split(","); 3275 3276 3277 if(data.disposition_notification_to){ 3278 $.Zebra_Dialog(data.disposition_notification_to.length == 1 ? get_lang('One of his messages can not be marked as read, because it contains a read confirmation.') : data.disposition_notification_to.length + get_lang(' of its messages could not be marked as read, because it contains a read confirmation.'), { 3279 'type': 'warning', 3280 'overlay_opacity': '0.5', 3281 'buttons': ['Fechar'] 3282 }); 3283 } 3275 3284 3276 3285 if(!data.status) { -
branches/2.4/expressoMail1_2/setup/phpgw_pt-br.lang
r7228 r7281 648 648 with some expressoMail1_2 pt-br com algumas 649 649 With the following message expressoMail1_2 pt-br Com a seguinte mensagem 650 Would you like to have a read receipt option to read messages? expressoMail1_2 pt-br Deseja apresentar opção de confirmação de leitura ao ler mensagem? 650 Would you like to have a read receipt option to read messages? expressoMail1_2 pt-br Deseja apresentar opção de confirmação de leitura ao ler mensagem? 651 651 Would you like to keep archived messages? expressoMail1_2 pt-br Você gostaria de manter as mensagens arquivadas? 652 652 Would you like to use local messages? expressoMail1_2 pt-br Você gostaria de usar mensagens locais? … … 935 935 The contact was moved from recent contacts to personal contacts successful. expressoMail1_2 pt-br O Contato foi movido dos contatos recentes para os contatos pessoais com sucesso. 936 936 You can not remove the message with the preference 'Send to Trash' enabled. There is no permission to move messages to the trash folder. expressoMail1_2 pt-br Não é possível remover a mensagem com a preferencia 'Enviar para lixeira' ativada. Não existe permissão para mover mensagens para a pasta lixeira. 937 One of his messages can not be marked as read, because it contains a read confirmation. expressoMail1_2 pt-br Uma de suas mensagens não pode ser marcada como lida, pois contém uma confirmação de leitura. 938 of its messages could not be marked as read, because it contains a read confirmation. expressoMail1_2 pt-br de suas mensagens não puderam ser marcadas como lida, pois contém uma confirmação de leitura.
Note: See TracChangeset
for help on using the changeset viewer.