### Eclipse Workspace Patch 1.0
#P drupal-6
Index: modules/node/content_types.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/content_types.inc,v
retrieving revision 1.50
diff -u -r1.50 content_types.inc
--- modules/node/content_types.inc	27 Jan 2008 18:03:05 -0000	1.50
+++ modules/node/content_types.inc	29 Jan 2008 22:35:08 -0000
@@ -12,7 +12,11 @@
 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'));
+  // hook_node_type_operations()
+  $ops = module_invoke_all('node_type_operations');
+  $colspan = 2 + count($ops);
+  
+  $header = array(t('Name'), t('Type'), t('Description'), array('data' => t('Operations'), 'colspan' => $colspan));
   $rows = array();
 
   foreach ($names as $key => $name) {
@@ -34,6 +38,10 @@
       else {
         $row[] = array('data' => '');
       }
+      foreach ($ops as $op => $op_name) {
+        $row[] = array('data' => l($op_name, 'admin/content/node-type/'. $type_url_str .'/'. $op));
+      }
+      
       $rows[] = $row;
     }
   }
