mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21695 Replacing grade/aggregatesubcats.html
AMOS BEGIN HLP grade/aggregatesubcats.html,[aggregatesubcats_help,core_grades] AMOS END
This commit is contained in:
parent
53267b7970
commit
75dc321807
@ -102,7 +102,7 @@ if (has_capability('moodle/grade:manage', $systemcontext)
|
||||
$temp->add(new admin_setting_gradecat_combo('grade_aggregateoutcomes', get_string('aggregateoutcomes', 'grades'),
|
||||
get_string('aggregateoutcomes_help', 'grades'), $defaults, $options));
|
||||
$temp->add(new admin_setting_gradecat_combo('grade_aggregatesubcats', get_string('aggregatesubcats', 'grades'),
|
||||
get_string('aggregatesubcatshelp', 'grades'), $defaults, $options));
|
||||
get_string('aggregatesubcats_help', 'grades'), $defaults, $options));
|
||||
|
||||
$options = array(0 => get_string('none'));
|
||||
for ($i=1; $i<=20; $i++) {
|
||||
|
@ -72,7 +72,7 @@ class edit_category_form extends moodleform {
|
||||
}
|
||||
|
||||
$mform->addElement('advcheckbox', 'aggregatesubcats', get_string('aggregatesubcats', 'grades'));
|
||||
$mform->setHelpButton('aggregatesubcats', array('aggregatesubcats', get_string('aggregatesubcats', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('aggregatesubcats', 'aggregatesubcats', 'grades');
|
||||
|
||||
if ((int)$CFG->grade_aggregatesubcats_flag & 2) {
|
||||
$mform->setAdvanced('aggregatesubcats');
|
||||
|
@ -49,7 +49,6 @@ $string['aggregateoutcomes_help'] = 'If enabled, outcomes are included in the ag
|
||||
$string['aggregatesonly'] = 'Aggregates only';
|
||||
$string['aggregatesubcats'] = 'Aggregate including subcategories';
|
||||
$string['aggregatesubcats_help'] = 'This setting determines whether grades in subcategories are included in the aggregation.';
|
||||
$string['aggregatesubcatshelp'] = 'The aggregation is usually done only with immediate children, it is also possible to aggregate including individual grades in all subcategories excluding other aggregated grades.';
|
||||
$string['aggregatesum'] = 'Sum of grades';
|
||||
$string['aggregateweightedmean'] = 'Weighted mean of grades';
|
||||
$string['aggregateweightedmean2'] = 'Simple weighted mean of grades';
|
||||
|
@ -1,2 +0,0 @@
|
||||
<h1>Aggregate including subcategories</h1>
|
||||
<p>The aggregation is usually done only with immediate children, it is also possible to aggregate including individual grades in all subcategories excluding other aggregated grades.</p>
|
Loading…
x
Reference in New Issue
Block a user