moodle/filter/censor
stronk7 32be01392d Changed to use the new replacementphrase attribute so
bad words are replaced with a strlen(phrase) number
of **** characters. Bug 3605
(http://moodle.org/bugs/bug.php?op=show&bugid=3605)

Merged from MOODLE_15_STABLE
2005-06-22 23:34:26 +00:00
..
filter.php Changed to use the new replacementphrase attribute so 2005-06-22 23:34:26 +00:00
README.txt Add a simple README 2003-10-16 09:39:18 +00:00

//////////////////////////
//                      //
//  Censorship Filter   //
//                      //
//////////////////////////

This is a very simple Text Filter that searches text 
being output to the screen, replacing "bad" words 
with other words.

To activate this filter, add a line like this to your
config.php:

   $CFG->textfilter1 = 'filter/censor/censor.php';


To customise the word list, edit cursor.php.