Ignore:
Timestamp:
10/26/11 16:03:46 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #2295 - Filtro bloqueia recebimento de todos emails

Location:
branches/2.3/expressoMail1_2
Files:
2 edited

Legend:

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

    r4932 r5120  
    1717    var $continuebit; 
    1818    var $sizebit; 
    19     var $anyofbit; 
     19    var $allofbit; 
    2020    var $keepbit; 
    2121    var $regexbit; 
     
    4242        $this->continuebit  = 1; 
    4343        $this->sizebit      = 2; 
    44         $this->anyofbit     = 4; 
     44        $this->allofbit     = 4; 
    4545        $this->keepbit      = 8; 
    4646        $this->regexbit     = 128; 
     
    276276            $rule['continue']   = ($tmp1[8] & $this->continuebit); 
    277277            $rule['gthan']      = ($tmp1[8] & $this->sizebit); 
    278             $rule['anyof']      = ($tmp1[8] & $this->anyofbit); 
     278            $rule['allof']      = ($tmp1[8] & $this->allofbit); 
    279279            $rule['keep']       = ($tmp1[8] & $this->keepbit); 
    280280            $rule['regexp']     = ($tmp1[8] & $this->regexbit); 
     
    306306 
    307307                // Condições para montagem das regras; 
    308                 $anyall = "allof"; 
    309                 if ($rule['anyof']) 
    310                     $anyall = "anyof"; 
     308                $anyall = "anyof"; 
     309                if ($rule['allof']) 
     310                { 
     311                    $anyall = "allof"; 
     312                } 
     313                 
    311314                if ($rule['regexp']) { 
    312315                    $regexused = 1; 
  • branches/2.3/expressoMail1_2/js/filter.js

    r4851 r5120  
    315315                                         "<tr><td colspan='2'><b>"+get_lang("Criteria")+":</b></td></tr><tr>"+ 
    316316                                         "<td rowspan='4' width='20%'>"+get_lang('Find items')+":<br><select id='select_rules' name='select_rules'>"+ 
    317                                          "<option value='1'>"+get_lang("If any criterion is met")+"</option><option value='0'>"+get_lang("If all criteria is met")+"</option>"+ 
     317                                         "<option value='0'>"+get_lang("If any criterion is met")+"</option><option value='1'>"+get_lang("If all criteria is met")+"</option>"+ 
    318318                                         "</select></td><td>"+get_lang('The field \"%1\" of the message it contains',get_lang('From'))+".: <input type='text' id='field1' name='field1' size='35' maxlength='200'></td>"+ 
    319319                                                "</tr><tr><td>"+get_lang('The field \"%1\" of the message it contains', get_lang('To'))+".: <input type='text' id='field2' name='field2' size='35' maxlength='200'></td>"+ 
Note: See TracChangeset for help on using the changeset viewer.