MDL-21695 Replaced grade/gradeletter.html
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 31 May 2010 13:39:13 +0000 (13:39 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 31 May 2010 13:39:13 +0000 (13:39 +0000)
AMOS BEGIN
 HLP grade/gradeletter.html,[gradeletter_help,core_grades]
AMOS END

grade/edit/letter/edit_form.php
lang/en/grades.php
lang/en/help/grade/gradeletter.html [deleted file]

index 37c6b14..7d85647 100644 (file)
@@ -50,7 +50,7 @@ class edit_letter_form extends moodleform {
 
             $mform->addElement('text', $gradelettername, $gradeletter." $i");
             if ($i == 1) {
-                $mform->setHelpButton($gradelettername, array('gradeletter', get_string('gradeletter', 'grades'), 'grade'));
+                $mform->addHelpButton($gradelettername, 'gradeletter', 'grades');
             }
             $mform->setType($gradelettername, PARAM_TEXT);
 
index 7f3fd3f..42974d4 100755 (executable)
@@ -282,7 +282,6 @@ $string['gradeitemsettings'] = 'Grade item settings';
 $string['gradeitemsinc'] = 'Grade items to be included';
 $string['gradeletter'] = 'Grade letter';
 $string['gradeletter_help'] = 'Grade letters are letters, A, B, C, ..., or words, for example Distinction, Merit, Pass, ..., used to represent a range of grades.';
-$string['gradeletterhelp'] = 'Grade letter Help';
 $string['gradeletternote'] = 'To delete a grade letter just empty any of the<br /> three text areas for that letter and click submit.';
 $string['gradeletters'] = 'Grade letters';
 $string['gradelocked'] = 'Grade is locked';
diff --git a/lang/en/help/grade/gradeletter.html b/lang/en/help/grade/gradeletter.html
deleted file mode 100644 (file)
index 0b00768..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<h1>Grade letters</h1>
-<p>A letter or other symbol used to represent a range of grades.</p>