Dotclear


Ignore:
Timestamp:
10/09/13 16:43:18 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Second step of contextual helps, closes #1760, now the help has to be completed.

Location:
plugins/antispam
Files:
12 added
5 edited

Legend:

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

    r2205 r2322  
    1616     public $name = 'IP Filter'; 
    1717     public $has_gui = true; 
     18     public $help = 'ip-filter'; 
    1819 
    1920     private $con; 
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    r2205 r2322  
    1616     public $name = 'IP Lookup'; 
    1717     public $has_gui = true; 
     18     public $help = 'iplookup-filter'; 
    1819 
    1920     private $default_bls = 'sbl-xbl.spamhaus.org , bsb.spamlookup.net'; 
  • plugins/antispam/filters/class.dc.filter.words.php

    r2205 r2322  
    1616     public $has_gui = true; 
    1717     public $name = 'Bad Words'; 
     18     public $help = 'words-filter'; 
    1819 
    1920     private $con; 
  • plugins/antispam/inc/class.dc.spamfilter.php

    r1179 r2322  
    1919     public $order = 100; 
    2020     public $auto_delete = false; 
     21     public $help = null; 
    2122      
    2223     protected $has_gui = false; 
     
    158159          return sprintf($link,$this->name,$url); 
    159160     } 
     161 
     162     public function help() 
     163     { 
     164     } 
    160165} 
    161166?> 
  • plugins/antispam/index.php

    r2256 r2322  
    138138 
    139139     echo $filter_gui; 
     140 
     141     if ($filter->help) { 
     142          dcPage::helpBlock($filter->help); 
     143     } 
    140144} 
    141145else 
     
    250254          '</ul>'; 
    251255     } 
    252 } 
     256 
     257     dcPage::helpBlock('antispam','antispam-filters'); 
     258} 
     259 
    253260?> 
    254261 
Note: See TracChangeset for help on using the changeset viewer.

Sites map