';
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 "