Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / question / type / question.html
blob416e9ddede808d5b81ce760135550ef39af92e1d
1 <?php
2 /* This template determines the overall layout of a question. It is included by the
3 * print_question() method.
4 */
5 ?>
6 <div id="q<?php echo $question->id; ?>" class="que <?php echo $question->qtype; ?> clearfix">
7 <div class="info">
8 <span class="no"><span class="accesshide">Question </span><?php echo $number; ?></span>
9 <?php if ($editlink) { ?>
10 <span class="edit"><?php echo $editlink; ?></span>
11 <?php }
12 if ($grade) { ?>
13 <div class="grade">
14 <?php echo get_string('marks', 'quiz').': '.$grade; ?>
15 </div>
16 <?php } ?>
17 </div>
18 <div class="content">
19 <?php $this->print_question_formulation_and_controls($question, $state, $cmoptions, $options);
20 if ($generalfeedback) { ?>
21 <div class="generalfeedback">
22 <?php echo $generalfeedback ?>
23 </div>
24 <?php }
25 if ($comment) { ?>
26 <div class="comment">
27 <?php
28 echo get_string('comment', 'quiz').': ';
29 echo $comment;
31 </div>
32 <?php }
33 echo $commentlink; ?>
34 <div class="grading">
35 <?php $this->print_question_grading_details($question, $state, $cmoptions, $options); ?>
36 </div><?php
37 if ($history) { ?>
38 <div class="history">
39 <?php
40 print_string('history', 'quiz');
41 echo $history;
43 </div>
44 <?php } ?>
45 </div>
46 </div>