You are here

function theme_quiz_score_correct in Quiz 5

Same name and namespace in other branches
  1. 8.4 quiz.pages.inc \theme_quiz_score_correct()
  2. 5.2 quiz.module \theme_quiz_score_correct()
  3. 6.6 quiz.pages.inc \theme_quiz_score_correct()
  4. 6.2 quiz.pages.inc \theme_quiz_score_correct()
  5. 6.3 quiz.pages.inc \theme_quiz_score_correct()
  6. 6.4 quiz.pages.inc \theme_quiz_score_correct()
  7. 6.5 quiz.pages.inc \theme_quiz_score_correct()
  8. 7 quiz.pages.inc \theme_quiz_score_correct()
  9. 7.4 quiz.pages.inc \theme_quiz_score_correct()

Pass the correct mark to the theme so that theme authors can use an image

TODO: A default image might be better here.

1 theme call to theme_quiz_score_correct()
theme_quiz_feedback in ./quiz.module
Theme the question feedback

File

./quiz.module, line 1674
Quiz Module

Code

function theme_quiz_score_correct() {
  return theme('image', drupal_get_path('module', 'quiz') . '/images/correct.gif', t('correct'));
}