]> git.mjollnir.org Git - moodle.git/commitdiff
Replace a few odd tabs with spaces. Merged from MOODLE_16_STABLE.
authortjhunt <tjhunt>
Fri, 21 Jul 2006 08:03:23 +0000 (08:03 +0000)
committertjhunt <tjhunt>
Fri, 21 Jul 2006 08:03:23 +0000 (08:03 +0000)
question/type/question.html
question/type/shortanswer/display.html
question/type/truefalse/display.html
question/type/truefalse/questiontype.php

index 8993752d5037687adae90e092bd26c06d27e6565..fd58e422e7fab414c809545cb64aa6bb6247f01a 100644 (file)
@@ -22,8 +22,8 @@
     <?php $this->print_question_grading_details($question, $state, $cmoptions, $options); ?>
   </div>
   <?php if ($comment) { ?>
-       <div class="comment">
-         <?php
+    <div class="comment">
+      <?php
         echo get_string('comment', 'quiz').': ';
         echo $comment;
       ?>
   <?php }
             echo $commentlink;
   if ($history) { ?>
-       <div class="history">
-         <?php
+    <div class="history">
+      <?php
         print_string('history', 'quiz');
         echo $history;
       ?>
-       </div>
+    </div>
   <?php } ?>
 </div>
index 4943fecafa2fad46be4b165b3d5237aaebd04027..71c758f33a655d5eb8e2b9643dd3cc6d5dac5da9 100644 (file)
@@ -23,7 +23,7 @@
 </div>
 
 <?php if ($correctanswer) { ?>
-       <div class="correctness correct">
+    <div class="correctness correct">
     <?php echo get_string('correctanswer', 'quiz').': '. $correctanswer; ?>
   </div>
 <?php } ?>
index 7c5d02d879ee8bdeaec93608cb80bcadc290a6dc..85ec4fc9aa5170ccd2872840e6f2b6651a1c02ca 100644 (file)
         <?php echo $radiofalse ?>
     </span>
   </div>
-       <?php if ($feedback) { ?>
-               <div class="feedback">
-                       <?php echo $feedback ?>
-               </div>
-       <?php } ?>
-       <?php $this->print_question_submit_buttons($question, $state, $cmoptions, $options); ?>
+    <?php if ($feedback) { ?>
+        <div class="feedback">
+            <?php echo $feedback ?>
+        </div>
+    <?php } ?>
+    <?php $this->print_question_submit_buttons($question, $state, $cmoptions, $options); ?>
 </div>
\ No newline at end of file
index 49043bbe5ae0db025005a611bef06864dc35bc30..96d20c15150b7e7346356a1f0f60183dd71e03bc 100644 (file)
@@ -121,7 +121,7 @@ class question_truefalse_qtype extends default_questiontype {
     }
 
     function get_correct_responses(&$question, &$state) {
-       // The correct answer is the one which gives full marks
+        // The correct answer is the one which gives full marks
         foreach ($question->options->answers as $answer) {
             if (((int) $answer->fraction) === 1) {
                 return array('' => $answer->id);