You are here

function theme_uc_recurring_subscription_role_items in UC Recurring Payments and Subscriptions 6.2

Same name and namespace in other branches
  1. 7.2 modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc \theme_uc_recurring_subscription_role_items()

File

modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc, line 851
Uc recurring subscription UI.

Code

function theme_uc_recurring_subscription_role_items($form) {
  $header = array(
    t('Granted on purchase'),
    t('Granted on expiration'),
    t('Revoked on expiration'),
  );
  $row = array();
  $row[] = drupal_render($form['subscribe_grant']);
  $row[] = drupal_render($form['expire_grant']);
  $row[] = drupal_render($form['expire_revoke']);
  $rows[] = $row;
  $output = theme('table', $header, $rows);
  $output .= drupal_render($form);
  return $output;
}