From 7cef435baa1bdfad86e9453508cf911862617744 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 29 Nov 2009 19:54:40 +0000 Subject: #640174 by batigolix, arianek, and lisarex: Update Contact module to new help standard. --- modules/contact/contact.module | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'modules/contact') diff --git a/modules/contact/contact.module b/modules/contact/contact.module index a18abfa6a..ced9df4db 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -12,12 +12,18 @@ function contact_help($path, $arg) { switch ($path) { case 'admin/help#contact': - $output = '

' . t('The contact module facilitates communication via e-mail, by allowing your site\'s visitors to contact one another (personal contact forms), and by providing a simple way to direct messages to a set of administrator-defined recipients (the contact page). With either form, users specify a subject, write their message, and (optionally) have a copy of their message sent to their own e-mail address.', array('@contact' => url('contact'))) . '

'; - $output .= '

' . t("Personal contact forms allow users to be contacted via e-mail, while keeping recipient e-mail addresses private. Users may enable or disable their personal contact forms by editing their My account page. If enabled, a Contact tab leading to their personal contact form is available on their user profile. Site administrators have access to all personal contact forms (even if they have been disabled). The Contact tab is only visible when viewing another user's profile (users do not see their own Contact tab).") . '

'; - $output .= '

' . t('The contact page provides a simple form for visitors to leave comments, feedback, or other requests. Messages are routed by selecting a category from a list of administrator-defined options; each category has its own set of e-mail recipients. Common categories for a business site include, for example, "Website feedback" (messages are forwarded to web site administrators) and "Product information" (messages are forwarded to members of the sales department). The actual e-mail addresses defined within a category are not displayed. Only users in roles with the access site-wide contact form permission may access the contact page.', array('@contact' => url('contact'))) . '

'; - $output .= '

' . t('A link to your site\'s contact page from the main Navigation menu is created, but is disabled by default. Create a similar link on another menu by adding a menu item pointing to the path "contact"', array('@contact' => url('contact'))) . '

'; - $output .= '

' . t('Customize the contact page with additional information (like physical location, mailing address, and telephone number) using the contact form settings page. The settings page also provides configuration options for the maximum number of contact form submissions a user may perform per hour, and the default status of users\' personal contact forms.', array('@contact-settings' => url('admin/structure/contact/settings'), '@contact' => url('contact'))) . '

'; - $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)))) . '

'; + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The Contact module allows visitors to contact site administrators and other users. Users specify a subject, write their message, and can have a copy of their message sent to their own e-mail. For more information, see the online handbook entry for Contact module.', array('@contact' => 'http://drupal.org/handbook/modules/contact/')) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('User contact forms') . '
'; + $output .= '
' . t('Site users can be contacted with a user contact form that keeps their e-mail address private. Users may enable or disable their personal contact forms by editing their My account page. If enabled, a Contact tab leads to a personal contact form displayed on their user profile. Site administrators are still able to use the contact form, even if has been disabled. The Contact tab is not shown when you view your own profile.') . '
'; + $output .= '
' . t('Site-wide contact forms') . '
'; + $output .= '
' . t('The Contact page provides a simple form for visitors to leave comments, feedback, or other requests. Only users in roles with the access site-wide contact form permission may access the contact page. You can create categories for directing the contact form contents to a set of defined recipients. Common categories for a business site, for example, might include "Website feedback" (messages are forwarded to website administrators) and "Product information" (messages are forwarded to members of the sales department). E-mail addresses defined within a category are not displayed publicly.', array('@contact' => url('contact'))) . '

'; + $output .= '
' . t('Navigation') . '
'; + $output .= '
' . t("When the site-wide contact form is enabled, a link in the main Navigation menu is created, but is disabled by default. This menu item can be enabled on the Menu administration page.", array('@contact' => url('contact'), '@menu' => url('admin/structure/menu'))) . '
'; + $output .= '
'; return $output; case 'admin/structure/contact': $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')) { -- cgit v1.2.3