MDL-21695 Replacing grade/aggregatesubcats.html

AMOS BEGIN
 HLP grade/aggregatesubcats.html,[aggregatesubcats_help,core_grades]
AMOS END
This commit is contained in:
David Mudrak 2010-05-21 13:45:55 +00:00
parent 53267b7970
commit 75dc321807
4 changed files with 2 additions and 5 deletions

View File

@ -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++) {

View File

@ -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');

View File

@ -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';

View File

@ -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>