mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21695 Replaced grade/droplow.html
AMOS BEGIN HLP grade/droplow.html,[droplow_help,core_grades] AMOS END
This commit is contained in:
parent
1155b8dbfe
commit
b37760fcf8
@ -115,7 +115,7 @@ if (has_capability('moodle/grade:manage', $systemcontext)
|
||||
get_string('keephighhelp', 'grades'), $defaults, $options));
|
||||
$defaults['forced'] = false;
|
||||
$temp->add(new admin_setting_gradecat_combo('grade_droplow', get_string('droplow', 'grades'),
|
||||
get_string('droplowhelp', 'grades'), $defaults, $options));
|
||||
get_string('droplow_help', 'grades'), $defaults, $options));
|
||||
}
|
||||
$ADMIN->add('grades', $temp);
|
||||
|
||||
|
@ -91,7 +91,7 @@ class edit_category_form extends moodleform {
|
||||
}
|
||||
|
||||
$mform->addElement('select', 'droplow', get_string('droplow', 'grades'), $options);
|
||||
$mform->setHelpButton('droplow', array('droplow', get_string('droplow', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('droplow', 'droplow', 'grades');
|
||||
$mform->disabledIf('droplow', 'keephigh', 'noteq', 0);
|
||||
if ((int)$CFG->grade_droplow_flag & 2) {
|
||||
$mform->setAdvanced('droplow');
|
||||
|
@ -935,7 +935,7 @@ class grade_edit_tree_column_droplow extends grade_edit_tree_column_category {
|
||||
public function get_header_cell() {
|
||||
global $OUTPUT;
|
||||
$headercell = clone($this->headercell);
|
||||
$headercell->text = get_string('droplow', 'grades').$OUTPUT->old_help_icon('droplow', 'droplow', 'grade');
|
||||
$headercell->text = get_string('droplow', 'grades').$OUTPUT->help_icon('droplow', 'grades');
|
||||
return $headercell;
|
||||
}
|
||||
|
||||
|
@ -186,7 +186,6 @@ $string['displayweighted'] = 'Display weighted grades';
|
||||
$string['dropdown'] = 'Dropdown menu';
|
||||
$string['droplow'] = 'Drop the lowest';
|
||||
$string['droplow_help'] = 'This setting enables a specified number of the lowest grades to be excluded from the aggregation.';
|
||||
$string['droplowhelp'] = 'If set, this option will drop the X lowest grades, X being the selected value for this option.';
|
||||
$string['dropped'] = 'Dropped';
|
||||
$string['dropxlowest'] = 'Drop X lowest';
|
||||
$string['dropxlowestwarning'] = 'Note: If you use drop x lowest the grading assumes that all items in the category have the same point value. If point values differ results will be unpredictable';
|
||||
|
@ -1,2 +0,0 @@
|
||||
<h1>Drop the lowest</h1>
|
||||
<p>If set, this option will drop the X lowest grades, X being the selected value for this option.</p>
|
Loading…
x
Reference in New Issue
Block a user