diff -u3 -prNx CVS me.old/me.info me/me.info
--- me.old/me.info	1969-12-31 19:00:00.000000000 -0500
+++ me/me.info	2007-01-09 15:51:01.017582900 -0500
@@ -0,0 +1,2 @@
+name = Me aliasing
+description = "Provides links to current user's pages using 'me' instead of user id."
diff -u3 -prNx CVS me.old/me.module me/me.module
--- me.old/me.module	2006-11-12 11:02:48.000000000 -0500
+++ me/me.module	2007-01-14 01:42:37.437500000 -0500
@@ -4,13 +4,14 @@
 /**
  * Implementation of hook_help().
  */
-function me_help($section) {
+/* function me_help($section) {
   switch ($section) {
     case 'admin/modules#description':
       return t('Provides links to current user\'s pages using \'me\' instead of user id.');
   }
 }
-
+ */
+ 
 /**
  * Implementation of hook_menu().
  */
@@ -28,10 +29,21 @@ function me_menu($may_cache) {
         $items[] = array(
           'path' => $alias,
           'type' => MENU_CALLBACK,
-          'callback' => 'me_relay'
+          'callback' => 'me_relay',
+      'access' => user_access('access content'), 
         );
       }
     }
+
+  $items[] = array(
+      'path' => 'admin/settings/me',
+      'title' => t('Me aliasing'),
+      'description' => t('Define URL paths for Me aliasing.'),
+      'callback' => 'drupal_get_form',
+      'callback arguments' => array('me_admin_settings'),
+      'access' => user_access('administer site configuration'),
+      'type' => MENU_NORMAL_ITEM, // optional
+  );
   }
 
   return $items;
@@ -42,7 +54,7 @@ function me_menu($may_cache) {
  *
  * Provide a single textbox that allows admins to enter any number of paths containing 'me'
  */
-function me_settings() {
+function me_admin_settings() {
   $form['me_aliases'] = array(
     '#type'=>'textarea',
     '#title'=>t('Aliases to create'),
@@ -52,7 +64,7 @@ function me_settings() {
     '#description'=>t('The per-user aliases to create. Each alias must contain the \'me\' fragment or it will be ignored. Enter one alias per line, and do not include trailing or leading slashes.'),
   );
 
-  return $form;
+  return system_settings_form($form);
 }
 
 /**
@@ -71,6 +83,8 @@ function me_relay() {
     $dest.=(($dest=='')?'':'/').(($fragment=='me')?$user->uid:$fragment);
     $index++;
     $fragment = arg($index);
+//	  watchdog('Me alias', '"' . $fragment . '" -> "' . $dest . '"', WATCHDOG_ERROR);
   }
+
   drupal_goto($dest);
 }
\ No newline at end of file
