You are here

function ascii_art_captcha_help in CAPTCHA Pack 5

Same name and namespace in other branches
  1. 6 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($section) {
  switch ($section) {
    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;
  }
}