function quiz_email_results_format in Quiz 6.6
Same name and namespace in other branches
- 8.4 quiz.module \quiz_email_results_format()
- 6.3 quiz.module \quiz_email_results_format()
- 6.4 quiz.module \quiz_email_results_format()
- 6.5 quiz.module \quiz_email_results_format()
- 7.6 quiz.module \quiz_email_results_format()
- 7 quiz.module \quiz_email_results_format()
- 7.4 quiz.module \quiz_email_results_format()
2 calls to quiz_email_results_format()
- quiz_admin_settings in ./
quiz.admin.inc - Implementation of hook_settings().
- quiz_mail in ./
quiz.module
File
- ./
quiz.module, line 1438 - Quiz Module
Code
function quiz_email_results_format($type) {
global $user;
if ($type == 'subject') {
return t('!title Results Notice from !sitename');
}
if ($type == 'body') {
return t('Dear !username') . "\n\n" . t('!user attended a !title quiz on !date') . "\n" . t('Test Description : !desc') . "\n" . t('!user got !correct out of !total in !time min percentage is !percentage') . "\n" . t('You can access your result here !url') . "\n";
}
}