? logintoboggan-move-settings-form-264295-4.patch
Index: logintoboggan.install
===================================================================
RCS file: /cvs/drupal/contributions/modules/logintoboggan/logintoboggan.install,v
retrieving revision 1.14
diff -u -p -r1.14 logintoboggan.install
--- logintoboggan.install	8 Mar 2008 23:02:15 -0000	1.14
+++ logintoboggan.install	29 May 2008 19:27:27 -0000
@@ -151,6 +151,15 @@ function logintoboggan_update_6000() {
 }
 
 /**
+ * Move settings form to admin/settings/logintoboggan.
+ */
+function logintoboggan_update_6001() {
+  // Rebuild the menu so that changes are reflected.
+  menu_rebuild();
+
+  return array();
+}
+/**
  * Implementation of hook_uninstall().
  */
 function logintoboggan_uninstall() {
@@ -169,4 +178,4 @@ function logintoboggan_uninstall() {
   foreach ($variables as $variable) {
   	variable_del($variable);
   }
-}
\ No newline at end of file
+}
Index: logintoboggan.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/logintoboggan/logintoboggan.module,v
retrieving revision 1.131
diff -u -p -r1.131 logintoboggan.module
--- logintoboggan.module	9 May 2008 00:34:22 -0000	1.131
+++ logintoboggan.module	29 May 2008 19:27:29 -0000
@@ -73,12 +73,12 @@ function logintoboggan_help($path, $arg)
       </ol>
       These features may be turned on or off in the Login Toboggan <a href=\"!url\">settings</a>.</p>
       <p>Because this module completely reorients the Drupal login process you will probably want to edit the welcome e-mail on the user settings page. For instance if you have enabled the 'Set password & Immediate Login' option, you probably should not send the user's password out in the welcome e-mail (also note when the 'Set password & Immediate Login' option is enabled, the !login_url becomes a verification url that the user MUST visit in order to enable authenticated status). The following is an example welcome e-mail:</p>
-      ", array('!url' => url('admin/user/logintoboggan')));
+      ", array('!url' => url('admin/settings/logintoboggan')));
       $output .= drupal_get_form('logintoboggan_example_help');
       $output .= t("<p>Note that if you have set the 'Visitors can create accounts but administrator approval is required' option for account approval, and are also using the 'Set password & Immediate Login' feature of LoginToboggan, the user will immediately receive the permissions of the pre-authorized user role -- you may wish to create a pre-authorized role with the exact same permissions as the anonymous user if you wish the newly created user to only have anonymous permissions.</p><p>In order for a site administrator to unblock a user who is awaiting administrator approval, they must either click on the validation link they receive in their notification e-mail, or manually remove the user from the site's pre-authorized role -- afterwards the user will then receive 'authenticated user' permissions. In either case, the user will receive an account activated e-mail if it's enabled on the user settings page -- it's recommended that you edit the default text of the activation e-mail to match LoginToboggan's workflow as described. </p><p>If you are using the 'Visitors can create accounts and no administrator approval is required' option, removal of the pre-authorized role will happen automatically when the user validates their account via e-mail.</p><p>Also be aware that LoginToboggan only affects registrations initiated by users--any user account created by an administrator will not use any LoginToboggan functionality.");
       return $output;
       break;
-    case 'admin/user/logintoboggan':
+    case 'admin/settings/logintoboggan':
       $output = t('<p>Customize your login and registration system. More help can be found <a href="!url">here</a>.</p>', array('!url' => url('admin/help/logintoboggan')));
 
       return $output;
@@ -450,7 +450,7 @@ function logintoboggan_menu() {
   $items = array();
 
   // Settings page.
-  $items['admin/user/logintoboggan'] = array(
+  $items['admin/settings/logintoboggan'] = array(
     'title' => 'LoginToboggan',
     'description' => 'Set up custom login options like instant login, login redirects, pre-authorized validation roles, etc.',
     'page callback' => 'drupal_get_form',
