812
812
$label = is_null($customlabel) ? get_string('moduleintro') : $customlabel;
814
$mform->addElement('editor', 'introeditor', $label, array('rows' => 3), array('maxfiles' => EDITOR_UNLIMITED_FILES,
814
$mform->addElement('editor', 'introeditor', $label, array('rows' => 10), array('maxfiles' => EDITOR_UNLIMITED_FILES,
815
815
'noclean' => true, 'context' => $this->context, 'collapsed' => true));
816
816
$mform->setType('introeditor', PARAM_RAW); // no XSS prevention here, users must be trusted