From: tjhunt Date: Wed, 29 Jul 2009 03:51:34 +0000 (+0000) Subject: quiz: XHTML strict. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=05d3c06e36e4654e75c948f84f35dd530754bfdb;p=moodle.git quiz: XHTML strict. --- diff --git a/mod/quiz/attemptlib.php b/mod/quiz/attemptlib.php index fc099ac211..75b0c41faf 100644 --- a/mod/quiz/attemptlib.php +++ b/mod/quiz/attemptlib.php @@ -1053,7 +1053,7 @@ abstract class quiz_nav_panel_base { protected function get_question_button($number, $question) { $strstate = get_string($this->attemptobj->get_question_status($question->id), 'quiz'); - return 'get_question_url($question)) . '" class="qnbutton ' . $this->get_question_state_classes($question) . '" id="quiznavbutton' . $question->id . '" title="' . $strstate . '">' . $number . ' (' . $strstate . ')'; @@ -1133,7 +1133,7 @@ class quiz_attempt_nav_panel extends quiz_nav_panel_base { protected function get_end_bits() { global $PAGE; $output = ''; - $output .= '' . get_string('endtest', 'quiz') . ''; + $output .= '' . get_string('endtest', 'quiz') . ''; $output .= $this->attemptobj->get_timer_html(); $output .= $PAGE->requires->js_function_call('quiz_init_attempt_nav')->now(); return $output; @@ -1156,9 +1156,9 @@ class quiz_review_nav_panel extends quiz_nav_panel_base { $html = ''; if ($this->attemptobj->get_num_pages() > 1) { if ($this->showall) { - $html = '' . get_string('showeachpage', 'quiz') . ''; + $html = '' . get_string('showeachpage', 'quiz') . ''; } else { - $html = '' . get_string('showall', 'quiz') . ''; + $html = '' . get_string('showall', 'quiz') . ''; } } $accessmanager = $this->attemptobj->get_access_manager(time());