Files
moodle/filter/censor
stronk7 6add2dbfc7 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)
2005-06-22 23:33:08 +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.