You are here

function theme_quiz_score_correct in Quiz 7

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. 5 quiz.module \theme_quiz_score_correct()
  4. 6.6 quiz.pages.inc \theme_quiz_score_correct()
  5. 6.2 quiz.pages.inc \theme_quiz_score_correct()
  6. 6.3 quiz.pages.inc \theme_quiz_score_correct()
  7. 6.4 quiz.pages.inc \theme_quiz_score_correct()
  8. 6.5 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.

File

./quiz.pages.inc, line 422
User pages.

Code

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