Ignore:
Timestamp:
10/29/10 13:14:32 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #1290 - Marcação de importante para mensagens na edição de filtros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.ScriptS.inc.php

    r3438 r3441  
    260260                $rejectused = 0; 
    261261                $notify = 0; 
     262                $flaggedused = 0; 
    262263                $newscriptbody = ""; 
    263264        $continue = 1; 
     
    384385                    $rejectused = 1; 
    385386                } 
    386                  
     387                if (preg_match("/flagged/i",$rule['action'])) 
     388                { 
     389                    $newruletext .= "addflag \"\\\\Flagged\";"; 
     390                    $flaggedused = 1; 
     391                } 
    387392                if (preg_match("/address/i",$rule['action'])) 
    388393                { 
     
    450455                        $newscripthead .= ",\"reject\""; 
    451456                } 
     457                if($flaggedused){ 
     458                        $newscripthead .= ",\"imapflags\""; 
     459                } 
    452460                if($this->newout && $vacation['status'] == 'on'){ 
    453461                    $newscripthead .= ",\"vacation\""; 
     
    481489                unset($regexused); 
    482490                unset($rejectused); 
     491                unset($flaggedused); 
    483492                unset($newscripthead); 
    484493                unset($newscriptbody); 
Note: See TracChangeset for help on using the changeset viewer.