inherit by default decimal points in ranges and averages on grader report

This commit is contained in:
skodak 2007-10-09 09:29:45 +00:00
parent dff9d94d6e
commit d763511fdd

View file

@ -79,7 +79,7 @@ $settings->add(new admin_setting_configselect('grade_report_rangesdisplaytype',
GRADE_DISPLAY_TYPE_LETTER => $strletter))); GRADE_DISPLAY_TYPE_LETTER => $strletter)));
$settings->add(new admin_setting_configselect('grade_report_averagesdecimalpoints', get_string('averagesdecimalpoints', 'grades'), $settings->add(new admin_setting_configselect('grade_report_averagesdecimalpoints', get_string('averagesdecimalpoints', 'grades'),
get_string('configaveragesdecimalpoints', 'grades'), 2, get_string('configaveragesdecimalpoints', 'grades'), GRADE_REPORT_PREFERENCE_INHERIT,
array(GRADE_REPORT_PREFERENCE_INHERIT => $strinherit, array(GRADE_REPORT_PREFERENCE_INHERIT => $strinherit,
'0' => '0', '0' => '0',
'1' => '1', '1' => '1',
@ -88,7 +88,7 @@ $settings->add(new admin_setting_configselect('grade_report_averagesdecimalpoint
'4' => '4', '4' => '4',
'5' => '5'))); '5' => '5')));
$settings->add(new admin_setting_configselect('grade_report_rangesdecimalpoints', get_string('rangesdecimalpoints', 'grades'), $settings->add(new admin_setting_configselect('grade_report_rangesdecimalpoints', get_string('rangesdecimalpoints', 'grades'),
get_string('configrangesdecimalpoints', 'grades'), 2, get_string('configrangesdecimalpoints', 'grades'), GRADE_REPORT_PREFERENCE_INHERIT,
array(GRADE_REPORT_PREFERENCE_INHERIT => $strinherit, array(GRADE_REPORT_PREFERENCE_INHERIT => $strinherit,
'0' => '0', '0' => '0',
'1' => '1', '1' => '1',