]> git.mjollnir.org Git - moodle.git/commitdiff
Clean up whitespace.
authortjhunt <tjhunt>
Tue, 24 Apr 2007 23:26:48 +0000 (23:26 +0000)
committertjhunt <tjhunt>
Tue, 24 Apr 2007 23:26:48 +0000 (23:26 +0000)
question/format/blackboard/format.php
question/format/webct/format.php
question/type/random/questiontype.php
question/type/shortanswer/questiontype.php
question/type/truefalse/questiontype.php

index 383a75e5f4f1d61fc4a3afc0c593f444bef14b11..c8e1330cfe1477023cffbacb8dc617b2251b2843 100644 (file)
@@ -74,7 +74,7 @@ class qformat_blackboard extends qformat_default {
     $this->process_matching($xml, $questions);
 
     return $questions;
-  }
+}
 
 //----------------------------------------
 // Process True / False Questions
@@ -271,7 +271,6 @@ function process_fib($xml, &$questions) {
     else {
         return;
     }
-    
 
     for ($i = 0; $i < sizeof ($fibquestions); $i++) {
         $question = $this->defaultquestion();
@@ -312,7 +311,7 @@ function process_fib($xml, &$questions) {
         }        
          
         $questions[] = $question;
-      } 
+    }
 }
 
 //----------------------------------------
index 8d5b09d615a4b155a869a437fb106c00fd082bb7..c736c3392adf7ffa1d74b49cf83022078f9e910c 100644 (file)
@@ -120,7 +120,7 @@ class qformat_webct_modified_calculated_qtype extends question_calculated_qtype
             }
             $datasetdef->itemcount = $item->itemnumber - 1;
 
-            //  Retrieve ->options
+            // Retrieve ->options
             if (is_numeric($datasetdata->min) && is_numeric($datasetdata->max)
                     && $datasetdata->min <= $datasetdata->max) {
                 if (is_numeric($datasetdata->dec)) {
index 7f1765507cd9bc282da60976d66c8c48a7140d4c..996cfbc9250fbe478fc9bfdaa846097396e37105 100644 (file)
@@ -8,7 +8,7 @@
 /**
  * @package questionbank
  * @subpackage questiontypes
-*/
+ */
 class random_qtype extends default_questiontype {
 
     // Carries questions available as randoms sorted by category
index 0345ce185095a4c2d838c99e39faaef87515f0f0..a36550f6abce8b02a2a2e06a2f714701ed31d6ef 100644 (file)
@@ -11,9 +11,9 @@
 /// question type embeddable within a multianswer (cloze) question
 ///
 /**
-* @package questionbank
-* @subpackage questiontypes
-*/
+ * @package questionbank
+ * @subpackage questiontypes
+ */
 require_once("$CFG->dirroot/question/type/questiontype.php");
 
 class question_shortanswer_qtype extends default_questiontype {
@@ -135,9 +135,9 @@ class question_shortanswer_qtype extends default_questiontype {
 
         /// Print question text and media
 
-        $questiontext =  format_text($question->questiontext,
-                         $question->questiontextformat,
-                         $formatoptions, $cmoptions->course);
+        $questiontext = format_text($question->questiontext,
+                $question->questiontextformat,
+                $formatoptions, $cmoptions->course);
         $image = get_question_image($question, $cmoptions->course);
 
         /// Print input controls
index fba906575f8392d1b92e94ae06d7c1e0d2822739..3f5cee0f0fbf2850b4cdbb9d286c13d3cf38efb4 100644 (file)
@@ -6,9 +6,9 @@
 
 /// QUESTION TYPE CLASS //////////////////
 /**
-* @package questionbank
-* @subpackage questiontypes
-*/
+ * @package questionbank
+ * @subpackage questiontypes
+ */
 class question_truefalse_qtype extends default_questiontype {
 
     function name() {