MDL-21695 Replaced grade/grademax.html

AMOS BEGIN
 HLP grade/grademax.html,[grademax_help,core_grades]
AMOS END
This commit is contained in:
David Mudrak 2010-06-01 10:55:25 +00:00
parent 992cfb1101
commit f5f4bbabbc
4 changed files with 2 additions and 5 deletions

View File

@ -147,7 +147,7 @@ class edit_category_form extends moodleform {
$mform->disabledIf('grade_item_scaleid', 'aggregation', 'eq', GRADE_AGGREGATE_SUM); $mform->disabledIf('grade_item_scaleid', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);
$mform->addElement('text', 'grade_item_grademax', get_string('grademax', 'grades')); $mform->addElement('text', 'grade_item_grademax', get_string('grademax', 'grades'));
$mform->setHelpButton('grade_item_grademax', array('grademax', get_string('grademax', 'grades'), 'grade'), true); $mform->addHelpButton('grade_item_grademax', 'grademax', 'grades');
$mform->disabledIf('grade_item_grademax', 'grade_item_gradetype', 'noteq', GRADE_TYPE_VALUE); $mform->disabledIf('grade_item_grademax', 'grade_item_gradetype', 'noteq', GRADE_TYPE_VALUE);
$mform->disabledIf('grade_item_grademax', 'aggregation', 'eq', GRADE_AGGREGATE_SUM); $mform->disabledIf('grade_item_grademax', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);

View File

@ -76,7 +76,7 @@ class edit_item_form extends moodleform {
$mform->disabledIf('scaleid', 'gradetype', 'noteq', GRADE_TYPE_SCALE); $mform->disabledIf('scaleid', 'gradetype', 'noteq', GRADE_TYPE_SCALE);
$mform->addElement('text', 'grademax', get_string('grademax', 'grades')); $mform->addElement('text', 'grademax', get_string('grademax', 'grades'));
$mform->setHelpButton('grademax', array('grademax', get_string('grademax', 'grades'), 'grade'), true); $mform->addHelpButton('grademax', 'grademax', 'grades');
$mform->disabledIf('grademax', 'gradetype', 'noteq', GRADE_TYPE_VALUE); $mform->disabledIf('grademax', 'gradetype', 'noteq', GRADE_TYPE_VALUE);
$mform->addElement('text', 'grademin', get_string('grademin', 'grades')); $mform->addElement('text', 'grademin', get_string('grademin', 'grades'));

View File

@ -288,7 +288,6 @@ $string['gradelocked'] = 'Grade is locked';
$string['gradelong'] = '{$a->grade} / {$a->max}'; $string['gradelong'] = '{$a->grade} / {$a->max}';
$string['grademax'] = 'Maximum grade'; $string['grademax'] = 'Maximum grade';
$string['grademax_help'] = 'This setting determines the maximum grade when using the value grade type. The maximum grade for an activity-based grade item is set on the activity settings page.'; $string['grademax_help'] = 'This setting determines the maximum grade when using the value grade type. The maximum grade for an activity-based grade item is set on the activity settings page.';
$string['grademaxhelp'] = 'When using the value grade type, a maximum grade can be set. The maximum grade for an activity-based grade item is set on the update activity page.';
$string['grademin'] = 'Minimum grade'; $string['grademin'] = 'Minimum grade';
$string['grademin_help'] = 'This setting determines the minimum grade when using the value grade type.'; $string['grademin_help'] = 'This setting determines the minimum grade when using the value grade type.';
$string['grademinhelp'] = 'When using the value grade type, a minimum grade can be set.'; $string['grademinhelp'] = 'When using the value grade type, a minimum grade can be set.';

View File

@ -1,2 +0,0 @@
<h1>Maximum Grade</h1>
<p>When using the value grade type, a maximum grade can be set. The maximum grade for an activity-based grade item is set on the update activity page.</p>