MDL-13709 66 new lang files, and links to these help files have been updated wherever found. Merging from MOODLE_19_STABLE

This commit is contained in:
nicolasconnault 2008-03-03 10:30:11 +00:00
parent 4de3322dc8
commit e61c1bee67

View 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);