Clean up whitespace.

This commit is contained in:
tjhunt 2007-04-24 23:26:48 +00:00
parent 06d20c2429
commit 53a4d39f1c
5 changed files with 13 additions and 14 deletions

View 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;
}
}
}
//----------------------------------------

View 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)) {

View File

@ -8,7 +8,7 @@
/**
* @package questionbank
* @subpackage questiontypes
*/
*/
class random_qtype extends default_questiontype {
// Carries questions available as randoms sorted by category

View 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

View 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() {