? .magic_tabs.module.swp
? drupal6port.patch
Index: magic_tabs.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/magic_tabs/Attic/magic_tabs.info,v
retrieving revision 1.1
diff -u -p -r1.1 magic_tabs.info
--- magic_tabs.info	24 May 2008 05:27:38 -0000	1.1
+++ magic_tabs.info	27 Sep 2008 12:36:20 -0000
@@ -1,3 +1,4 @@
 ; $Id: magic_tabs.info,v 1.1 2008/05/24 05:27:38 yhager Exp $
 name = Magic Tabs
 description = Display nice ajax based tabs, that degrade gracefully
+core = 6.x
Index: magic_tabs.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/magic_tabs/Attic/magic_tabs.module,v
retrieving revision 1.3.2.13
diff -u -p -r1.3.2.13 magic_tabs.module
--- magic_tabs.module	23 Sep 2008 07:36:13 -0000	1.3.2.13
+++ magic_tabs.module	27 Sep 2008 12:36:20 -0000
@@ -147,15 +147,13 @@ function magic_tabs_get($callback, $acti
 /**
  * Implementation of hook_menu().
  */
-function magic_tabs_menu($may_cache) {
-  if (!$may_cache) {
-    $items[] = array(
-      'path' => 'magic_tabs',
+function magic_tabs_menu() {
+    $items['magic_tabs'] = array(
+      'title' => 'Magic Tabs',
       'callback' => 'magic_tabs_ajax',
       'access' => user_access('access content'),
       'type' => MENU_CALLBACK,
     );
-  }
   return $items;
 }
 
@@ -217,6 +215,21 @@ function magic_tabs_check_callback($call
 }
 
 /**
+ * Implementation of hook_theme().
+ */ 
+function magic_tabs_theme(){
+  return array(
+    'magic_tabs' => array(
+      'arguments' => array(
+        'callback' => '',
+        'items' => array(),
+        'content' => '',
+      ),
+    ),
+  );
+}
+
+/**
  * Themeable functions
  */
 function theme_magic_tabs($callback, $items, $content) {
@@ -282,4 +295,4 @@ function _magic_tabs_first_time_ajax() {
 
   $ajax = ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest');
   return $ajax;
-}
\ No newline at end of file
+}
