Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / question / type / multichoice / display.html
blob5e4f66d6cd9fff20683ca1346c0ed1d9569b4772
1 <div class="qtext">
2 <?php echo $questiontext; ?>
3 </div>
5 <?php if ($image) { ?>
6 <img class="qimage" src="<?php echo $image; ?>" alt="" />
7 <?php } ?>
9 <div class="ablock clearfix">
10 <div class="prompt">
11 <?php echo $answerprompt; ?>
12 </div>
14 <table class="answer">
15 <?php $row = 1; foreach ($anss as $answer) { ?>
16 <tr class="<?php echo 'r'.$row = $row ? 0 : 1; ?>">
17 <td class="c0 control">
18 <?php echo $answer->control; ?>
19 </td>
20 <td class="c1 text <?php echo $answer->class ?>">
21 <label for="<?php echo $answer->id ?>">
22 <?php echo $answer->text; ?>
23 <?php echo $answer->feedbackimg; ?>
24 </label>
25 </td>
26 <td class="c0 feedback">
27 <?php echo $answer->feedback; ?>
28 </td>
29 </tr>
30 <?php } ?>
31 </table>
32 <?php if ($feedback) { ?>
33 <div class="feedback">
34 <?php echo $feedback ?>
35 </div>
36 <?php } ?>
37 <?php $this->print_question_submit_buttons($question, $state, $cmoptions, $options); ?>
38 </div>