MDL-21695 Replaced grade/scaleid.html

AMOS BEGIN
 HLP grade/scaleid.html,[typescale_help,core_grades]
AMOS END
This commit is contained in:
David Mudrak
2010-05-27 21:19:27 +00:00
parent c64c959733
commit b2bf67b447
5 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class edit_outcome_form extends moodleform {
$mform->addElement('selectwithlink', 'scaleid', get_string('scale'), $options, null,
array('link' => $CFG->wwwroot.'/grade/edit/scale/edit.php?courseid='.$COURSE->id, 'label' => get_string('scalescustomcreate')));
$mform->setHelpButton('scaleid', array('scaleid', get_string('scale'), 'grade'));
$mform->addHelpButton('scaleid', 'typescale', 'grades');
$mform->addRule('scaleid', get_string('required'), 'required');
$mform->addElement('editor', 'description_editor', get_string('description'), null, $this->_customdata['editoroptions']);
+1 -1
View File
@@ -142,7 +142,7 @@ class edit_category_form extends moodleform {
}
}
$mform->addElement('select', 'grade_item_scaleid', get_string('scale'), $options);
$mform->setHelpButton('grade_item_scaleid', array('scaleid', get_string('scale'), 'grade'), true);
$mform->addHelpButton('grade_item_scaleid', 'typescale', 'grades');
$mform->disabledIf('grade_item_scaleid', 'grade_item_gradetype', 'noteq', GRADE_TYPE_SCALE);
$mform->disabledIf('grade_item_scaleid', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);
+1 -1
View File
@@ -72,7 +72,7 @@ class edit_item_form extends moodleform {
}
}
$mform->addElement('select', 'scaleid', get_string('scale'), $options);
$mform->setHelpButton('scaleid', array('scaleid', get_string('scaleid', 'grades'), 'grade'), true);
$mform->addHelpButton('scaleid', 'typescale', 'grades');
$mform->disabledIf('scaleid', 'gradetype', 'noteq', GRADE_TYPE_SCALE);
$mform->addElement('text', 'grademax', get_string('grademax', 'grades'));
-1
View File
@@ -556,7 +556,6 @@ $string['savechanges'] = 'Save changes';
$string['savepreferences'] = 'Save preferences';
$string['scaleconfirmdelete'] = 'Are you sure you wish to delete the scale "{$a}"?';
$string['scaledpct'] = 'Scaled %';
$string['scaleidhelp'] = 'When using the scale grade type, a scale can be selected. The scale for an activity-based grade item is selected on the update activity page.';
$string['scalestandardhelp'] = 'A standard scale is one that is available site-wide, for all courses.';
$string['seeallcoursegrades'] = 'See all course grades';
$string['selectalloroneuser'] = 'Select all or one user';
-2
View File
@@ -1,2 +0,0 @@
<h1>Scale</h1>
<p>When using the scale grade type, a scale can be selected. The scale for an activity-based grade item is selected on the update activity page.</p>