Merge branch 'MDL-76765-404' of https://github.com/lucaboesch/moodle into MOODLE_404_STABLE
This commit is contained in:
@@ -128,8 +128,7 @@ class qtype_ddmarker_edit_form extends qtype_ddtoimage_edit_form_base {
|
||||
array('rows' => 5), $this->editoroptions);
|
||||
$repeatedoptions['hint']['type'] = PARAM_RAW;
|
||||
|
||||
$repeated[] = $mform->createElement('checkbox', 'hintshownumcorrect',
|
||||
get_string('options', 'question'),
|
||||
$repeated[] = $mform->createElement('checkbox', 'hintshownumcorrect', '',
|
||||
get_string('shownumpartscorrect', 'question'));
|
||||
$repeated[] = $mform->createElement('checkbox', 'hintoptions',
|
||||
'',
|
||||
|
||||
@@ -477,8 +477,7 @@ abstract class question_edit_form extends question_wizard_form {
|
||||
$element->setValue(array('text' => get_string($feedbackname.'default', 'question')));
|
||||
|
||||
if ($withshownumpartscorrect && $feedbackname == 'partiallycorrectfeedback') {
|
||||
$mform->addElement('advcheckbox', 'shownumcorrect',
|
||||
get_string('options', 'question'),
|
||||
$mform->addElement('advcheckbox', 'shownumcorrect', '',
|
||||
get_string('shownumpartscorrectwhenfinished', 'question'));
|
||||
$mform->setDefault('shownumcorrect', true);
|
||||
}
|
||||
@@ -502,8 +501,8 @@ abstract class question_edit_form extends question_wizard_form {
|
||||
|
||||
$optionelements = array();
|
||||
if ($withclearwrong) {
|
||||
$optionelements[] = $mform->createElement('advcheckbox', 'hintclearwrong',
|
||||
get_string('options', 'question'), get_string('clearwrongparts', 'question'));
|
||||
$optionelements[] = $mform->createElement('advcheckbox', 'hintclearwrong', '',
|
||||
get_string('clearwrongparts', 'question'));
|
||||
}
|
||||
if ($withshownumpartscorrect) {
|
||||
$optionelements[] = $mform->createElement('advcheckbox', 'hintshownumcorrect', '',
|
||||
|
||||
Reference in New Issue
Block a user