MDL-21695 Replaced grade/multfactor.html

AMOS BEGIN
 HLP grade/multfactor.html,[multfactor_help,core_grades]
AMOS END
This commit is contained in:
David Mudrak 2010-06-18 13:56:40 +00:00
parent ad01096c16
commit d4a11ee52a
4 changed files with 2 additions and 5 deletions

View File

@ -89,7 +89,7 @@ class edit_item_form extends moodleform {
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_TEXT);
$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->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_NONE);
$mform->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_TEXT);

View File

@ -1007,7 +1007,7 @@ class grade_edit_tree_column_multfactor extends grade_edit_tree_column {
public function get_header_cell() {
global $OUTPUT;
$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;
}

View File

@ -423,7 +423,6 @@ $string['moveselectedto'] = 'Move selected items to';
$string['movingelement'] = 'Moving {$a}';
$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['multfactorhelp'] = 'Factor by which all grades for this grade item will be multiplied.';
$string['mypreferences'] = 'My preferences';
$string['myreportpreferences'] = 'My report preferences';
$string['navmethod'] = 'Navigation method';

View File

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