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/aggregator | |
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/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index e27c847c2..c678674fa 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -9,8 +9,8 @@ /** * Implementation of hook_help(). */ -function aggregator_help($section) { - switch ($section) { +function aggregator_help($path, $arg) { + switch ($path) { case 'admin/help#aggregator': $output = '<p>'. t('The news aggregator is a powerful on-site RSS syndicator/news reader that can gather fresh content from news sites and weblogs around the web.') .'</p>'; $output .= '<p>'. t('Users can view the latest news chronologically in the <a href="@aggregator">main news aggregator display</a> or by <a href="@aggregator-sources">source</a>. Administrators can add, edit and delete feeds and choose how often to check for newly updated news for each individual feed. Administrators can also tag individual feeds with categories, offering selective grouping of some feeds into separate displays. Listings of the latest news for individual sources or categorized sources can be enabled as blocks for display in the sidebar through the <a href="@admin-block">block administration page</a>. The news aggregator requires cron to check for the latest news from the sites to which you have subscribed. Drupal also provides a <a href="@aggregator-opml">machine-readable OPML file</a> of all of your subscribed feeds.', array('@aggregator' => url('aggregator'), '@aggregator-sources' => url('aggregator/sources'), '@admin-block' => url('admin/build/block'), '@aggregator-opml' => url('aggregator/opml'))) .'</p>'; |