mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-66900' of https://github.com/paulholden/moodle
This commit is contained in:
commit
06f900daff
@ -75,6 +75,7 @@ class core_course_editcategory_form extends moodleform {
|
||||
|
||||
$mform->addElement('editor', 'description_editor', get_string('description'), null,
|
||||
$this->get_description_editor_options());
|
||||
$mform->setType('description_editor', PARAM_RAW);
|
||||
|
||||
if (!empty($CFG->allowcategorythemes)) {
|
||||
$themes = array(''=>get_string('forceno'));
|
||||
@ -105,7 +106,8 @@ class core_course_editcategory_form extends moodleform {
|
||||
return array(
|
||||
'maxfiles' => EDITOR_UNLIMITED_FILES,
|
||||
'maxbytes' => $CFG->maxbytes,
|
||||
'trusttext' => true,
|
||||
'trusttext' => false,
|
||||
'noclean' => true,
|
||||
'context' => $context,
|
||||
'subdirs' => file_area_contains_subdirs($context, 'coursecat', 'description', $itemid),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user