mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-21695 Replaced grade/multfactor.html
AMOS BEGIN HLP grade/multfactor.html,[multfactor_help,core_grades] AMOS END
This commit is contained in:
parent
ad01096c16
commit
d4a11ee52a
@ -89,7 +89,7 @@ class edit_item_form extends moodleform {
|
|||||||
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_TEXT);
|
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_TEXT);
|
||||||
|
|
||||||
$mform->addElement('text', 'multfactor', get_string('multfactor', 'grades'));
|
$mform->addElement('text', 'multfactor', get_string('multfactor', 'grades'));
|
||||||
$mform->setHelpButton('multfactor', array('multfactor', get_string('multfactor', 'grades'), 'grade'), true);
|
$mform->addHelpButton('multfactor', 'multfactor', 'grades');
|
||||||
$mform->setAdvanced('multfactor');
|
$mform->setAdvanced('multfactor');
|
||||||
$mform->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_NONE);
|
$mform->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_NONE);
|
||||||
$mform->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_TEXT);
|
$mform->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_TEXT);
|
||||||
|
@ -1007,7 +1007,7 @@ class grade_edit_tree_column_multfactor extends grade_edit_tree_column {
|
|||||||
public function get_header_cell() {
|
public function get_header_cell() {
|
||||||
global $OUTPUT;
|
global $OUTPUT;
|
||||||
$headercell = clone($this->headercell);
|
$headercell = clone($this->headercell);
|
||||||
$headercell->text = get_string('multfactor', 'grades').$OUTPUT->old_help_icon('multfactor', 'multfactor', 'grade');
|
$headercell->text = get_string('multfactor', 'grades').$OUTPUT->help_icon('multfactor', 'grades');
|
||||||
return $headercell;
|
return $headercell;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -423,7 +423,6 @@ $string['moveselectedto'] = 'Move selected items to';
|
|||||||
$string['movingelement'] = 'Moving {$a}';
|
$string['movingelement'] = 'Moving {$a}';
|
||||||
$string['multfactor'] = 'Multiplicator';
|
$string['multfactor'] = 'Multiplicator';
|
||||||
$string['multfactor_help'] = 'The multiplicator is the factor by which all grades for this grade item will be multiplied, with a maximum value of the maximum grade. For example, if the multiplicator is 2 and the maximum grade is 100, then all grades less than 50 are multiplied by 2, and all grades 50 and above are changed to 100.';
|
$string['multfactor_help'] = 'The multiplicator is the factor by which all grades for this grade item will be multiplied, with a maximum value of the maximum grade. For example, if the multiplicator is 2 and the maximum grade is 100, then all grades less than 50 are multiplied by 2, and all grades 50 and above are changed to 100.';
|
||||||
$string['multfactorhelp'] = 'Factor by which all grades for this grade item will be multiplied.';
|
|
||||||
$string['mypreferences'] = 'My preferences';
|
$string['mypreferences'] = 'My preferences';
|
||||||
$string['myreportpreferences'] = 'My report preferences';
|
$string['myreportpreferences'] = 'My report preferences';
|
||||||
$string['navmethod'] = 'Navigation method';
|
$string['navmethod'] = 'Navigation method';
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
<h1>Multiplicator</h1>
|
|
||||||
<p>Factor by which all grades for this grade item will be multiplied, with a maximum value of the maximum grade.</p>
|
|
Loading…
x
Reference in New Issue
Block a user