diff --git a/grade/edit/tree/grade_form.php b/grade/edit/tree/grade_form.php index 649be5de8df..f0423ed6bf9 100755 --- a/grade/edit/tree/grade_form.php +++ b/grade/edit/tree/grade_form.php @@ -82,7 +82,7 @@ class edit_grade_form extends moodleform { } else { $mform->addElement('advcheckbox', 'excluded', get_string('excluded', 'grades')); } - $mform->setHelpButton('excluded', array('excluded', get_string('excluded', 'grades'), 'grade')); + $mform->addHelpButton('excluded', 'excluded', 'grades'); /// hiding /// advcheckbox is not compatible with disabledIf !! diff --git a/lang/en/grades.php b/lang/en/grades.php index f98645ffb78..b957f28a068 100755 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -219,7 +219,6 @@ $string['errorupdatinggradecategoryaggregation'] = 'Error updating the aggregati $string['errorupdatinggradeitemaggregationcoef'] = 'Error updating the aggregation coefficient (weight or extra credit) of grade item ID {$a->id}'; $string['excluded'] = 'Excluded'; $string['excluded_help'] = 'If ticked, the grade will not be included in any aggregation.'; -$string['excludedhelp'] = 'If -excluded- is switched on, this grade will be excluded from any aggregation performed by any parent grade item or category.'; $string['expand'] = 'Expand Category'; $string['export'] = 'Export'; $string['exportalloutcomes'] = 'Export all outcomes'; diff --git a/lang/en/help/grade/excluded.html b/lang/en/help/grade/excluded.html deleted file mode 100644 index c044857de9b..00000000000 --- a/lang/en/help/grade/excluded.html +++ /dev/null @@ -1,2 +0,0 @@ -
If -excluded- is switched on, this grade will be excluded from any aggregation performed by any parent grade item or category.