You are here

function theme_asset_wizard_form in Asset 6

Same name in this branch
  1. 6 asset_wizard.inc \theme_asset_wizard_form()
  2. 6 inc/asset_wizard.themes.inc \theme_asset_wizard_form()
Same name and namespace in other branches
  1. 5 asset_wizard.inc \theme_asset_wizard_form()

Main theme function for asset_wizard_form.

2 theme calls to theme_asset_wizard_form()
theme_asset_wizard_selection_form in ./asset_wizard.inc
Theme function for the selection step of the wizard.
theme_asset_wizard_selection_form in inc/asset_wizard.themes.inc
Theme function for the selection step of the wizard.

File

./asset_wizard.inc, line 961

Code

function theme_asset_wizard_form($form, $main_class = NULL) {
  $footer = '<div id="asset-popup-footer" class="clear-block">' . drupal_render($form['footer']) . '</div>';
  $help = $form['help'] ? '<div class="help">' . drupal_render($form['help']) . '</div>' : '';
  $toolbar = '<div class="toolbar">' . asset_wizard_toolbar($form['parent']['#value']) . '</div>';

  //$location = '<div class="location">' . asset_wizard_location_bar($form['parent']['#value']) .'</div>';
  $messages = theme('status_messages');
  $main = '<div id="asset-popup-main" class="' . $main_class . '">' . $messages . $help . drupal_render($form) . '</div>';
  return $toolbar . $main . $footer;
}