From 093c15be5419596285473e975303c59bd5eaa59a Mon Sep 17 00:00:00 2001 From: pichetp Date: Tue, 11 Mar 2008 19:20:03 +0000 Subject: [PATCH] MDL-12572 MDL-13427 New HTML cleaning code --- mod/quiz/report/analysis/report.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mod/quiz/report/analysis/report.php b/mod/quiz/report/analysis/report.php index 2bb18e4e148..8415a628168 100644 --- a/mod/quiz/report/analysis/report.php +++ b/mod/quiz/report/analysis/report.php @@ -237,7 +237,7 @@ class quiz_report extends quiz_default_report { $this->Export_CSV($questions, $filename); break; case "HTML": - // $this->Export_HTML($questions, $filename); + $this->Export_HTML($questions, $filename); break; } } @@ -364,9 +364,6 @@ class quiz_report extends quiz_default_report { $table->add_data(array('', '', $response->text, $response->credit, $response->rcount, $response->rpercent, '', '', '', '')); } } - if( $download == "HTML") { - $this->Export_HTML($questions, $filename,$table); - } print_heading_with_help(get_string("analysistitle", "quiz_analysis"),"itemanalysis", "quiz"); echo '
'; @@ -678,7 +675,7 @@ class quiz_report extends quiz_default_report { } exit; } - function Export_HTML(&$questions, $filename,$table) { + function Export_HTML(&$questions, $filename) { $headers = array(); $headers[] = ''.get_string('qidtitle','quiz_analysis').''; $headers[] = ''.get_string('qtypetitle','quiz_analysis').'';