MDL-21695 Replaced grade/plusfactor.html

AMOS BEGIN
 HLP grade/plusfactor.html,[plusfactor_help,core_grades]
AMOS END
This commit is contained in:
David Mudrak 2010-06-18 15:41:47 +00:00
parent 8b61b67133
commit 12b0938c2b
4 changed files with 2 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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