summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-11-21 14:55:13 +0000
committerDries Buytaert <dries@buytaert.net>2009-11-21 14:55:13 +0000
commita03cfb9f32212b6cb462069c676f8a2c1f969ee6 (patch)
treea7c4162913b3ed108a4412923435da9f24a7d64f /modules/contact
parentff88ee0f565ed9d3ebc0bba662987b0f0aacf9dc (diff)
downloadbrdo-a03cfb9f32212b6cb462069c676f8a2c1f969ee6.tar.gz
brdo-a03cfb9f32212b6cb462069c676f8a2c1f969ee6.tar.bz2
- Patch #638194 by yoroy: shorter help text on contact form pages.
Diffstat (limited to 'modules/contact')
-rw-r--r--modules/contact/contact.module7
1 files changed, 3 insertions, 4 deletions
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 .= '<p>' . t('For more information, see the online handbook entry for <a href="@contact">Contact module</a>.', array('@contact' => url('http://drupal.org/handbook/modules/contact/', array('absolute' => TRUE)))) . '</p>';
return $output;
case 'admin/structure/contact':
- $output = '<p>' . t('This page lets you set up <a href="@form">your site-wide contact form</a>. 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 <a href="@settings">settings page</a>, 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'))) . '</p>';
- if (!module_exists('menu')) {
- $menu_note = t('The menu item can be customized and configured only once the menu module has been <a href="@modules-page">enabled</a>.', array('@modules-page' => url('admin/config/modules')));
+ $output = '<p>' . t('Add one or more categories to set up your site-wide <a href="@form">contact form</a>. You can <a href="@settings">customize the information above the contact form</a> on the settings page.', array('@settings' => url('admin/structure/contact/settings'), '@form' => url('contact'))) . '</p>'; if (!module_exists('menu')) {
+ $menu_note = t('The menu item can be configured only if the menu module is <a href="@modules-page">enabled</a>.', array('@modules-page' => url('admin/config/modules')));
}
else {
$menu_note = '';
}
- $output .= '<p>' . t('The contact module also adds a <a href="@menu-settings">menu item</a> (disabled by default) to the navigation block.', array('@menu-settings' => url('admin/structure/menu'))) . ' ' . $menu_note . '</p>';
+ $output .= '<p>' . t('A <a href="@menu-settings">contact menu item</a> (disabled by default) is available in the navigation block.', array('@menu-settings' => url('admin/structure/menu'))) . ' ' . $menu_note . '</p>';
return $output;
}
}