Permalink
Browse files

Merge branch 'MDL-38490_23' of git://github.com/timhunt/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
2 parents 665f13c + d8a20b8 commit e8151631620bebb92f44099fc5f4649fc9c70bd3 @stronk7 stronk7 committed Mar 19, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 question/previewlib.php
View
@@ -56,18 +56,18 @@ public function definition() {
array('size' => '5'));
$mform->setType('maxmark', PARAM_FLOAT);
- $mform->addElement('submit', 'saverestart',
- get_string('restartwiththeseoptions', 'question'));
-
- $mform->addElement('header', 'optionsheader', get_string('displayoptions', 'question'));
-
if ($this->_customdata['maxvariant'] > 1) {
$variants = range(1, $this->_customdata['maxvariant']);
$mform->addElement('select', 'variant', get_string('questionvariant', 'question'),
array_combine($variants, $variants));
}
$mform->setType('variant', PARAM_INT);
+ $mform->addElement('submit', 'saverestart',
+ get_string('restartwiththeseoptions', 'question'));
+
+ $mform->addElement('header', 'optionsheader', get_string('displayoptions', 'question'));
+
$mform->addElement('select', 'correctness', get_string('whethercorrect', 'question'),
$hiddenofvisible);

0 comments on commit e815163

Please sign in to comment.