mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-21695 Replaced grade/gradepass.html
AMOS BEGIN HLP grade/gradepass.html,[gradepass_help,core_grades] AMOS END
This commit is contained in:
parent
25293fcb7b
commit
5cca21a665
5 changed files with 2 additions and 9 deletions
|
@ -157,7 +157,7 @@ class edit_category_form extends moodleform {
|
|||
$mform->disabledIf('grade_item_grademin', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);
|
||||
|
||||
$mform->addElement('text', 'grade_item_gradepass', get_string('gradepass', 'grades'));
|
||||
$mform->setHelpButton('grade_item_gradepass', array('gradepass', get_string('gradepass', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('grade_item_gradepass', 'gradepass', 'grades');
|
||||
$mform->disabledIf('grade_item_gradepass', 'grade_item_gradetype', 'eq', GRADE_TYPE_NONE);
|
||||
$mform->disabledIf('grade_item_gradepass', 'grade_item_gradetype', 'eq', GRADE_TYPE_TEXT);
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ class edit_item_form extends moodleform {
|
|||
$mform->disabledIf('grademin', 'gradetype', 'noteq', GRADE_TYPE_VALUE);
|
||||
|
||||
$mform->addElement('text', 'gradepass', get_string('gradepass', 'grades'));
|
||||
$mform->setHelpButton('gradepass', array('gradepass', get_string('gradepass', 'grades'), 'grade'), true);
|
||||
$mform->addHelpButton('gradepass', 'gradepass', 'grades');
|
||||
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_NONE);
|
||||
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_TEXT);
|
||||
|
||||
|
|
|
@ -63,10 +63,6 @@ class edit_outcomeitem_form extends moodleform {
|
|||
$mform->setHelpButton('cmid', array('linkedactivity', get_string('linkedactivity', 'grades'), 'grade'), true);
|
||||
$mform->setDefault('cmid', 0);
|
||||
|
||||
/*$mform->addElement('text', 'gradepass', get_string('gradepass', 'grades'));
|
||||
$mform->setHelpButton('gradepass', array(false, get_string('gradepass', 'grades'),
|
||||
false, true, false, get_string('gradepasshelp', 'grades')));*/
|
||||
|
||||
/// hiding
|
||||
/// advcheckbox is not compatible with disabledIf !!
|
||||
$mform->addElement('checkbox', 'hidden', get_string('hidden', 'grades'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue