mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21695 Replaced grade/keephigh.html
AMOS BEGIN MOV [keephighhelp,core_grades],[keephigh_help,core_grades] HLP grade/keephigh.html,[keephigh_help,core_grades] AMOS END
This commit is contained in:
parent
d75817e1dd
commit
2fcf41e6c0
@ -112,7 +112,7 @@ if (has_capability('moodle/grade:manage', $systemcontext)
|
||||
$defaults['value'] = 0;
|
||||
$defaults['forced'] = true;
|
||||
$temp->add(new admin_setting_gradecat_combo('grade_keephigh', get_string('keephigh', 'grades'),
|
||||
get_string('keephighhelp', 'grades'), $defaults, $options));
|
||||
get_string('keephigh_help', 'grades'), $defaults, $options));
|
||||
$defaults['forced'] = false;
|
||||
$temp->add(new admin_setting_gradecat_combo('grade_droplow', get_string('droplow', 'grades'),
|
||||
get_string('droplow_help', 'grades'), $defaults, $options));
|
||||
|
@ -85,7 +85,7 @@ class edit_category_form extends moodleform {
|
||||
}
|
||||
|
||||
$mform->addElement('select', 'keephigh', get_string('keephigh', 'grades'), $options);
|
||||
$mform->setHelpButton('keephigh', array('keephigh', get_string('keephigh', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('keephigh', 'keephigh', 'grades');
|
||||
if ((int)$CFG->grade_keephigh_flag & 2) {
|
||||
$mform->setAdvanced('keephigh');
|
||||
}
|
||||
|
@ -385,7 +385,7 @@ $string['itemnamehelp'] = 'The name of this item, pushed in by the module.';
|
||||
$string['items'] = 'Items';
|
||||
$string['itemsedit'] = 'Edit grade item';
|
||||
$string['keephigh'] = 'Keep the highest';
|
||||
$string['keephighhelp'] = 'If set, this option will only keep the X highest grades, X being the selected value for this option.';
|
||||
$string['keephigh_help'] = 'If set, this option will only keep the X highest grades, X being the selected value for this option.';
|
||||
$string['keymanager'] = 'Key manager';
|
||||
$string['lessthanmin'] = 'The grade entered for {$a->itemname} for {$a->username} is less than the minimum allowed';
|
||||
$string['letter'] = 'Letter';
|
||||
|
@ -1,2 +0,0 @@
|
||||
<h1>Keep the highest</h1>
|
||||
<p>If set, this option will only keep the X highest grades, X being the selected value for this option.</p>
|
Loading…
x
Reference in New Issue
Block a user