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"');
|
||||
|
|
|
@ -10,7 +10,7 @@ class course_reset_form extends moodleform {
|
|||
$mform->addElement('header', 'generalheader', get_string('general'));
|
||||
|
||||
$mform->addElement('date_selector', 'reset_start_date', get_string('startdate'), array('optional'=>true));
|
||||
$mform->setHelpButton('reset_start_date', array('coursestartdate', get_string('startdate')));
|
||||
$mform->addHelpButton('reset_start_date', 'startdate');
|
||||
$mform->addElement('checkbox', 'reset_events', get_string('deleteevents', 'calendar'));
|
||||
$mform->addElement('checkbox', 'reset_logs', get_string('deletelogs'));
|
||||
$mform->addElement('checkbox', 'reset_notes', get_string('deletenotes', 'notes'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue