function quiz_admin_result_delete_form in Quiz 6.6
Same name and namespace in other branches
- 5.2 quiz.module \quiz_admin_result_delete_form()
- 5 quiz.module \quiz_admin_result_delete_form()
- 6.2 quiz.admin.inc \quiz_admin_result_delete_form()
- 6.3 quiz.admin.inc \quiz_admin_result_delete_form()
- 6.5 quiz.admin.inc \quiz_admin_result_delete_form()
Creates a form used for deleting a set of quiz results.
1 string reference to 'quiz_admin_result_delete_form'
- quiz_admin_result_delete in ./
quiz.admin.inc - Delete Result.
File
- ./
quiz.admin.inc, line 741 - Administrator interface for Quiz module.
Code
function quiz_admin_result_delete_form() {
$form['del_rid'] = array(
'#type' => 'hidden',
'#value' => arg(2),
);
return confirm_form($form, t('Are you sure you want to delete this @quiz result?', array(
'@quiz' => QUIZ_NAME,
)), 'admin/quiz/results', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}