? .DS_Store ? content-type-js.patch ? install-228761-7.patch ? node-content_type_overview-302120-16.patch ? node-content_type_overview-X-0.patch ? test.html ? misc/.DS_Store ? modules/.DS_Store ? modules/node/.DS_Store ? modules/node/content_types.js ? sites/default/files ? sites/default/settings.php Index: modules/node/content_types.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/node/content_types.inc,v retrieving revision 1.57 diff -u -p -r1.57 content_types.inc --- modules/node/content_types.inc 16 Jul 2008 21:59:27 -0000 1.57 +++ modules/node/content_types.inc 27 Sep 2008 21:35:13 -0000 @@ -12,18 +12,14 @@ function node_overview_types() { $types = node_get_types(); $names = node_get_types('names'); - $header = array(t('Name'), t('Type'), t('Description'), array('data' => t('Operations'), 'colspan' => '2')); + $header = array(t('Name'), array('data' => t('Operations'), 'colspan' => '2')); $rows = array(); foreach ($names as $key => $name) { $type = $types[$key]; if (node_hook($type, 'form')) { $type_url_str = str_replace('_', '-', $type->type); - $row = array( - check_plain($name), - check_plain($type->type), - filter_xss_admin($type->description), - ); + $row = array(theme('node_admin_overview', $name, $type)); // Set the edit column. $row[] = array('data' => l(t('edit'), 'admin/build/node-type/' . $type_url_str)); @@ -45,6 +41,13 @@ function node_overview_types() { return theme('table', $header, $rows); } +function theme_node_admin_overview($name, $type) { + $output = check_plain($name); + $output .= ' (Machine name: '. check_plain($type->type) .')'; + $output .= '