You are here

function ad_help in Advertisement 6.3

Same name and namespace in other branches
  1. 5.2 ad.module \ad_help()
  2. 5 ad.module \ad_help()
  3. 6 ad.module \ad_help()
  4. 6.2 ad.module \ad_help()
  5. 7 ad.module \ad_help()

Implementation of hook_help().

File

./ad.module, line 367

Code

function ad_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/help#ad':
      $output = '<p>' . t('The ad module provides a complete advertising system for Drupal powered websites.  It does this through an API that allow other modules to handle various types of advertising content.  For example, if enabled together with the ad_image module you will be able to display image based advertisements such as banner ads.') . '</p>';
      break;
    case 'node/add/ad':
      $output = '<p>' . t('Advertisements can be randomly displayed to visitors of your website.') . '</p>';
      break;
  }
  return $output;
}