You are here

function uc_recurring_user_cancel_form in UC Recurring Payments and Subscriptions 6

Same name and namespace in other branches
  1. 6.2 uc_recurring.pages.inc \uc_recurring_user_cancel_form()
  2. 7.2 uc_recurring.pages.inc \uc_recurring_user_cancel_form()
1 string reference to 'uc_recurring_user_cancel_form'
uc_recurring_menu in ./uc_recurring.module
Implementation of hook_menu().

File

./uc_recurring.pages.inc, line 10
Recurring payments menu items.

Code

function uc_recurring_user_cancel_form($form_state, $user, $rfid) {
  $form['uid'] = array(
    '#type' => 'value',
    '#value' => $user->uid,
  );
  $form['rfid'] = array(
    '#type' => 'value',
    '#value' => $rfid,
  );
  return confirm_form($form, t('Are you sure you want to cancel your recurring fee?'), 'user/' . $user->uid, t('This action cannot be undone and may result in the termination of subscription services.'), t('Confirm'), t('Cancel'));
}