From a8f35db741d76096953a42e2f93c9b0b742146a4 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Mon, 7 Jun 2010 15:41:30 +0000 Subject: [PATCH] MDL-21695 Replaced grade/outcomestandard.html AMOS BEGIN HLP grade/outcomestandard.html,[outcomestandard_help,core_grades] AMOS END --- grade/edit/outcome/edit_form.php | 2 +- lang/en/grades.php | 3 +-- lang/en/help/grade/outcomestandard.html | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 lang/en/help/grade/outcomestandard.html diff --git a/grade/edit/outcome/edit_form.php b/grade/edit/outcome/edit_form.php index 06931a621fe..702f24083ca 100644 --- a/grade/edit/outcome/edit_form.php +++ b/grade/edit/outcome/edit_form.php @@ -38,7 +38,7 @@ class edit_outcome_form extends moodleform { $mform->setType('shortname', PARAM_NOTAGS); $mform->addElement('advcheckbox', 'standard', get_string('outcomestandard', 'grades')); - $mform->setHelpButton('standard', array('outcomestandard', get_string('outcomestandard'), 'grade')); + $mform->addHelpButton('standard', 'outcomestandard', 'grades'); $options = array(); diff --git a/lang/en/grades.php b/lang/en/grades.php index f359de62b4e..55285311056 100755 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -482,10 +482,9 @@ $string['outcomescoursenotused'] = 'Standard not used'; $string['outcomescourseused'] = 'Standard used (no remove)'; $string['outcomescustom'] = 'Custom outcomes'; $string['outcomesstandard'] = 'Standard outcomes'; -$string['outcomesstandard_help'] = 'A standard outcome is available site-wide, for all courses.'; $string['outcomesstandardavailable'] = 'Available standard outcomes'; $string['outcomestandard'] = 'Standard outcome'; -$string['outcomestandardhelp'] = 'A Standard outcome is available site-wide, for all courses.'; +$string['outcomestandard_help'] = 'A standard outcome is available site-wide, for all courses.'; $string['overallaverage'] = 'Overall average'; $string['overridden'] = 'Overridden'; $string['overridden_help'] = 'If ticked, the grade can no longer be changed from within the related activity. diff --git a/lang/en/help/grade/outcomestandard.html b/lang/en/help/grade/outcomestandard.html deleted file mode 100644 index db2904c2673..00000000000 --- a/lang/en/help/grade/outcomestandard.html +++ /dev/null @@ -1,2 +0,0 @@ -

Standard outcomes

-

A Standard outcome is available site-wide, for all courses.