Go to the source code of this file.
Functions |
| | search_spammers ($keywords) |
| | Functions.
|
| | print_user_list ($users_rs, $keywords) |
| | filter_user ($user, $keywords, $count) |
| | print_user_entry ($user, $keywords, $count) |
Variables |
| | $autokeywords |
| | $keyword = optional_param('keyword', '', PARAM_RAW) |
| | $autodetect = optional_param('autodetect', '', PARAM_RAW) |
| | $del = optional_param('del', '', PARAM_RAW) |
| | $delall = optional_param('delall', '', PARAM_RAW) |
| | $ignore = optional_param('ignore', '', PARAM_RAW) |
| | $reset = optional_param('reset', '', PARAM_RAW) |
| | $id = optional_param('id', '', PARAM_INT) |
| | $strings = Array('spaminvalidresult','spamdeleteallconfirm','spamcannotdelete','spamdeleteconfirm') |
| if(!empty($keyword)) else | if (!empty($autodetect)) |
Function Documentation
Variable Documentation
Initial value: array(
"<img",
"fuck",
"casino",
"porn",
"xxx",
"cialis",
"viagra",
"poker",
"warcraft"
)
Spam Cleaner
Helps an admin to clean up spam in Moodle
- Authors:
- Dongsheng Cai, Martin Dougiamas, Amr Hourani http://www.gnu.org/copyleft/gpl.html GNU Public License
Definition at line 22 of file index.php.
| $strings = Array('spaminvalidresult','spamdeleteallconfirm','spamcannotdelete','spamdeleteconfirm') |
| if (!empty($keyword)) else if(!empty($autodetect)) |