You are here

function theme_uc_recurring_authorizenet_cim_billto_form in UC Recurring Payments and Subscriptions 7.2

Same name and namespace in other branches
  1. 6.2 includes/uc_recurring.uc_authorizenet.inc \theme_uc_recurring_authorizenet_cim_billto_form()

Theme billing address form items

File

includes/uc_recurring.uc_authorizenet.inc, line 265
Uc recurring implementation for the test gateway module.

Code

function theme_uc_recurring_authorizenet_cim_billto_form($form) {
  $output = '<table class="order-edit-table">';
  foreach (element_children($form) as $field) {
    $title = $form[$field]['#title'];
    $form[$field]['#title'] = NULL;
    $output .= '<tr><td class="oet-label">' . $title . ':</td><td>' . drupal_render($form[$field]) . '</td></tr>';
  }
  $output .= '</table>';
  return $output;
}