You are here

function browscap_help in Browscap 6

Same name and namespace in other branches
  1. 8.3 browscap.module \browscap_help()
  2. 8 browscap.module \browscap_help()
  3. 6.2 browscap.module \browscap_help()
  4. 7.2 browscap.module \browscap_help()
  5. 7 browscap.module \browscap_help()

Implements hook_help().

File

./browscap.module, line 81
Replacement for PHP's get_browser() function.

Code

function browscap_help($path, $arg) {
  switch ($path) {
    case 'admin/settings/browscap':
      return '<p>' . t('Settings for user agent detection and the log that Browscap will keep about user agents that visit the site. See <a href="@statistics">user agent statistics</a> for the actual information.', array(
        '@statistics' => url('admin/reports/browscap'),
      )) . '</p>';
    case 'admin/reports/browscap':
      return '<p>' . t('This page displays the most popular visiting user agents.') . '</p>';
    case 'admin/reports/browscap/browsers':
      return '<p>' . t('This page displays the most popular visiting user agents which have been classified as browsers.') . '</p>';
    case 'admin/reports/browscap/crawlers':
      return '<p>' . t('This page displays the most popular visiting user agents which have been classified as crawlers.') . '</p>';
  }
}