Merge branch 'MDL-31102_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE

This commit is contained in:
Sam Hemelryk
2012-01-16 16:27:38 +08:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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);
+1 -1
View File
@@ -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'));
}
}