MDL-23184 activity names are now either PARAM_TEXT or PARAM_CLEANHTML, this should be more accurate

This commit is contained in:
Petr Skoda 2010-09-02 18:29:39 +00:00
parent 93de0ac293
commit b8ea3041eb
16 changed files with 17 additions and 17 deletions

View file

@ -19,7 +19,7 @@ class mod_glossary_mod_form extends moodleform_mod {
if (!empty($CFG->formatstringstriptags)) {
$mform->setType('name', PARAM_TEXT);
} else {
$mform->setType('name', PARAM_CLEAN);
$mform->setType('name', PARAM_CLEANHTML);
}
$mform->addRule('name', null, 'required', null, 'client');
@ -127,7 +127,7 @@ class mod_glossary_mod_form extends moodleform_mod {
//-------------------------------------------------------------------------------
$this->standard_grading_coursemodule_elements();
$this->standard_coursemodule_elements();
//-------------------------------------------------------------------------------