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.
This commit is contained in:
@@ -208,6 +208,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 />');
|
||||
@@ -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 '</div>';
|
||||
}
|
||||
|
||||
function grade_responses(&$question, &$state, $cmoptions) {
|
||||
|
||||
Reference in New Issue
Block a user