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