You are here

function ad_channel_help in Advertisement 6.3

Same name and namespace in other branches
  1. 5.2 channel/ad_channel.module \ad_channel_help()
  2. 6.2 channel/ad_channel.module \ad_channel_help()
  3. 7 channel/ad_channel.module \ad_channel_help()

Implementation of hook_help().

File

channel/ad_channel.module, line 18
Ad Channel module.

Code

function ad_channel_help($path) {
  $output = '';
  switch ($path) {
    case 'admin/help#ad_channel':
      $output = '<p>' . t('This module provides the ability to create advertisement channels, for which rules can be defined.') . '</p>';
      break;
    case 'admin/content/ad/channel':
    case 'admin/content/ad/channel/list':
      return '<p>' . t('This is a list of existing containers and channels that you can edit.  Containers hold channels, and channels hold advertisements.') . '</p>';
    case 'admin/content/ad/channel/container':
      return '<p>' . t('Containers help you organize your advertisement channels.  A container can hold one or more related advertisement channels.') . '</p>';
    case 'admin/content/ad/channel/channel':
      return '<p>' . t('Advertisements can be assigned to one or more advertisement channels.  Rules can then be applied to these channels.') . '</p>';
  }
  return $output;
}