File: question.html

package info (click to toggle)
moodle 1.6.3-2%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 37,172 kB
  • ctags: 51,688
  • sloc: php: 231,916; sql: 5,631; xml: 2,688; sh: 1,185; perl: 638; makefile: 48; pascal: 36
file content (41 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/* This template determines the overall layout of a question. It is included by the 
 * print_question() method.
 */
?>
<div id="q<?php echo $question->id; ?>" class="que <?php echo $question->qtype; ?> clearfix">
  <div class="info">
    <span class="no"><?php echo $number; ?></span>
    <?php if ($editlink) { ?>
      <span class="edit"><?php echo $editlink; ?></span>
    <?php }
    if ($grade) { ?>
      <div class="grade">
        <?php echo get_string('marks', 'quiz').': '.$grade; ?>
      </div>
    <?php } ?>
  </div>
  <div class="content">
    <?php $this->print_question_formulation_and_controls($question, $state, $cmoptions, $options); ?>
  </div>
  <div class="grading">
    <?php $this->print_question_grading_details($question, $state, $cmoptions, $options); ?>
  </div>
  <?php if ($comment) { ?>
    <div class="comment">
      <?php
        echo get_string('comment', 'quiz').': ';
        echo $comment;
      ?>
    </div>
  <?php }
            echo $commentlink;
  if ($history) { ?>
    <div class="history">
      <?php
        print_string('history', 'quiz');
        echo $history;
      ?>
    </div>
  <?php } ?>
</div>