function theme_quiz_score_correct in Quiz 8.4
Same name and namespace in other branches
- 5.2 quiz.module \theme_quiz_score_correct()
- 5 quiz.module \theme_quiz_score_correct()
- 6.6 quiz.pages.inc \theme_quiz_score_correct()
- 6.2 quiz.pages.inc \theme_quiz_score_correct()
- 6.3 quiz.pages.inc \theme_quiz_score_correct()
- 6.4 quiz.pages.inc \theme_quiz_score_correct()
- 6.5 quiz.pages.inc \theme_quiz_score_correct()
- 7 quiz.pages.inc \theme_quiz_score_correct()
- 7.4 quiz.pages.inc \theme_quiz_score_correct()
Pass the correct mark to the theme so that theme authors can use an image.
File
- ./
quiz.pages.inc, line 985 - Page callback file for the quiz module.
Code
function theme_quiz_score_correct() {
$variables = array(
'path' => drupal_get_path('module', 'quiz') . '/images/correct.gif',
'alt' => t('correct'),
'title' => t('correct'),
);
return theme('image', $variables);
}