--- content.admin.orig 2009-07-19 09:03:56.000000000 -0400 +++ content.admin.inc 2009-10-05 12:36:02.324125000 -0400 @@ -29,7 +29,6 @@ function content_types_overview() { // Set the edit column. $row[] = array('data' => l(t('edit'), 'admin/content/node-type/'. $type_url_str)); // Set links for managing fields. - // TODO: a hook to allow other content modules to add more stuff? $row[] = array('data' => l(t('manage fields'), 'admin/content/node-type/'. $type_url_str .'/fields')); // Set the delete column. if ($type->custom) { @@ -39,15 +38,15 @@ function content_types_overview() { $row[] = array('data' => ''); } - $rows[] = $row; + $rows[] = module_invoke_all('content_list', $row, $header); } } if (empty($rows)) { - $rows[] = array(array('data' => t('No content types available.'), 'colspan' => '7', 'class' => 'message')); + $rows[] = array(array('data' => t('No content types available.'), 'colspan' => '99', 'class' => 'message')); } - return theme('table', $header, $rows) .theme('content_overview_links'); + return theme('table', $header, $rows); } function theme_content_overview_links() {