MDL-51948 core: Patch core areas for LTR forms

Part of MDL-55071
This commit is contained in:
Frederic Massart
2016-09-23 10:55:14 +01:00
committed by Dan Poltawski
parent fc7f69e7e8
commit 525ef9c8b4
15 changed files with 41 additions and 65 deletions
+1
View File
@@ -32,6 +32,7 @@ class note_edit_form extends moodleform {
$mform->addElement('textarea', 'content', get_string('content', 'notes'), array('rows' => 15, 'cols' => 40));
$mform->setType('content', PARAM_RAW);
$mform->addRule('content', get_string('nocontent', 'notes'), 'required', null, 'client');
$mform->setForceLtr('content', false);
$mform->addElement('select', 'publishstate', get_string('publishstate', 'notes'), note_get_state_names());
$mform->setDefault('publishstate', NOTES_STATE_PUBLIC);