MDL-21695 Replaced grade/gradeboundary.html

AMOS BEGIN
 HLP grade/gradeboundary.html,[gradeboundary_help,core_grades]
AMOS END
This commit is contained in:
David Mudrak 2010-05-27 20:54:47 +00:00
parent f960faf8df
commit 4d73fde141
4 changed files with 2 additions and 15 deletions

View file

@ -36,8 +36,6 @@ class edit_letter_form extends moodleform {
$mform->setHelpButton('override', array('overridesitedefaultgradedisplaytype', get_string('overridesitedefaultgradedisplaytype', 'grades'), 'grade')); $mform->setHelpButton('override', array('overridesitedefaultgradedisplaytype', get_string('overridesitedefaultgradedisplaytype', 'grades'), 'grade'));
} }
$gradeletterhelp = get_string('configgradeletter', 'grades');
$gradeboundaryhelp = get_string('configgradeboundary', 'grades');
$gradeletter = get_string('gradeletter', 'grades'); $gradeletter = get_string('gradeletter', 'grades');
$gradeboundary = get_string('gradeboundary', 'grades'); $gradeboundary = get_string('gradeboundary', 'grades');
@ -63,7 +61,7 @@ class edit_letter_form extends moodleform {
$mform->addElement('select', $gradeboundaryname, $gradeboundary." $i", $percentages); $mform->addElement('select', $gradeboundaryname, $gradeboundary." $i", $percentages);
if ($i == 1) { if ($i == 1) {
$mform->setHelpButton($gradeboundaryname, array('gradeboundary', get_string('gradeboundary', 'grades'), 'grade')); $mform->addHelpButton($gradeboundaryname, 'gradeboundary', 'grades');
} }
$mform->setDefault($gradeboundaryname, -1); $mform->setDefault($gradeboundaryname, -1);
$mform->setType($gradeboundaryname, PARAM_INT); $mform->setType($gradeboundaryname, PARAM_INT);

View file

@ -46,17 +46,9 @@ class grader_report_preferences_form extends moodleform {
$context = get_context_instance(CONTEXT_COURSE, $course->id); $context = get_context_instance(CONTEXT_COURSE, $course->id);
$systemcontext = get_context_instance(CONTEXT_SYSTEM); $systemcontext = get_context_instance(CONTEXT_SYSTEM);
$strgradeboundary = get_string('gradeboundary', 'grades');
$strconfiggradeboundary = get_string('configgradeboundary', 'grades');
$strgradeletter = get_string('gradeletter', 'grades');
$strconfiggradeletter = get_string('configgradeletter', 'grades');
$stryes = get_string('yes');
$strno = get_string('no');
$canviewhidden = has_capability('moodle/grade:viewhidden', $context); $canviewhidden = has_capability('moodle/grade:viewhidden', $context);
$checkbox_default = array(GRADE_REPORT_PREFERENCE_DEFAULT => '*default*', 0 => get_string('no'), 1 => get_string('yes'));
$checkbox_default = array(GRADE_REPORT_PREFERENCE_DEFAULT => '*default*', 0 => $strno, 1 => $stryes);
$advanced = array(); $advanced = array();
/// form definition with preferences defaults /// form definition with preferences defaults

View file

@ -120,7 +120,6 @@ $string['configcoursegradedisplaytype'] = 'Select the default display type of gr
$string['configdisablegradehistory'] = 'Disable history tracking of changes in grades related tables. This may speed up the server a little and conserve space in database.'; $string['configdisablegradehistory'] = 'Disable history tracking of changes in grades related tables. This may speed up the server a little and conserve space in database.';
$string['configenableoutcomes'] = 'Support for Outcomes (also known as Competencies, Goals, Standards or Criteria) means that we can grade things using one or more scales that are tied to outcome statements. Enabling outcomes makes such special grading possible throughout the site.'; $string['configenableoutcomes'] = 'Support for Outcomes (also known as Competencies, Goals, Standards or Criteria) means that we can grade things using one or more scales that are tied to outcome statements. Enabling outcomes makes such special grading possible throughout the site.';
$string['configfixedstudents'] = 'Allows grades to scroll horizontally without losing sight of the students column, by making it static.'; $string['configfixedstudents'] = 'Allows grades to scroll horizontally without losing sight of the students column, by making it static.';
$string['configgradeboundary'] = 'A percentage boundary over which grades will be assigned a grade letter (if the Letter grade display type is used).';
$string['configgradedisplaytype'] = 'Specifies how to display grades in the grader and user reports. Grades may be shown as actual grades, as percentages (in reference to the minimum and maximum grades) or as letters.'; $string['configgradedisplaytype'] = 'Specifies how to display grades in the grader and user reports. Grades may be shown as actual grades, as percentages (in reference to the minimum and maximum grades) or as letters.';
$string['configgradeexportdisplaytype'] = 'Grades can be shown as real grades, as percentages (in reference to the minimum and maximum grades) or as letters (A, B, C etc..) during export. This can be overridden during export.'; $string['configgradeexportdisplaytype'] = 'Grades can be shown as real grades, as percentages (in reference to the minimum and maximum grades) or as letters (A, B, C etc..) during export. This can be overridden during export.';
$string['configgradehistorylifetime'] = 'This specifies the length of time you want to keep history of changes in grade related tables. It is recommended to keep it as long as possible. If you experience performance problems or have limited database space, try to set lower value.'; $string['configgradehistorylifetime'] = 'This specifies the length of time you want to keep history of changes in grade related tables. It is recommended to keep it as long as possible. If you experience performance problems or have limited database space, try to set lower value.';

View file

@ -1,2 +0,0 @@
<h1>Grade boundary</h1>
<p>A percentage boundary over which grades will be assigned a grade letter (if the Letter grade display type is used). </p>