Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / question / type / missingtype / display.html
blobe4ebf658935086c9e07e8f90a2381980deed7ef5
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 <?php if ($anss) { ?>
10 <div class="ablock clearfix">
11 <div class="prompt">
12 <?php print_string('answers', 'quiz'); ?>
13 </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="c1 text">
18 <?php echo $answer->text; ?>
19 </td>
20 </tr>
21 <?php } ?>
22 </table>
23 </div>
24 <?php } ?>