function theme_quizfileupload_user_answer in Quiz File Upload 7.5
Theme the quizfileupload answer.
Parameters
array $variables:
Return value
string An HTML string.
File
- theme/
quizfileupload.theme.inc, line 16 - Theme functions for the quizfileupload question type.
Code
function theme_quizfileupload_user_answer($variables) {
$answer = $variables['answer'];
$correct = $variables['correct'];
$header = array(
t('Correct Answer'),
t('User Answer'),
);
$row = array(
array(
$correct,
$answer,
),
);
return theme('table', array(
'header' => $header,
'rows' => $row,
));
}