Dotclear


Ignore:
Timestamp:
11/17/13 20:25:53 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.6
Children:
2567:6c11245cbf04, 2568:61c67a7d17fa
Message:

Add some people in CREDITS, remove trailing spaces and tabs.

Location:
plugins/antispam/filters
Files:
4 edited

Legend:

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

    r2322 r2566  
    321321     } 
    322322} 
    323 ?> 
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    r2322 r2566  
    114114     } 
    115115} 
    116 ?> 
  • plugins/antispam/filters/class.dc.filter.linkslookup.php

    r1366 r2566  
    1515{ 
    1616     public $name = 'Links Lookup'; 
    17       
     17 
    1818     private $server = 'multi.surbl.org'; 
    19       
     19 
    2020     protected function setInfo() 
    2121     { 
    2222          $this->description = __('Checks links in comments against surbl.org'); 
    2323     } 
    24       
     24 
    2525     public function getStatusMessage($status,$comment_id) 
    2626     { 
    2727          return sprintf(__('Filtered by %1$s with server %2$s.'),$this->guiLink(),$status); 
    2828     } 
    29       
     29 
    3030     public function isSpam($type,$author,$email,$site,$ip,$content,$post_id,&$status) 
    3131     { 
     
    3333               return; 
    3434          } 
    35            
     35 
    3636          $urls = $this->getLinks($content); 
    3737          array_unshift($urls,$site); 
    38            
     38 
    3939          foreach ($urls as $u) 
    4040          { 
     
    5353                    $host = $domain_elem[$i - 1].'.'.$host; 
    5454                    $i--; 
    55                     if (substr(gethostbyname($host.'.'.$this->server),0,3) == "127" )  
     55                    if (substr(gethostbyname($host.'.'.$this->server),0,3) == "127" ) 
    5656                    { 
    5757                         $status = substr($domain,0,128); 
    5858                         return true; 
    59                     }                    
     59                    } 
    6060               } while ($i > 0); 
    6161          } 
    6262     } 
    63       
     63 
    6464     private function getLinks($text) 
    6565     { 
     
    7070     } 
    7171} 
    72 ?> 
  • plugins/antispam/filters/class.dc.filter.words.php

    r2322 r2566  
    362362     } 
    363363} 
    364 ?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map