You are here

function quiz_admin_result_delete_form in Quiz 5

Same name and namespace in other branches
  1. 5.2 quiz.module \quiz_admin_result_delete_form()
  2. 6.6 quiz.admin.inc \quiz_admin_result_delete_form()
  3. 6.2 quiz.admin.inc \quiz_admin_result_delete_form()
  4. 6.3 quiz.admin.inc \quiz_admin_result_delete_form()
  5. 6.5 quiz.admin.inc \quiz_admin_result_delete_form()
1 string reference to 'quiz_admin_result_delete_form'
quiz_admin_result_delete in ./quiz.module

File

./quiz.module, line 1431
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', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}