You are here

function theme_uc_payment_by_order_form in Ubercart 6.2

Same name and namespace in other branches
  1. 5 payment/uc_payment/uc_payment.module \theme_uc_payment_by_order_form()

Themes uc_payment_by_order_form().

See also

uc_payment_by_order_form()

File

payment/uc_payment/uc_payment.admin.inc, line 456
Payment administration menu items.

Code

function theme_uc_payment_by_order_form($form) {
  $output = '<p><strong>' . t('Order total:') . '</strong> ' . drupal_render($form['order_total']) . '<br /><strong>' . t('Current balance:') . '</strong> ' . drupal_render($form['balance']) . '</p>';
  $output .= '<p>' . drupal_render($form['payments']) . '</p>' . '<p>' . drupal_render($form['form_id']) . drupal_render($form['form_token']) . '</p>';
  return $output;
}