theme_auction_bid_form($form)
ecommerce-5--4/contrib/auction/auction.module, line 679
Formats the HTML elements that you see when you _Bid_ on an auction. You can override this function. Refer to Theming at http://drupal.org/node/55126. Called indirectly by theme_product_auction_view()
$form A formapi array which contains the form elements.
| Name | Description |
|---|---|
| Themeable functions | Functions that display HTML, and which can be customized by themes. |
<?php
function theme_auction_bid_form($form) {
drupal_set_title(t('Place a Bid'));
$header = array();
$rows[] = array(t('Current bid:'), format_currency($form['bid']['#current_bid']));
$rows[] = array(t('Your bid:'), drupal_render($form['bid']));
$rows[] = array(' ', drupal_render($form['submit']));
$output = theme('table', $header, $rows);
$output .= drupal_render($form);
return $output;
}
?>