diff --git a/grade/edit/tree/outcomeitem_form.php b/grade/edit/tree/outcomeitem_form.php index 40f5eb60b16..8d6f4a9148f 100644 --- a/grade/edit/tree/outcomeitem_form.php +++ b/grade/edit/tree/outcomeitem_form.php @@ -60,7 +60,7 @@ class edit_outcomeitem_form extends moodleform { } } $mform->addElement('select', 'cmid', get_string('linkedactivity', 'grades'), $options); - $mform->setHelpButton('cmid', array('linkedactivity', get_string('linkedactivity', 'grades'), 'grade'), true); + $mform->addHelpButton('cmid', 'linkedactivity', 'grades'); $mform->setDefault('cmid', 0); /// hiding diff --git a/lang/en/grades.php b/lang/en/grades.php index 58cb4650dd4..361d4c63dbe 100755 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -396,7 +396,6 @@ $string['letterreal'] = 'Letter (real)'; $string['letters'] = 'Letters'; $string['linkedactivity'] = 'Linked activity'; $string['linkedactivity_help'] = 'This setting specifies an activity to which this outcome item is linked. This may be used to measure student performance on criteria not assessed by the activity grade.'; -$string['linkedactivityhelp'] = 'Specifies an optional activity to which this outcome item is linked. This is used to measure student performance on criteria not assessed by the activity grade.'; $string['linktoactivity'] = 'Link to {$a->name} activity'; $string['lock'] = 'Lock'; $string['locked'] = 'Locked'; diff --git a/lang/en/help/grade/linkedactivity.html b/lang/en/help/grade/linkedactivity.html deleted file mode 100644 index 4538d169fb9..00000000000 --- a/lang/en/help/grade/linkedactivity.html +++ /dev/null @@ -1,2 +0,0 @@ -

Linked activity

-

Specifies an optional activity to which this outcome item is linked. This is used to measure student performance on criteria not assessed by the activity grade.