Index: activesearch.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/jstools/activesearch/activesearch.module,v
retrieving revision 1.5
diff -u -r1.5 activesearch.module
--- activesearch.module	2 Mar 2007 16:37:51 -0000	1.5
+++ activesearch.module	31 Mar 2007 04:55:28 -0000
@@ -171,21 +171,23 @@
 }
 
 function theme_activesearch_results_types($keys, $node_types, $results) {
-  $tabs = array(
-    '#name' => 'activesearch',
+  $tabs = array();
+  $tabs['activesearch'] = array(
+    '#type' => 'tabset',
   );
-  $tabs[] = array(
+  $tabs['activesearch']['all'] = array(
+    '#type' => 'tabpage',
     '#title' => t('All'),
     '#content' => $results,
   );
   foreach ($node_types as $node_type) {
     if ($result = activesearch_activesearch_results_node($node_type, $keys)) {
-      $tabs[] = array(
+      $tabs['activesearch'][$node_type] = array(
+        '#type' => 'tabpage',
         '#title' => node_get_types('name', $node_type) ? node_get_types('name', $node_type) : $node_type,
         '#content' => $result,
       );
     }
   }
-
-  return theme('tabs_tabset', $tabs);
+  return tabs_render($tabs);
 }
