Commit graph

20 commits

Author SHA1 Message Date
dongsheng
9e3f34d1c7 "FILTER/MDL-14582, filters 2.0, compatible with old filters" 2008-12-19 02:16:00 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
poltawski
4b991ddd18 Adding a comment pointing to MDL-3964 which explains why we leave the
badword in the filter span title (as I almost 'fixed it' so it couldn't
be hovered over)
2007-11-13 20:03:27 +00:00
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
stronk7
dbaa905e10 Now all the filters global config pages are valid XML. Related to MDL-7861 2007-01-13 20:15:09 +00:00
thepurpleblob
e9512cdda9 Added ability to reset to default. Bug #4123 2006-02-06 16:36:28 +00:00
thepurpleblob
afaf622902 If no custom list is specified, the default list from the language pack
will be used instead. It works out-of-the-box (again!).
2005-08-26 08:33:59 +00:00
moodler
ff8f90c759 Merged from stable 2005-07-30 15:54:32 +00:00
thepurpleblob
ee780c2d80 Added configuration screen for bad words list. 2005-07-26 13:06:44 +00:00
thepurpleblob
bf9760c4a8 Provide setup screen for the censor bad words list. Note that for decencies
sake, I have decided to start with a blank word list rather than use the
provided one which may shock the unwary!
2005-07-26 13:05:13 +00:00
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
moodler
bde0832a23 Moved badwords list to censor.php file (bug 3164) 2005-05-08 15:10:17 +00:00
ikawhero
748105767f Just so we can put spaces in the bad words string. 2005-03-26 03:03:26 +00:00
moodler
dc15cff35a Modern version :-) 2005-03-05 11:53:46 +00:00
moodler
e661425c2b Use a customised style for censored words 2005-03-05 03:41:00 +00:00
moodler
fc34bbe886 Improved censor
- now blacks out words using styles
  - gets the words from the language pack
2005-03-05 03:32:38 +00:00
moodler
df1c46115b Improvement to filters, providing speed boost AND better compatibility
with Turck MMCache.

Filter function must now have a particular name

   eg resource_filter

where "resource" is the name of the directory that filter.php is in.
2004-08-08 06:57:44 +00:00
moodler
4da85078e9 Changed the name of all filters to be consistent.
Removed texh filter
2004-02-17 05:22:26 +00:00
moodler
b81789c55b Add a simple README 2003-10-16 09:39:18 +00:00
moodler
3e6525ba88 A very simple filter to censor "bad" words.
Also provides an example of how to write filters.
2003-10-16 09:33:27 +00:00