function theme_short_answer_user_answer in Quiz 6.4
Same name and namespace in other branches
- 8.6 question_types/quiz_short_answer/theme/short_answer.theme.inc \theme_short_answer_user_answer()
- 8.4 question_types/short_answer/short_answer.theme.inc \theme_short_answer_user_answer()
- 8.5 question_types/quiz_short_answer/theme/short_answer.theme.inc \theme_short_answer_user_answer()
- 7.6 question_types/short_answer/theme/short_answer.theme.inc \theme_short_answer_user_answer()
- 7 question_types/short_answer/theme/short_answer.theme.inc \theme_short_answer_user_answer()
- 7.4 question_types/short_answer/theme/short_answer.theme.inc \theme_short_answer_user_answer()
- 7.5 question_types/short_answer/theme/short_answer.theme.inc \theme_short_answer_user_answer()
1 theme call to theme_short_answer_user_answer()
- ShortAnswerResponse::getReportFormResponse in question_types/
short_answer/ short_answer.classes.inc - Implementation of getReportFormResponse
File
- question_types/
short_answer/ theme/ short_answer.theme.inc, line 42 - Theme functions for short_answer.
Code
function theme_short_answer_user_answer($answer, $correct) {
$header = array(
t('Correct Answer'),
t('User Answer'),
);
$row = array(
array(
$correct,
$answer,
),
);
return theme('table', $header, $row);
}