From 5e17bdd0ebbbb6118947c1aefa04f3835ddf8291 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 8 Jan 2008 18:37:43 +0000 Subject: [PATCH] MDL-12771 - change multianswer quetsion type HTML to more closely match that of other question types, in order to fix a layout glitch in Moodle 1.9. --- question/type/multianswer/questiontype.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index fc65b95c0ab..48f944552c4 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -208,6 +208,8 @@ class embedded_cloze_qtype extends default_questiontype { echo "wwwroot/question/type/$question->qtype/icon.gif\" ". "class=\"icon\" alt=\"".get_string('clozeaid','qtype_multichoice')."\" /> "; } + + echo '
'; // For this question type, we better print the image on top: if ($image = get_question_image($question)) { echo('
'); @@ -338,6 +340,7 @@ class embedded_cloze_qtype extends default_questiontype { // Print the final piece of question text: echo $qtextremaining; $this->print_question_submit_buttons($question, $state, $cmoptions, $options); + echo '
'; } function grade_responses(&$question, &$state, $cmoptions) {