From: tjhunt Date: Tue, 24 Apr 2007 23:26:48 +0000 (+0000) Subject: Clean up whitespace. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=53a4d39f1cdbc75ba034d3f383fff0637bf477c4;p=moodle.git Clean up whitespace. --- diff --git a/question/format/blackboard/format.php b/question/format/blackboard/format.php index 383a75e5f4..c8e1330cfe 100644 --- a/question/format/blackboard/format.php +++ b/question/format/blackboard/format.php @@ -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; - } + } } //---------------------------------------- diff --git a/question/format/webct/format.php b/question/format/webct/format.php index 8d5b09d615..c736c3392a 100644 --- a/question/format/webct/format.php +++ b/question/format/webct/format.php @@ -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)) { diff --git a/question/type/random/questiontype.php b/question/type/random/questiontype.php index 7f1765507c..996cfbc925 100644 --- a/question/type/random/questiontype.php +++ b/question/type/random/questiontype.php @@ -8,7 +8,7 @@ /** * @package questionbank * @subpackage questiontypes -*/ + */ class random_qtype extends default_questiontype { // Carries questions available as randoms sorted by category diff --git a/question/type/shortanswer/questiontype.php b/question/type/shortanswer/questiontype.php index 0345ce1850..a36550f6ab 100644 --- a/question/type/shortanswer/questiontype.php +++ b/question/type/shortanswer/questiontype.php @@ -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 diff --git a/question/type/truefalse/questiontype.php b/question/type/truefalse/questiontype.php index fba906575f..3f5cee0f0f 100644 --- a/question/type/truefalse/questiontype.php +++ b/question/type/truefalse/questiontype.php @@ -6,9 +6,9 @@ /// QUESTION TYPE CLASS ////////////////// /** -* @package questionbank -* @subpackage questiontypes -*/ + * @package questionbank + * @subpackage questiontypes + */ class question_truefalse_qtype extends default_questiontype { function name() {