? .gotwo.module.swp
Index: gotwo.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/gotwo/gotwo.module,v
retrieving revision 1.5.2.3
diff -u -p -r1.5.2.3 gotwo.module
--- gotwo.module	3 Nov 2007 10:35:09 -0000	1.5.2.3
+++ gotwo.module	3 Nov 2007 10:46:53 -0000
@@ -21,7 +21,7 @@ define('GOTWO_CREATE', 1);
 function gotwo_help($section) {
   switch ($section) {
     case 'admin/modules#description':
-      $output = t('Provides easy to use url redirections.');
+      $output = t("Creation and management of 'go' URL redirection to external links on the web.");
       break;
     case 'admin/help#gotwo':
       $output = gotwo_filter_tips(0, '', true);
@@ -60,17 +60,13 @@ function gotwo_menu($may_cache) {
       'access' => TRUE,
       'type' => MENU_CALLBACK
     );
-/*
-//Remove the Go list from the menu because of its new location in Drupal 5
-//I think its kinda messy. 
 
     $items[] = array(
-      'title' => 'Go list',
+      'title' => 'URL redirects',
       'path' => 'admin/build/gotwo', 
       'callback' => '__gotwo_list',
       'access' => user_access('view gotwo entries'),
     );
-*/
     $items[] = array(
       'path' => 'admin/settings/gotwo', 
       'title' => t('Gotwo Settings'),
@@ -85,15 +81,16 @@ function gotwo_menu($may_cache) {
       'type' => MENU_DEFAULT_LOCAL_TASK,
       'access' => user_access('view gotwo entries'),
     );
+  }
+  else {
     $items[] = array(
       'title' => 'add',
       'path' => 'admin/build/gotwo/add', 
-      'callback' => '__gotwo_manual_add',
+      'callback' => 'drupal_get_form',
+      'callback arguments' => array('__gotwo_manual_add'),
       'type' => MENU_LOCAL_TASK,
       'access' => user_access('view gotwo entries'),
     );
-  }
-  else {
     $items[] = array(
       'path' => 'admin/build/gotwo/reset', 
       'callback' => '__gotwo_reset',
@@ -454,7 +451,8 @@ function __gotwo_manual_add() {
     '#type' => 'submit',
     '#value' => t('Add'),
   );
-  return drupal_get_form('__gotwo_manual_add', $form);
+
+  return $form;
 }
 
 /**
