function theme_uc_recurring_cybersource_billto_form in UC Recurring Payments and Subscriptions 7.2
Same name and namespace in other branches
- 6.2 includes/uc_recurring.uc_cybersource.inc \theme_uc_recurring_cybersource_billto_form()
Theme billing address form items
File
- includes/
uc_recurring.uc_cybersource.inc, line 251 - Uc recurring implementation for the CyberSource module.
Code
function theme_uc_recurring_cybersource_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;
}