From: nicolasconnault Date: Fri, 8 May 2009 06:30:46 +0000 (+0000) Subject: MDL-16416 Created a new help file including explanations of extra credit for both... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e3efd04c1e0471b17af9f1b2d6128f0a6928c604;p=moodle.git MDL-16416 Created a new help file including explanations of extra credit for both "Sum of Grades" and "Mean with extra credit" aggregation types. This is used on the "Edit categories and items" page. Merging from MOODLE_19_STABLE --- diff --git a/grade/edit/tree/lib.php b/grade/edit/tree/lib.php index 4f453b527b..b86f0fa7ee 100755 --- a/grade/edit/tree/lib.php +++ b/grade/edit/tree/lib.php @@ -593,7 +593,7 @@ class grade_edit_tree_column_aggregation extends grade_edit_tree_column_category class grade_edit_tree_column_extracredit extends grade_edit_tree_column { public function get_header_cell() { - return ''.get_string('extracredit', 'grades').helpbutton('aggregationcoefextra', 'aggregationcoefextra', 'grade', true, false, '', true).''; + return ''.get_string('extracredit', 'grades').helpbutton('aggregationcoefcombo', 'aggregationcoefcombo', 'grade', true, false, '', true).''; } public function get_category_cell($category, $levelclass, $params) { diff --git a/lang/en_utf8/help/grade/aggregationcoefcombo.html b/lang/en_utf8/help/grade/aggregationcoefcombo.html new file mode 100644 index 0000000000..51deddbb76 --- /dev/null +++ b/lang/en_utf8/help/grade/aggregationcoefcombo.html @@ -0,0 +1,25 @@ +

Extra credit

+

For Sum of Grades aggregation

+

When the "Sum of grades" aggregation strategy is used, a grade item can act as Extra credit for the category. This means that the grade item's maximum grade will not be added to the category total's maximum grade, but the item's grade will. Following is an example:

+ + +

For Weighted Mean of Grades (extra credit)

+

A value greater than 0 treats this grade item's grades as Extra credit during aggregation. The number is a factor by which the grade value will be multiplied before it is added to the sum of all grades, but the item itself will not be counted in the division. For example:

+ + +