]> git.mjollnir.org Git - moodle.git/commit
trusttext:
authorskodak <skodak>
Sat, 26 Aug 2006 13:00:07 +0000 (13:00 +0000)
committerskodak <skodak>
Sat, 26 Aug 2006 13:00:07 +0000 (13:00 +0000)
commit7d8a3cb06ae45ccb4d39e60c563ff712cc1dd536
tree680f0d2782cc858a7636e222f8303cdaf5c09ad7
parent8618b509fd52a06dfe55eddaa0bb95a60d87a5d4
trusttext:
 * proposed by Martin Dougiamas
 * implemented by skodak

Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...

done:
 * core
 * glossary (without proper upgrade)

to do:
 * data cleaning in upgrades
 * forum, blocks and some other places (MD decides)
12 files changed:
admin/configvars.php
admin/settings/authenticationandsecurity.php
lib/db/access.php
lib/defaults.php
lib/weblib.php
mod/glossary/comment.html
mod/glossary/comment.php
mod/glossary/edit.html
mod/glossary/edit.php
mod/glossary/import.php
mod/glossary/lib.php
version.php