You are here

function ascii_art_captcha_help in CAPTCHA Pack 7

Same name and namespace in other branches
  1. 5 ascii_art_captcha/ascii_art_captcha.module \ascii_art_captcha_help()
  2. 6 ascii_art_captcha/ascii_art_captcha.module \ascii_art_captcha_help()

Implements hook_help().

File

ascii_art_captcha/ascii_art_captcha.module, line 6

Code

function ascii_art_captcha_help($path, $arg) {
  switch ($path) {
    case 'admin/config/people/captcha/ascii_art_captcha':
      $output = '<p>' . t('The ASCII art CAPTCHA shows a random character code in ASCII art style. Example with current settings:') . '</p>';
      $captcha = ascii_art_captcha_captcha('generate', 'ASCII art CAPTCHA');
      $output .= $captcha['form']['ascii']['#markup'];
      return $output;
  }
}