You are here

function ascii_art_captcha_help in CAPTCHA Pack 6

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

Implementation of hook_help().

File

ascii_art_captcha/ascii_art_captcha.module, line 6

Code

function ascii_art_captcha_help($path, $arg) {
  switch ($path) {
    case 'admin/user/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']['#value'];
      return $output;
  }
}