You are here

function rss_permissions_help in RSS Permissions 6

Same name and namespace in other branches
  1. 7 rss_permissions.module \rss_permissions_help()

Implementation of hook_help().

File

./rss_permissions.module, line 6

Code

function rss_permissions_help($path, $arg) {

  // Generic statement.
  $help = '<p>' . t('RSS permissions module allows administrator to control the display of RSS feeds.') . '</p>';
  switch ($path) {
    case 'admin/help#rss_permissions':
      $help .= '<p>' . t('You can choose to disable the RSS feeds altogether. In order to do that, go to <a href="@admin_page_url">RSS Permissions administration page</a> and select <em>"Disable altogether"</em> from the dropdown.', array(
        '@admin_page_url' => url('admin/settings/rss_permissions'),
      )) . '</p>';
      $help .= '<p>' . t('You can also manage the display or RSS feeds on a more granular level. In order to do that, go to <a href="@permissions_url">rss_permissions module</a> section of the Permissions page to set permissions for various feeds per role.', array(
        '@permissions_url' => url('admin/user/permissions', array(
          'fragment' => 'module-rss_permissions',
        )),
      )) . '</p>';
      $help .= '<p>' . t('You can manage permissions for main site RSS feed, aggregator RSS feeds (if Aggregator module is enabled), main blog RSS feed and user blog RSS feeds (if Blog module is enabled), and taxonomy RSS feeds (if Taxonomy module is enabled).') . '</p>';
      return $help;
    case 'admin/settings/rss_permissions':
      $help .= '<p>' . t('On this page you can disable the RSS feeds altogether. In order to do that, select <em>"Disable altogether"</em> from the dropdown.', array(
        '@admin_page_url' => url('admin/settings/rss_permissions'),
      )) . '</p>';
      return $help;
  }
}