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/forum | |
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/forum')
-rw-r--r-- | modules/forum/forum.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 2130a2ea7..1352911b8 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -9,8 +9,8 @@ /** * Implementation of hook_help(). */ -function forum_help($section) { - switch ($section) { +function forum_help($path, $arg) { + switch ($path) { case 'admin/help#forum': $output = '<p>'. t('The forum module lets you create threaded discussion forums for a particular topic on your site. This is similar to a message board system such as phpBB. Forums are very useful because they allow community members to discuss topics with one another, and they are archived for future reference.') .'</p>'; $output .= '<p>'. t('Forums can be organized under what are called <em>containers</em>. Containers hold forums and, in turn, forums hold threaded discussions. Both containers and forums can be placed inside other containers and forums. By planning the structure of your containers and forums well, you make it easier for users to find a topic area of interest to them. Forum topics can be moved by selecting a different forum and can be left in the existing forum by selecting <em>leave a shadow copy</em>. Forum topics can also have their own URL.') .'</p>'; |