diff --git a/browscap.module b/browscap.module index f21be0b..5c14d16 100644 --- a/browscap.module +++ b/browscap.module @@ -73,6 +73,22 @@ function browscap_menu() { return $items; } + /** + * Implements hook_help(). + */ +function browscap_help($path, $arg) { + switch ($path) { + case 'admin/settings/browscap': + return '
' . t('Settings for user agent detection and the log that Browscap will keep about user agents that visit the site. See user agent statistics for the actual information.', array('@statistics' => url('admin/reports/browscap'))) . '
'; + case 'admin/reports/browscap': + return '' . t('This page displays the most popular visiting user agents.') . '
'; + case 'admin/reports/browscap/browsers': + return '' . t('This page displays the most popular visiting user agents which have been classified as browsers.') . '
'; + case 'admin/reports/browscap/crawlers': + return '' . t('This page displays the most popular visiting user agents which have been classified as crawlers.') . '
'; + } +} + /** * Implementation of hook_exit(). */