From a03cfb9f32212b6cb462069c676f8a2c1f969ee6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 21 Nov 2009 14:55:13 +0000 Subject: - Patch #638194 by yoroy: shorter help text on contact form pages. --- modules/contact/contact.module | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'modules/contact') diff --git a/modules/contact/contact.module b/modules/contact/contact.module index 3ba19a55e..a18abfa6a 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -20,14 +20,13 @@ function contact_help($path, $arg) { $output .= '

' . t('For more information, see the online handbook entry for Contact module.', array('@contact' => url('http://drupal.org/handbook/modules/contact/', array('absolute' => TRUE)))) . '

'; return $output; case 'admin/structure/contact': - $output = '

' . t('This page lets you set up your site-wide contact form. To do so, add one or more categories. You can associate different recipients with each category to route e-mails to different people. For example, you can route website feedback to the webmaster and direct product information requests to the sales department. On the settings page, you can customize the information shown above the contact form. This can be useful to provide additional contact information such as your postal address and telephone number.', array('@settings' => url('admin/structure/contact/settings'), '@form' => url('contact'))) . '

'; - if (!module_exists('menu')) { - $menu_note = t('The menu item can be customized and configured only once the menu module has been enabled.', array('@modules-page' => url('admin/config/modules'))); + $output = '

' . t('Add one or more categories to set up your site-wide contact form. You can customize the information above the contact form on the settings page.', array('@settings' => url('admin/structure/contact/settings'), '@form' => url('contact'))) . '

'; if (!module_exists('menu')) { + $menu_note = t('The menu item can be configured only if the menu module is enabled.', array('@modules-page' => url('admin/config/modules'))); } else { $menu_note = ''; } - $output .= '

' . t('The contact module also adds a menu item (disabled by default) to the navigation block.', array('@menu-settings' => url('admin/structure/menu'))) . ' ' . $menu_note . '

'; + $output .= '

' . t('A contact menu item (disabled by default) is available in the navigation block.', array('@menu-settings' => url('admin/structure/menu'))) . ' ' . $menu_note . '

'; return $output; } } -- cgit v1.2.3