]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13709 66 new lang files, and links to these help files have been updated wherever...
authornicolasconnault <nicolasconnault>
Mon, 3 Mar 2008 10:30:11 +0000 (10:30 +0000)
committernicolasconnault <nicolasconnault>
Mon, 3 Mar 2008 10:30:11 +0000 (10:30 +0000)
grade/edit/letter/edit_form.php

index 0be7ed4f1575471242fbd39c9e221d7fca7c55e1..7f0f66692fa007f0ee433423dd685614d394d82f 100644 (file)
@@ -37,7 +37,7 @@ class edit_letter_form extends moodleform {
         // Only show "override site defaults" checkbox if editing the course grade letters
         if (!$admin) {
             $mform->addElement('checkbox', 'override', get_string('overridesitedefaultgradedisplaytype', 'grades'));
-            $mform->setHelpButton('override', array('overridesitedefaultgradedisplaytype', get_string('overridesitedefaultgradedisplaytype')));
+            $mform->setHelpButton('override', array('overridesitedefaultgradedisplaytype', get_string('overridesitedefaultgradedisplaytype'), 'grade'));
         }
 
         $gradeletterhelp   = get_string('configgradeletter', 'grades');
@@ -56,7 +56,7 @@ class edit_letter_form extends moodleform {
 
             $mform->addElement('text', $gradelettername, $gradeletter." $i");
             if ($i == 1) {
-                $mform->setHelpButton($gradelettername, array('gradeletter', get_string('gradeletter')));
+                $mform->setHelpButton($gradelettername, array('gradeletter', get_string('gradeletter'), 'grade'));
             }
             $mform->setType($gradelettername, PARAM_TEXT);
             
@@ -67,7 +67,7 @@ class edit_letter_form extends moodleform {
 
             $mform->addElement('select', $gradeboundaryname, $gradeboundary." $i", $percentages);
             if ($i == 1) {
-                $mform->setHelpButton($gradeboundaryname, array('gradeboundary', get_string('boundary')));
+                $mform->setHelpButton($gradeboundaryname, array('gradeboundary', get_string('gradeboundary'), 'grade'));
             }
             $mform->setDefault($gradeboundaryname, -1);
             $mform->setType($gradeboundaryname, PARAM_INT);