mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-50142 user: context sensitive help
Added context sensitive help to Edit Profile > Text Editor
This commit is contained in:
parent
35d3e8b00b
commit
f611319ed4
@ -1826,6 +1826,7 @@ $string['teacheronly'] = 'for the {$a} only';
|
||||
$string['teacherroles'] = '{$a} roles';
|
||||
$string['teachers'] = 'Teachers';
|
||||
$string['textediting'] = 'Text editor';
|
||||
$string['textediting_help'] = 'Use this option to select the editor that you would like to use when entering text. This will include, but is not limited to, areas such as labels, descriptions, and summaries. If you select "Plain text area", all text entry areas with allow you to use HTML format, Moodle auto-format, Plain text format, or Markdown format.';
|
||||
$string['texteditor'] = 'Use standard web forms';
|
||||
$string['textformat'] = 'Plain text format';
|
||||
$string['thanks'] = 'Thanks';
|
||||
|
@ -55,6 +55,7 @@ class user_edit_editor_form extends moodleform {
|
||||
$choices[$editor] = get_string('pluginname', 'editor_' . $editor);
|
||||
}
|
||||
$mform->addElement('select', 'preference_htmleditor', get_string('textediting'), $choices);
|
||||
$mform->addHelpButton('preference_htmleditor', 'textediting');
|
||||
$mform->setDefault('preference_htmleditor', '');
|
||||
} else {
|
||||
// Empty string means use the first chosen text editor.
|
||||
|
Loading…
x
Reference in New Issue
Block a user