mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-31102' of git://github.com/timhunt/moodle
This commit is contained in:
commit
b1baa8a2f2
@ -228,8 +228,10 @@ echo $OUTPUT->header();
|
||||
// Start the question form.
|
||||
echo '<form method="post" action="' . $actionurl .
|
||||
'" enctype="multipart/form-data" id="responseform">', "\n";
|
||||
echo '<div>';
|
||||
echo '<input type="hidden" name="sesskey" value="' . sesskey() . '" />', "\n";
|
||||
echo '<input type="hidden" name="slots" value="' . $slot . '" />', "\n";
|
||||
echo '</div>';
|
||||
|
||||
// Output the question.
|
||||
echo $quba->render_question($slot, $options, $displaynumber);
|
||||
|
@ -89,7 +89,7 @@ class preview_options_form extends moodleform {
|
||||
get_string('responsehistory', 'question'), $hiddenofvisible);
|
||||
|
||||
$mform->addElement('submit', 'submit',
|
||||
get_string('restartwiththeseoptions', 'question'), $hiddenofvisible);
|
||||
get_string('restartwiththeseoptions', 'question'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user