From: tjhunt Date: Tue, 8 Jan 2008 18:37:46 +0000 (+0000) Subject: MDL-12771 - change multianswer quetsion type HTML to more closely match that of other... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=06e2b0de2ae0420e6118606353809cf22f874119;p=moodle.git 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. --- diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index bef538b231..ad6f7b6a9c 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -227,6 +227,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('
'); @@ -357,6 +359,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) {