Permalink
Browse files

Merge branch 'MDL-28324_20' of git://github.com/timhunt/moodle into M…

…OODLE_20_STABLE
  • Loading branch information...
2 parents 88507c0 + 9ccf566 commit abd481c63e4f73ea53f1736a08684cbdeab52e76 Sam Hemelryk committed Oct 25, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/quiz/report/statistics/report.php
  2. +1 −1 mod/quiz/report/statistics/statistics_table.php
@@ -239,8 +239,8 @@ function output_individual_question_data($quiz, $question, $reporturl, $quizstat
$this->qtable->export_class_instance($this->table->export_class_instance());
$questiontabletitle = !empty($question->number)?'('.$question->number.') ':'';
$questiontabletitle .= "\"{$question->name}\"";
- $questiontabletitle = "<em>$questiontabletitle</em>";
if ($downloadtype == 'xhtml'){
+ $questiontabletitle = "<em>$questiontabletitle</em>";
$questiontabletitle = get_string('analysisofresponsesfor', 'quiz_statistics', $questiontabletitle);
}
$exportclass =& $this->table->export_class_instance();
@@ -139,7 +139,7 @@ function col_actions($question){
return quiz_question_action_icons($this->quiz, $this->cmid, $question, $editreturnurl);
}
function col_qtype($question){
- return get_string($question->qtype,'quiz');
+ return get_string($question->qtype, 'qtype_' . $question->qtype);
}
function col_intended_weight($question){
return quiz_report_scale_sumgrades_as_percentage($question->_stats->maxgrade, $this->quiz);

0 comments on commit abd481c

Please sign in to comment.