From 9e6ef53c2c3f15ad580ebfe71b53899eb4683c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sat, 30 Jun 2007 19:46:58 +0000 Subject: #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 --- modules/forum/forum.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/forum') 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 = '

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

'; $output .= '

'. t('Forums can be organized under what are called containers. 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 leave a shadow copy. Forum topics can also have their own URL.') .'

'; -- cgit v1.2.3