MDL-21695 Replaced grade/decimalpoints.html
AMOS BEGIN HLP grade/decimalpoints.html,[decimalpoints_help,core_grades] AMOS END
This commit is contained in:
@@ -90,7 +90,7 @@ class course_settings_form extends moodleform {
|
||||
|
||||
$options = array(-1=> get_string('defaultprev', 'grades', $CFG->grade_decimalpoints), 0=>0, 1=>1, 2=>2, 3=>3, 4=>4, 5=>5);
|
||||
$mform->addElement('select', 'decimalpoints', get_string('decimalpoints', 'grades'), $options);
|
||||
$mform->setHelpButton('decimalpoints', array('decimalpoints', get_string('decimalpoints', 'grades'), 'grade'));
|
||||
$mform->addHelpButton('decimalpoints', 'decimalpoints', 'grades');
|
||||
|
||||
// add setting options for plugins
|
||||
$types = array('report', 'export', 'import');
|
||||
|
||||
@@ -189,7 +189,7 @@ class edit_category_form extends moodleform {
|
||||
$default_gradedecimals = grade_get_setting($COURSE->id, 'decimalpoints', $CFG->grade_decimalpoints);
|
||||
$options = array(-1=>get_string('defaultprev', 'grades', $default_gradedecimals), 0=>0, 1=>1, 2=>2, 3=>3, 4=>4, 5=>5);
|
||||
$mform->addElement('select', 'grade_item_decimals', get_string('decimalpoints', 'grades'), $options);
|
||||
$mform->setHelpButton('grade_item_decimals', array('decimalpoints', get_string('decimalpoints', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('grade_item_decimals', 'decimalpoints', 'grades');
|
||||
$mform->setDefault('grade_item_decimals', -1);
|
||||
$mform->disabledIf('grade_item_decimals', 'grade_item_display', 'eq', GRADE_DISPLAY_TYPE_LETTER);
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ class edit_item_form extends moodleform {
|
||||
$default_gradedecimals = grade_get_setting($COURSE->id, 'decimalpoints', $CFG->grade_decimalpoints);
|
||||
$options = array(-1=>get_string('defaultprev', 'grades', $default_gradedecimals), 0=>0, 1=>1, 2=>2, 3=>3, 4=>4, 5=>5);
|
||||
$mform->addElement('select', 'decimals', get_string('decimalpoints', 'grades'), $options);
|
||||
$mform->setHelpButton('decimals', array('decimalpoints', get_string('decimalpoints', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('decimals', 'decimalpoints', 'grades');
|
||||
$mform->setDefault('decimals', -1);
|
||||
$mform->disabledIf('decimals', 'display', 'eq', GRADE_DISPLAY_TYPE_LETTER);
|
||||
if ($default_gradedisplaytype == GRADE_DISPLAY_TYPE_LETTER) {
|
||||
|
||||
@@ -117,7 +117,6 @@ $string['categorytotalfull'] = '{$a->category} total';
|
||||
$string['combo'] = 'Tabs and Dropdown menu';
|
||||
$string['compact'] = 'Compact';
|
||||
$string['configcoursegradedisplaytype'] = 'Select the default display type of grades for this course. You can also select the site default value. Grades can be shown as real grades, as percentages (in reference to the minimum and maximum grades) or as letters (A, B, C etc..). Selecting Letters will allow you to define your own grade letters and boundaries.';
|
||||
$string['configdecimalpoints'] = 'Specifies the number of decimal points to display for each grade. This setting may be overridden per grading item.';
|
||||
$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['configexportdecimalpoints'] = 'The number of decimal points to display for export. This can be overridden during export.';
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
<h1>Overall decimal points</h1>
|
||||
<p>Specifies the number of decimal points to display for each grade. This setting has no effect on grade calculations, which are made with an accuracy of 5 decimal places.</p>
|
||||
Reference in New Issue
Block a user