function theme_quiz_single_question_feedback in Quiz 6.3
Same name and namespace in other branches
- 6.6 quiz.pages.inc \theme_quiz_single_question_feedback()
- 6.5 quiz.pages.inc \theme_quiz_single_question_feedback()
Theme feedback for one question.
Parameters
$quiz: Quiz node (may not be needed).
$question_node: The question node giving feedback for.
$answer: User's response to previous question.
Return value
Themed html.
1 theme call to theme_quiz_single_question_feedback()
- quiz_get_feedback in ./
quiz.module - Get feedback for one question.
File
- ./
quiz.pages.inc, line 527 - User pages.
Code
function theme_quiz_single_question_feedback($quiz, $report) {
$output = '<div class="quiz-summary-question">';
$output .= theme($report->type . '_feedback', $quiz, $report);
$output .= '</div><br class="clear" />';
return $output;
}