You are here

function theme_biblio_admin_author_edit_form in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 includes/biblio_theme.inc \theme_biblio_admin_author_edit_form()
  2. 7 includes/biblio_theme.inc \theme_biblio_admin_author_edit_form()
  3. 7.2 includes/biblio.theme.inc \theme_biblio_admin_author_edit_form()

Themes the author editing form

Parameters

$form:

Return value

rendered form

File

./biblio_theme.inc, line 1149

Code

function theme_biblio_admin_author_edit_form($form) {
  $rows = array();
  $header = array();
  $rows[] = array(
    array(
      'data' => drupal_render($form['prefix']),
    ),
    array(
      'data' => drupal_render($form['firstname']),
    ),
    array(
      'data' => drupal_render($form['initials']),
    ),
    array(
      'data' => drupal_render($form['lastname']),
    ),
    array(
      'data' => drupal_render($form['suffix']),
    ),
  );
  $rows[] = array(
    array(
      'data' => drupal_render($form['name']) . drupal_render($form['no_format']),
      'colspan' => 5,
    ),
  );
  $rows[] = array(
    array(
      'data' => drupal_render($form['affiliation']),
      'colspan' => 5,
    ),
  );
  $rows[] = array(
    array(
      'data' => drupal_render($form['drupal_uid']),
      'colspan' => 5,
    ),
  );
  $output = theme('table', $header, $rows);
  $output .= drupal_render($form['merge']);
  $output .= drupal_render($form['link']);
  $output .= drupal_render($form);
  return $output;
}