- Timestamp:
- 11/17/11 13:31:55 (12 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r5177 r5182 3952 3952 $return["flag"] = $flag; 3953 3953 3954 $return["msgs_not_to_set"] = ""; 3955 3954 3956 if(!$this->mbox && !is_resource($this->mbox)) 3955 3957 $this->mbox = $this->open_mbox($folder); 3956 3957 if ($flag == "unseen") 3958 $return["status"] = imap_clearflag_full($this->mbox, $msgs_to_set, "\\Seen", ST_UID); 3959 elseif ($flag == "seen") 3960 $return["status"] = imap_setflag_full($this->mbox, $msgs_to_set, "\\Seen", ST_UID); 3961 elseif ($flag == "answered"){ 3958 if ($flag == "unseen"){ 3959 $return["msgs_to_set"] = ""; 3960 $msgs = explode(",",$msgs_to_set); 3961 foreach($msgs as $men){ 3962 if (imap_clearflag_full($this->mbox, $men, "\\Seen", ST_UID)) 3963 $return["msgs_to_set"] .= $men.","; 3964 else 3965 $return["msgs_not_to_set"] .= $men.","; 3966 } 3967 $return["status"] = true; 3968 }elseif ($flag == "seen"){ 3969 $return["msgs_to_set"] = ""; 3970 $msgs = explode(",",$msgs_to_set); 3971 foreach($msgs as $men){ 3972 if (imap_setflag_full($this->mbox, $men, "\\Seen", ST_UID)) 3973 $return["msgs_to_set"] .= $men.","; 3974 else 3975 $return["msgs_not_to_set"] .= $men.","; 3976 } 3977 $return["status"] = true; 3978 }elseif ($flag == "answered"){ 3962 3979 $return["status"] = imap_setflag_full($this->mbox, $msgs_to_set, "\\Answered", ST_UID); 3963 3980 imap_clearflag_full($this->mbox, $msgs_to_set, "\\Draft", ST_UID); … … 3999 4016 } 4000 4017 } 4001 4018 4019 if(($flag == "seen") || ($flag == "unseen")){ 4020 if ($return["msgs_not_to_set"] != ""){ 4021 $return["msgs_not_to_set"] = substr($return["msgs_not_to_set"], 0, -1); 4022 } 4023 if($return["msgs_to_set"] != ""){ 4024 $return["msgs_to_set"] = substr($return["msgs_to_set"], 0, -1); 4025 } 4026 } 4002 4027 if($this->mbox && is_resource($this->mbox)) 4003 4028 imap_close($this->mbox); 4029 4004 4030 return $return; 4005 4031 } -
trunk/expressoMail1_2/js/main.js
r5178 r5182 2448 2448 if(!data.msgs_unflageds) 2449 2449 return; 2450 2450 2451 else 2452 if(data.msgs_not_to_set != "") 2453 write_msg(get_lang("Error processing some messages.")); 2454 2451 2455 msgs_to_set = data.msgs_unflageds.split(","); 2452 2456 } -
trunk/expressoMail1_2/setup/phpgw_pt-br.lang
r5180 r5182 730 730 It is not possible to add this contact as a recipient because it does not have email expressoMail1_2 pt-br Não é possível adicionar esse contato como destinatário, porque ele não tem e-mail 731 731 Unable to remove the message (s) of shared folders which you do not have permission. expressoMail1_2 pt-br Não foi possível remover as mensagens da(s) pastas compartilhadas as quais você não possui permissão. 732 Error processing some messages. expressoMail1_2 pt-br Erro ao processar algumas mensagens.
Note: See TracChangeset
for help on using the changeset viewer.