rendered paste body<?phpfunction theme_taxonomy_alternative_overview($data) { $options = array('1' => t('Enabled'), '0' => t('Disabled')); $form = array(); if($data) { foreach ($data as $vocab) { $form['chk'.$vocab['vid']] = array( '#type' => 'checkbox' ); $form['td-name-'.$vocab['vid']] = array( '#value' => $vocab['name'] ); } } return drupal_get_form('tax_alt_form', $form);}function tax_alt_form($form) { $rows = array(); $header = array('Active', 'Name'); foreach ($form as $key => $element) { $rows[] = array('data' => drupal_render($form[$key])); } $header = array('', 'Name'); $output = theme('table', $rows, $header); return $output;}