mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-21695 Bye bye help/course*.html and help/rolerenaming.html, we have better friends now
This commit is contained in:
parent
9f48fa3789
commit
5fb882193f
20 changed files with 5 additions and 215 deletions
|
@ -60,12 +60,12 @@ class course_request_form extends moodleform {
|
|||
$mform->setType('fullname', PARAM_MULTILANG);
|
||||
|
||||
$mform->addElement('text', 'shortname', get_string('shortname'), 'maxlength="100" size="20"');
|
||||
$mform->setHelpButton('shortname', array('courseshortname', get_string('shortname')), true);
|
||||
$mform->addHelpButton('shortname', 'shortnamecourse');
|
||||
$mform->addRule('shortname', get_string('missingshortname'), 'required', null, 'client');
|
||||
$mform->setType('shortname', PARAM_MULTILANG);
|
||||
|
||||
$mform->addElement('editor', 'summary_editor', get_string('summary'), null, course_request::summary_editor_options());
|
||||
$mform->setHelpButton('summary_editor', array('text2', get_string('helptext')), true);
|
||||
$mform->addHelpButton('summary_editor', 'coursesummary');
|
||||
$mform->setType('summary_editor', PARAM_RAW);
|
||||
|
||||
$mform->addElement('passwordunmask', 'password', get_string('enrolmentkey'), 'size="25"');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue