diff --git a/grade/edit/tree/outcomeitem_form.php b/grade/edit/tree/outcomeitem_form.php index 3ffa642753e..64aaa87b14b 100644 --- a/grade/edit/tree/outcomeitem_form.php +++ b/grade/edit/tree/outcomeitem_form.php @@ -48,7 +48,7 @@ class edit_outcomeitem_form extends moodleform { } $mform->addElement('selectwithlink', 'outcomeid', get_string('outcome', 'grades'), $options, null, array('link' => $CFG->wwwroot.'/grade/edit/outcome/course.php?id='.$COURSE->id, 'label' => get_string('outcomeassigntocourse', 'grades'))); - $mform->setHelpButton('outcomeid', array('outcomeid', get_string('outcomeid', 'grades'), 'grade'), true); + $mform->addHelpButton('outcomeid', 'outcome', 'grades'); $mform->addRule('outcomeid', get_string('required'), 'required'); $options = array(0=>get_string('none')); diff --git a/lang/en/grades.php b/lang/en/grades.php index 248c4f62e00..2529c4c432f 100755 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -466,7 +466,6 @@ $string['outcomecategorynew'] = 'New category'; $string['outcomeconfirmdelete'] = 'Are you sure you wish to delete the outcome "{$a}"?'; $string['outcomecreate'] = 'Add a new outcome'; $string['outcomedelete'] = 'Delete Outcome'; -$string['outcomeidhelp'] = 'Specifies the Outcome which this grade item will represent in the gradebook. Only outcomes associated with this course and site-wide outcomes are available'; $string['outcomeitem'] = 'Outcome item'; $string['outcomeitemsedit'] = 'Edit outcome item'; $string['outcomename'] = 'Outcome name'; diff --git a/lang/en/help/grade/outcomeid.html b/lang/en/help/grade/outcomeid.html deleted file mode 100644 index 352f2ecc97a..00000000000 --- a/lang/en/help/grade/outcomeid.html +++ /dev/null @@ -1,2 +0,0 @@ -

Outcome

-

Specifies the Outcome which this grade item will represent in the gradebook. Only outcomes associated with this course and site-wide outcomes are available