Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / question / type / match / display.html
blob828262a7406494026c6a7afcdbef8f0765115503
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">
11 <table class="answer">
12 <?php $row = 1; foreach ($anss as $answer) { ?>
13 <tr class="<?php echo 'r'.$row = $row ? 0 : 1; ?>">
14 <td class="c0 text">
15 <?php echo $answer->text; ?>
16 </td>
17 <td class="c1 control <?php echo $answer->class ?>">
18 <?php echo $answer->control; ?>
19 </td>
20 <td>
21 <?php echo $answer->feedbackimg; ?>
22 </td>
23 <?php if (!empty($answer->feedback)) { ?>
24 <td class="c0 feedback">
25 <?php echo $answer->feedback; ?>
26 </td>
27 <?php } ?>
28 </tr>
29 <?php } ?>
30 </table>
31 <?php $this->print_question_submit_buttons($question, $state, $cmoptions, $options); ?>
32 </div>