diff options
-rw-r--r-- | includes/menu.inc | 2 | ||||
-rw-r--r-- | modules/contact.module | 3 | ||||
-rw-r--r-- | modules/contact/contact.module | 3 |
3 files changed, 1 insertions, 7 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index 8276dfd38..b160dc094 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -125,7 +125,7 @@ define('MENU_DYNAMIC_ITEM', MENU_VISIBLE_IN_TREE | MENU_VISIBLE_IN_BREADCRUMB); * Modules may "suggest" menu items that the administrator may enable. They act * just as callbacks do until enabled, at which time they act like normal items. */ -define('MENU_SUGGESTED_ITEM', MENU_MODIFIABLE_BY_ADMIN); +define('MENU_SUGGESTED_ITEM', MENU_MODIFIABLE_BY_ADMIN | MENU_VISIBLE_IN_BREADCRUMB); /** * Local tasks are rendered as tabs by default. Use this for menu items that diff --git a/modules/contact.module b/modules/contact.module index c9ddcca14..8008034dd 100644 --- a/modules/contact.module +++ b/modules/contact.module @@ -408,9 +408,6 @@ function contact_mail_user_submit($form_id, $edit) { function contact_mail_page() { global $user; - $breadcrumb[] = array('path' => 'contact', 'title' => t('contact')); - menu_set_location($breadcrumb); - if (!flood_is_allowed('contact', variable_get('contact_hourly_threshold', 3))) { $output = t("You cannot send more than %number messages per hour. Please try again later.", array('%number' => variable_get('contact_hourly_threshold', 3))); } diff --git a/modules/contact/contact.module b/modules/contact/contact.module index c9ddcca14..8008034dd 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -408,9 +408,6 @@ function contact_mail_user_submit($form_id, $edit) { function contact_mail_page() { global $user; - $breadcrumb[] = array('path' => 'contact', 'title' => t('contact')); - menu_set_location($breadcrumb); - if (!flood_is_allowed('contact', variable_get('contact_hourly_threshold', 3))) { $output = t("You cannot send more than %number messages per hour. Please try again later.", array('%number' => variable_get('contact_hourly_threshold', 3))); } |