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/blogapi | |
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/blogapi')
-rw-r--r-- | modules/blogapi/blogapi.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 7b8ace852..33656ccd6 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -9,8 +9,8 @@ /** * Implementation of hook_help(). */ -function blogapi_help($section) { - switch ($section) { +function blogapi_help($path, $arg) { + switch ($path) { case 'admin/help#blogapi': $output = '<p>'. t('The blog API module enables a post to be posted to a site via external GUI applications. Many users prefer to use external tools to improve their ability to read and post responses in a customized way. The blog api provides users the freedom to use the blogging tools they want but still have the blogging server of choice.') .'</p>'; $output .= '<p>'. t('When this module is enabled and configured you can use programs like <a href="@external-http-ecto-kung-foo-tv">Ecto</a> to create and publish posts from your desktop. Blog API module supports several XML-RPC based blogging APIs such as the <a href="@-">Blogger API</a>, <a href="@external-http-www-xmlrpc-com-metaWeblogApi">MetaWeblog API</a>, and most of the <a href="@external-http-www-movabletype-org-docs-mtmanual_programmatic-html">Movable Type API</a>. Any desktop blogging tools or other services (e.g. <a href="@external-http-www-flickr-com">Flickr\'s</a> "post to blog") that support these APIs should work with this site.', array('@external-http-ecto-kung-foo-tv' => 'http://ecto.kung-foo.tv/', '@-' => url('http://www.blogger.com/developers/api/1_docs/'), '@external-http-www-xmlrpc-com-metaWeblogApi' => 'http://www.xmlrpc.com/metaWeblogApi', '@external-http-www-movabletype-org-docs-mtmanual_programmatic-html' => 'http://www.movabletype.org/docs/mtmanual_programmatic.html', '@external-http-www-flickr-com' => 'http://www.flickr.com')) .'</p>'; |