mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-55203' of https://github.com/mr-russ/moodle
This commit is contained in:
commit
cf36f123d5
@ -142,7 +142,7 @@ function tool_lp_coursemodule_standard_elements($formwrapper, $mform) {
|
||||
$mform->addElement('header', 'competenciessection', get_string('competencies', 'core_competency'));
|
||||
|
||||
MoodleQuickForm::registerElementType('course_competencies',
|
||||
"$CFG->dirroot/admin/tool/lp/classes/course_competencies_form_element.php",
|
||||
"$CFG->dirroot/$CFG->admin/tool/lp/classes/course_competencies_form_element.php",
|
||||
'tool_lp_course_competencies_form_element');
|
||||
$cmid = null;
|
||||
if ($cm = $formwrapper->get_coursemodule()) {
|
||||
@ -155,7 +155,7 @@ function tool_lp_coursemodule_standard_elements($formwrapper, $mform) {
|
||||
$mform->addElement('course_competencies', 'competencies', get_string('modcompetencies', 'tool_lp'), $options);
|
||||
$mform->addHelpButton('competencies', 'modcompetencies', 'tool_lp');
|
||||
MoodleQuickForm::registerElementType('course_competency_rule',
|
||||
"$CFG->dirroot/admin/tool/lp/classes/course_competency_rule_form_element.php",
|
||||
"$CFG->dirroot/$CFG->admin/tool/lp/classes/course_competency_rule_form_element.php",
|
||||
'tool_lp_course_competency_rule_form_element');
|
||||
// Reuse the same options.
|
||||
$mform->addElement('course_competency_rule', 'competency_rule', get_string('uponcoursemodulecompletion', 'tool_lp'), $options);
|
||||
|
Loading…
x
Reference in New Issue
Block a user