You are here

function theme_uc_recurring_subscription_og_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_og_items()
1 theme call to theme_uc_recurring_subscription_og_items()
uc_recurring_subscription_product_form in modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc
Form to add a new payment interval for the product.

File

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

Code

function theme_uc_recurring_subscription_og_items($form) {
  $header = array(
    t('Subscribe on purchase'),
    t('Granted on expiration'),
    t('Revoked on expiration'),
  );
  $row = array();
  $row[] = drupal_render($form['subscribe_grant_og']);
  $row[] = drupal_render($form['expire_grant_og']);
  $row[] = drupal_render($form['expire_revoke_og']);
  $rows[] = $row;
  $output = theme('table', $header, $rows);
  $output .= drupal_render($form);
  return $output;
}