]> git.mjollnir.org Git - moodle.git/commitdiff
Minor tify up
authormoodler <moodler>
Mon, 16 Feb 2004 17:14:07 +0000 (17:14 +0000)
committermoodler <moodler>
Mon, 16 Feb 2004 17:14:07 +0000 (17:14 +0000)
mod/survey/view.php

index f88a6217da6acf2071cdf47eb83a2584cd41843c..48eb5a67810c89d9033b030570cb6f2c10632d2c 100644 (file)
@@ -64,6 +64,9 @@
             echo "</center>";
 
         } 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 "<form name=form method=post action=save.php>";
     echo "<input type=hidden name=id value=$id>";
 
-    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)) {