From: skodak Date: Tue, 9 Oct 2007 09:29:45 +0000 (+0000) Subject: inherit by default decimal points in ranges and averages on grader report X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d763511fdd483b5e2339cd4b2ec94f39341067b6;p=moodle.git inherit by default decimal points in ranges and averages on grader report --- diff --git a/grade/report/grader/settings.php b/grade/report/grader/settings.php index 4637c6981c..dd5d0017c3 100644 --- a/grade/report/grader/settings.php +++ b/grade/report/grader/settings.php @@ -79,7 +79,7 @@ $settings->add(new admin_setting_configselect('grade_report_rangesdisplaytype', GRADE_DISPLAY_TYPE_LETTER => $strletter))); $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, '0' => '0', '1' => '1', @@ -88,7 +88,7 @@ $settings->add(new admin_setting_configselect('grade_report_averagesdecimalpoint '4' => '4', '5' => '5'))); $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, '0' => '0', '1' => '1',