diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-06-30 19:46:58 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-06-30 19:46:58 +0000 |
commit | 9e6ef53c2c3f15ad580ebfe71b53899eb4683c11 (patch) | |
tree | 99f55c2dbe3537f9be7c8750424371f688e2f7b8 /modules/contact | |
parent | 0995d62be320ced7c533d805fe887d78741bfbb8 (diff) | |
download | brdo-9e6ef53c2c3f15ad580ebfe71b53899eb4683c11.tar.gz brdo-9e6ef53c2c3f15ad580ebfe71b53899eb4683c11.tar.bz2 |
#154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module index 39a0f54d0..7b53d6be6 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -9,8 +9,8 @@ /** * Implementation of hook_help(). */ -function contact_help($section) { - switch ($section) { +function contact_help($path, $arg) { + switch ($path) { case 'admin/help#contact': $output = '<p>'. t('The contact module enables the use of both personal and site-wide contact forms, thereby facilitating easy communication within the community. While personal contact forms allow users to contact each other by e-mail, site-wide forms allow community members to contact the site administration from a central location. Users can specify a subject and message in the contact form, and also request that a copy of the e-mail be sent to their own address.') .'</p>'; $output .= '<p>'. t("Users can activate/deactivate their personal contact forms in their account settings. Upon activation, a contact tab will appear in their user profiles. Privileged users such as site administrators are able to contact users even if they have chosen not to enable this feature.") .'</p>'; |