Skip to content

Commit

Permalink
MDL-13852 Fixed help string links. Merging from MOODLE_19_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Mar 10, 2008
1 parent 9c9a325 commit fe6caf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grade/edit/letter/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function definition() {
// 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'), 'grade'));
$mform->setHelpButton('override', array('overridesitedefaultgradedisplaytype', get_string('overridesitedefaultgradedisplaytype', 'grades'), 'grade'));
}

$gradeletterhelp = get_string('configgradeletter', 'grades');
Expand All @@ -56,7 +56,7 @@ function definition() {

$mform->addElement('text', $gradelettername, $gradeletter." $i");
if ($i == 1) {
$mform->setHelpButton($gradelettername, array('gradeletter', get_string('gradeletter'), 'grade'));
$mform->setHelpButton($gradelettername, array('gradeletter', get_string('gradeletter', 'grades'), 'grade'));
}
$mform->setType($gradelettername, PARAM_TEXT);

Expand All @@ -67,7 +67,7 @@ function definition() {

$mform->addElement('select', $gradeboundaryname, $gradeboundary." $i", $percentages);
if ($i == 1) {
$mform->setHelpButton($gradeboundaryname, array('gradeboundary', get_string('gradeboundary'), 'grade'));
$mform->setHelpButton($gradeboundaryname, array('gradeboundary', get_string('gradeboundary', 'grades'), 'grade'));
}
$mform->setDefault($gradeboundaryname, -1);
$mform->setType($gradeboundaryname, PARAM_INT);
Expand Down

0 comments on commit fe6caf1

Please sign in to comment.