mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Minor tify up
This commit is contained in:
parent
077641504f
commit
f14a311ec3
1 changed files with 5 additions and 1 deletions
|
@ -64,6 +64,9 @@
|
||||||
echo "</center>";
|
echo "</center>";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
print_simple_box(format_text($survey->intro), "center", "80%");
|
||||||
|
|
||||||
$questions = get_records_list("survey_questions", "id", $survey->questions);
|
$questions = get_records_list("survey_questions", "id", $survey->questions);
|
||||||
$questionorder = explode(",", $survey->questions);
|
$questionorder = explode(",", $survey->questions);
|
||||||
foreach ($questionorder as $key => $val) {
|
foreach ($questionorder as $key => $val) {
|
||||||
|
@ -75,6 +78,7 @@
|
||||||
$table->align = array ("left");
|
$table->align = array ("left");
|
||||||
$table->data[] = array("$answer->answer1");
|
$table->data[] = array("$answer->answer1");
|
||||||
print_table($table);
|
print_table($table);
|
||||||
|
print_spacer(30);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,7 +94,7 @@
|
||||||
echo "<form name=form method=post action=save.php>";
|
echo "<form name=form method=post action=save.php>";
|
||||||
echo "<input type=hidden name=id value=$id>";
|
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
|
// Get all the major questions and their proper order
|
||||||
if (! $questions = get_records_list("survey_questions", "id", $survey->questions)) {
|
if (! $questions = get_records_list("survey_questions", "id", $survey->questions)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue