From: gustav_delius
Date: Thu, 6 Apr 2006 20:35:49 +0000 (+0000)
Subject: Fixing a large number of tidy warnings
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6463e8a6b691850a23516c807efaf70f21265f96;p=moodle.git
Fixing a large number of tidy warnings
---
diff --git a/question/type/essay/questiontype.php b/question/type/essay/questiontype.php
index cc8ad8a2c1..e362eee3c8 100644
--- a/question/type/essay/questiontype.php
+++ b/question/type/essay/questiontype.php
@@ -119,7 +119,7 @@ class question_essay_qtype extends default_questiontype {
$inputname = $nameprefix;
- echo "
$stranswer: ".
+ echo "
$stranswer:
".
'
';
if (empty($options->readonly)) {
// the student needs to type in their answer so print out a text editor
@@ -128,9 +128,9 @@ class question_essay_qtype extends default_questiontype {
} else {
// it is read only, so just format the students answer and output it
echo format_text($value);
- echo ''; // need hidden one for grading
+ echo ''; // need hidden one for grading
}
- echo '
';
+ echo '';
if (isset($state->responses['response'])) {
$value = $state->responses['response'];
@@ -162,14 +162,14 @@ class question_essay_qtype extends default_questiontype {
choose_from_menu($gradeoptions, $nameprefix."fraction", $state->responses['fraction'],"");
} else if (!empty($options->readonly)) {
//read only so format the comment and print it out
- echo "