AC_4897, AC_4898, AC_4899: Multifile uploader fixes.
[acontent.git] / themes / default / tests / test_questions / ordering_result.tmpl.php
1 <p><?php echo AT_print($this->row['question'], 'tests_questions.question'); ?></p>
2
3 <ol style="margin: 0px; padding: 0px">
4         <?php for ($i=0; $i < $this->num_choices; $i++): ?>
5                 <li style="padding: 4px; list-style: none">
6                         <?php if ($i == $this->answers[$i]): ?>
7                                 <img src="<?php echo $this->base_path; ?>images/checkmark.gif" alt="<?php echo _AT('correct_answer'); ?>" title="<?php echo _AT('correct_answer'); ?>" height="16" width="16" style="vertical-align: middle" />
8                         <?php else: ?>
9                                 <img src="<?php echo $this->base_path; ?>images/x.gif" alt="<?php echo _AT('wrong_answer'); ?>" title="<?php echo _AT('wrong_answer'); ?>" height="16" width="16" style="vertical-align: middle" />
10                         <?php endif; ?>
11                         <?php echo ($i+1); ?>. <?php echo AT_print($this->row['choice_'.$i], 'tests_questions.choice_'.$i); ?>
12                 </li>
13         <?php endfor; ?>
14 </ol>