Index: taxonomy_delegate.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_delegate/taxonomy_delegate.module,v retrieving revision 1.1.4.18 diff -u -p -r1.1.4.18 taxonomy_delegate.module --- taxonomy_delegate.module 10 Feb 2009 22:56:45 -0000 1.1.4.18 +++ taxonomy_delegate.module 25 May 2009 20:07:23 -0000 @@ -373,9 +373,27 @@ function taxonomy_delegate_mycategories( } /** - * Display a tree of all the terms in a vocabulary, with options to edit each one. + * Implementation of hook_theme(). + */ +function taxonomy_delegate_theme($existing, $type, $theme, $path) { + return array( + 'taxonomy_delegate_overview_terms' => array( + 'arguments' => array('vid' => NULL), + ), + ); +} + +/** + * Return a themed term overview form. */ function taxonomy_delegate_overview_terms($vid) { + return theme('taxonomy_delegate_overview_terms', $vid); +} + +/** + * Display a tree of all the terms in a vocabulary, with options to edit each one. + */ +function theme_taxonomy_delegate_overview_terms($vid) { $destination = drupal_get_destination(); $use_image = module_exists('taxonomy_image');