From 97fecb213c91a2738743160ee38256e9836a0fa5 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Thu, 27 May 2010 20:22:18 +0000 Subject: [PATCH] MDL-21695 Replaced grade/excluded.html AMOS BEGIN HLP grade/excluded.html,[excluded_help,core_grades] AMOS END --- grade/edit/tree/grade_form.php | 2 +- lang/en/grades.php | 1 - lang/en/help/grade/excluded.html | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 lang/en/help/grade/excluded.html 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 @@ -

Excluded grades

-

If -excluded- is switched on, this grade will be excluded from any aggregation performed by any parent grade item or category.