mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21695 Replaced grade/plusfactor.html
AMOS BEGIN HLP grade/plusfactor.html,[plusfactor_help,core_grades] AMOS END
This commit is contained in:
parent
8b61b67133
commit
12b0938c2b
@ -95,7 +95,7 @@ class edit_item_form extends moodleform {
|
||||
$mform->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_TEXT);
|
||||
|
||||
$mform->addElement('text', 'plusfactor', get_string('plusfactor', 'grades'));
|
||||
$mform->setHelpButton('plusfactor', array('plusfactor', get_string('plusfactor', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('plusfactor', 'plusfactor', 'grades');
|
||||
$mform->setAdvanced('plusfactor');
|
||||
$mform->disabledIf('plusfactor', 'gradetype', 'eq', GRADE_TYPE_NONE);
|
||||
$mform->disabledIf('plusfactor', 'gradetype', 'eq', GRADE_TYPE_TEXT);
|
||||
|
@ -1048,7 +1048,7 @@ class grade_edit_tree_column_plusfactor extends grade_edit_tree_column {
|
||||
public function get_header_cell() {
|
||||
global $OUTPUT;
|
||||
$headercell = clone($this->headercell);
|
||||
$headercell->text = get_string('plusfactor', 'grades').$OUTPUT->old_help_icon('plusfactor', 'plusfactor', 'grade');
|
||||
$headercell->text = get_string('plusfactor', 'grades').$OUTPUT->help_icon('plusfactor', 'grades');
|
||||
return $headercell;
|
||||
}
|
||||
|
||||
|
@ -500,7 +500,6 @@ $string['percentdescending'] = 'Sort by percent descending';
|
||||
$string['percentshort'] = '%';
|
||||
$string['plusfactor'] = 'Offset';
|
||||
$string['plusfactor_help'] = 'The offset is a number that is added to every grade for this grade item, after the multiplicator is applied.';
|
||||
$string['plusfactorhelp'] = 'Number that will be added to every grade for this grade item, after the Multiplicator is applied.';
|
||||
$string['points'] = 'points';
|
||||
$string['pointsascending'] = 'Sort by points ascending';
|
||||
$string['pointsdescending'] = 'Sort by points descending';
|
||||
|
@ -1,2 +0,0 @@
|
||||
<h1>Offset</h1>
|
||||
<p>Number that will be added to every grade for this grade item, after the Multiplicator is applied.</p>
|
Loading…
x
Reference in New Issue
Block a user