You are here

function theme_biblio_admin_io_mapper_form in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 includes/biblio.admin.inc \theme_biblio_admin_io_mapper_form()
  2. 7.2 includes/biblio.admin.inc \theme_biblio_admin_io_mapper_form()

Parameters

$variables:

Return value

unknown

File

includes/biblio.admin.inc, line 1187
biblio.admin.inc

Code

function theme_biblio_admin_io_mapper_form($variables) {
  $form = $variables['form'];
  $header = $rows = array();
  $output = drupal_render($form['title']);
  $rows[] = array(
    'data' => array(
      array(
        'data' => drupal_render($form['typemap']),
        'style' => 'vertical-align:top',
      ),
      array(
        'data' => drupal_render($form['fieldmap']),
        'style' => 'vertical-align:top',
      ),
    ),
  );
  $output .= theme('table', array(
    'header' => $header,
    'rows' => $rows,
  ));
  $output .= drupal_render_children($form);
  return $output;
}