function recaptcha_help in reCAPTCHA 8
Same name and namespace in other branches
- 8.3 recaptcha.module \recaptcha_help()
- 8.2 recaptcha.module \recaptcha_help()
- 5.2 recaptcha.module \recaptcha_help()
- 6.2 recaptcha.module \recaptcha_help()
- 6 recaptcha.module \recaptcha_help()
- 7.2 recaptcha.module \recaptcha_help()
- 7 recaptcha.module \recaptcha_help()
Implements hook_help().
File
- ./
recaptcha.module, line 11 - Uses the reCAPTCHA web service to improve the CAPTCHA system.
Code
function recaptcha_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/modules#name':
$output .= t('reCAPTCHA');
break;
case 'admin/modules#description':
case 'admin/user/captcha/recaptcha':
$output .= t('Uses the <a href="@url" target="_blank">reCAPTCHA</a> web service to improve the CAPTCHA system and protect email addresses.', array(
'@url' => url('https://www.google.com/recaptcha'),
));
break;
case 'admin/help#recaptcha':
$output .= '<p>' . t('Uses the reCAPTCHA web service to improve the CAPTCHA module and protect email addresses. For more information on what reCAPTCHA is, visit <a href="@url" target="_blank">the official website</a>.', array(
'@url' => url('https://www.google.com/recaptcha'),
)) . '</p><h3>' . t('Configuration') . '</h3><p>' . t('The settings associated with reCAPTCHA can be found in the <a href="@recaptchatab">reCAPTCHA tab</a>, in the <a href="@captchasettings">CAPTCHA settings</a>. You must set your public and private reCAPTCHA keys in order to use the module. Once the public and private keys are set, visit the <a href="@captchasettings">CAPTCHA settings</a>, where you can choose where reCAPTCHA should be displayed.', array(
'@recaptchatab' => url('admin/user/captcha/recaptcha'),
'@captchasettings' => url('admin/user/captcha'),
)) . '</p>';
break;
}
return $output;
}