]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12771 - change multianswer quetsion type HTML to more closely match that of other...
authortjhunt <tjhunt>
Tue, 8 Jan 2008 18:37:46 +0000 (18:37 +0000)
committertjhunt <tjhunt>
Tue, 8 Jan 2008 18:37:46 +0000 (18:37 +0000)
question/type/multianswer/questiontype.php

index bef538b231128222979bbda3e1bd1506323477c8..ad6f7b6a9c22646bd77abd438fde00cecfd668c2 100644 (file)
@@ -227,6 +227,8 @@ class embedded_cloze_qtype extends default_questiontype {
             echo "<img src=\"$CFG->wwwroot/question/type/$question->qtype/icon.gif\" ".
                 "class=\"icon\" alt=\"".get_string('clozeaid','qtype_multichoice')."\" />  ";
         }
+
+        echo '<div class="ablock clearfix">';
         // For this question type, we better print the image on top:
         if ($image = get_question_image($question)) {
             echo('<img class="qimage" src="' . $image . '" alt="" /><br />');
@@ -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 '</div>'; 
     }
 
     function grade_responses(&$question, &$state, $cmoptions) {