You are here

function theme_quiz_score_incorrect in Quiz 7

Same name and namespace in other branches
  1. 8.4 quiz.pages.inc \theme_quiz_score_incorrect()
  2. 5.2 quiz.module \theme_quiz_score_incorrect()
  3. 5 quiz.module \theme_quiz_score_incorrect()
  4. 6.6 quiz.pages.inc \theme_quiz_score_incorrect()
  5. 6.2 quiz.pages.inc \theme_quiz_score_incorrect()
  6. 6.3 quiz.pages.inc \theme_quiz_score_incorrect()
  7. 6.4 quiz.pages.inc \theme_quiz_score_incorrect()
  8. 6.5 quiz.pages.inc \theme_quiz_score_incorrect()
  9. 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 431
User pages.

Code

function theme_quiz_score_incorrect() {
  return theme('image', array(
    'path' => drupal_get_path('module', 'quiz') . '/images/incorrect.gif',
    'width' => t('incorrect'),
  ));
}