You are here

function theme_taxonomy_manager_form in Taxonomy Manager 6

Same name and namespace in other branches
  1. 5 taxonomy_manager.module \theme_taxonomy_manager_form()
  2. 6.2 taxonomy_manager.admin.inc \theme_taxonomy_manager_form()
  3. 7 taxonomy_manager.admin.inc \theme_taxonomy_manager_form()

theme function for taxonomy manager form

File

./taxonomy_manager.admin.inc, line 1466

Code

function theme_taxonomy_manager_form($form) {
  $pager = theme('pager', NULL, TAXONOMY_MANAGER_TREE_PAGE_SIZE, 0);
  $tree = drupal_render($form['taxonomy']);
  $term_data = drupal_render($form['term_data']);
  $top = drupal_render($form);
  $output = $top . $pager;
  $output .= '<div id="taxonomy-manager" class="admin clear-block">';
  $output .= '<div id="taxonomy-manager-tree-outer-div" class="left clear-block">';
  $output .= $tree;
  $output .= '</div>';
  $output .= '<div id="taxonomy-term-data" class="right clear-block">';
  $output .= is_array($form['term_data']['tid']) ? $term_data : '';
  $output .= '</div>';
  $output .= '</div>';
  return $output;
}