You are here

function userpoints_confirm_approve in User Points 6

Same name and namespace in other branches
  1. 5.3 userpoints.module \userpoints_confirm_approve()
  2. 5.2 userpoints.module \userpoints_confirm_approve()
  3. 7.2 userpoints.admin.inc \userpoints_confirm_approve()
  4. 7 userpoints.admin.inc \userpoints_confirm_approve()
1 string reference to 'userpoints_confirm_approve'
userpoints_admin_approve in ./userpoints.module

File

./userpoints.module, line 1053

Code

function userpoints_confirm_approve($form_state, $operation, $txn_id) {
  $form = array(
    'operation' => array(
      '#type' => 'value',
      '#value' => $operation,
    ),
    'txn_id' => array(
      '#type' => 'value',
      '#value' => $txn_id,
    ),
  );
  return confirm_form($form, t('Are you sure you want to @op txn @txn_id', array(
    '@op' => $operation,
    '@txn_id' => $txn_id,
  )), 'admin/user/userpoints/moderate');
}