From 097bd3f5e8c6ba29f43154b4c3c703db23650313 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Mon, 10 Apr 2006 19:58:34 +0000 Subject: [PATCH] No longer print the comment boxes for each question in review because it was too slow. We are back to opening the comment box in a popup window. --- question/type/question.html | 31 +------------------------------ question/type/questiontype.php | 4 ++-- 2 files changed, 3 insertions(+), 32 deletions(-) diff --git a/question/type/question.html b/question/type/question.html index 9934db0ffb..8993752d50 100644 --- a/question/type/question.html +++ b/question/type/question.html @@ -3,21 +3,6 @@ * print_question() method. */ ?> - - - -
@@ -43,18 +28,8 @@ echo $comment; ?>
- - -
- - \ No newline at end of file diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 5f54fe0178..a50ff8a994 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -478,8 +478,8 @@ class default_questiontype { $commentlink = ''; if (isset($options->questioncommentlink)) { $strcomment = get_string('commentorgrade', 'quiz'); - $attempt = get_record('quiz_attempts', 'uniqueid', $state->attempt); // would just have $attempt->uniqueid = $state->attempt but review.php needs $attempt->id - $commentlink = "id');\">$strcomment"; + $commentlink = ''; } $history = $this->history($question, $state, $number, $cmoptions, $options); -- 2.39.5