You are here

function theme_uc_product_dimensions_form in Ubercart 5

Same name and namespace in other branches
  1. 6.2 uc_product/uc_product.module \theme_uc_product_dimensions_form()

Put length, width, and height fields on the same line.

1 theme call to theme_uc_product_dimensions_form()
uc_product_form in uc_product/uc_product.module
Implementation of hook_form().

File

uc_product/uc_product.module, line 622
The product module for Ubercart.

Code

function theme_uc_product_dimensions_form($form) {
  $output = '';
  $row = array();
  foreach (element_children($form) as $dimension) {
    $row[] = drupal_render($form[$dimension]);
  }
  $output .= theme('table', array(), array(
    $row,
  ));
  return $output;
}