Dotclear


Ignore:
Timestamp:
08/19/13 09:55:29 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Parents:
1466:e67efe636ce1 (diff), 1467:917fc08f3a59 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge 2.5 commits into default branch (should be verified)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    r1454 r1468  
    4444          } 
    4545 
    46           $match = array(); 
    47  
    4846          $bls = $this->getServers(); 
    4947          $bls = preg_split('/\s*,\s*/',$bls); 
    5048 
    51           foreach ($bls as $bl) 
    52           { 
     49          foreach ($bls as $bl) { 
    5350               if ($this->dnsblLookup($ip,$bl)) { 
    54                     $match[] = $bl; 
     51                    // Pass by reference $status to contain matching DNSBL 
     52                    $status = $bl; 
     53                    return true; 
    5554               } 
    56           } 
    57  
    58           if (!empty($match)) { 
    59                $status = substr(implode(', ',$match),0,128); 
    60                return true; 
    6155          } 
    6256     } 
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    r1361 r1468  
    7878          '<form action="'.html::escapeURL($url).'" method="post">'. 
    7979          '<fieldset><legend>' . __('IP Lookup servers') . '</legend>'. 
    80           '<p><label for="bls">'.__('Add here a coma separated list of servers.'). 
     80          '<p><label for="bls">'.__('Add here a coma separated list of servers.').'</label>'. 
    8181          form::textarea('bls',40,3,html::escapeHTML($bls),'maximal'). 
    8282          '</p>'. 
    83           '<p><input type="submit" value="'.__('Save').'" /></label></p>'. 
     83          '<p><input type="submit" value="'.__('Save').'" /></p>'. 
    8484          $this->core->formNonce().'</p>'. 
    8585          '</fieldset>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map