From: moodler Date: Mon, 16 Feb 2004 17:14:07 +0000 (+0000) Subject: Minor tify up X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f14a311ec35e2288e56aa88b08ca045957589ab2;p=moodle.git Minor tify up --- diff --git a/mod/survey/view.php b/mod/survey/view.php index f88a6217da..48eb5a6781 100644 --- a/mod/survey/view.php +++ b/mod/survey/view.php @@ -64,6 +64,9 @@ echo ""; } else { + + print_simple_box(format_text($survey->intro), "center", "80%"); + $questions = get_records_list("survey_questions", "id", $survey->questions); $questionorder = explode(",", $survey->questions); foreach ($questionorder as $key => $val) { @@ -75,6 +78,7 @@ $table->align = array ("left"); $table->data[] = array("$answer->answer1"); print_table($table); + print_spacer(30); } } } @@ -90,7 +94,7 @@ echo "
"; echo ""; - print_simple_box(text_to_html($survey->intro), "center", "80%"); + print_simple_box(format_text($survey->intro), "center", "80%"); // Get all the major questions and their proper order if (! $questions = get_records_list("survey_questions", "id", $survey->questions)) {