Index: quotes.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/quotes/quotes.module,v
retrieving revision 1.15.2.3
diff -u -r1.15.2.3 quotes.module
--- quotes.module	6 Jul 2006 14:30:25 -0000	1.15.2.3
+++ quotes.module	15 Dec 2006 18:14:25 -0000
@@ -62,12 +62,14 @@
       'callback' => '_quotes_feed_last',
       'type' => MENU_CALLBACK
     );
-    $items[] = array(
-      'path' => "quotes/$user->uid",
-      'title' => t('my quotes'),
-      'access' => ($user->uid && (user_access('create quotes') || user_access('import quotes') || user_access('edit own quotes'))),
-      'type' => MENU_DYNAMIC_ITEM
-    );
+    if (variable_get('quotes_show_myquotes', 1)) {
+      $items[] = array(
+        'path' => "quotes/$user->uid",
+        'title' => t('my quotes'),
+        'access' => ($user->uid && (user_access('create quotes') || user_access('import quotes') || user_access('edit own quotes'))),
+        'type' => MENU_DYNAMIC_ITEM
+      );
+    }
     $items[] = array(
       'path' => 'admin/settings/quotes',
       'title' => t('quotes'),
@@ -385,7 +387,11 @@
     '#default_value' => variable_get('quotes_leader', '&mdash;'),
     '#description' => t('The text placed before the author attribution (i.e. "&amp;mdash;" for an em-dash or "&amp;#8226;" for a bullet).')
   );
-
+  $form['quotes_show_myquotes'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Show the "my quotes" menu item'),
+    '#default_value' => variable_get('quotes_show_myquotes', 1),
+  );
   return $form;
 }
 
