function recaptcha_mailhide_help in reCAPTCHA 7
Same name and namespace in other branches
- 8 recaptcha_mailhide/recaptcha_mailhide.module \recaptcha_mailhide_help()
- 5.2 recaptcha_mailhide.module \recaptcha_mailhide_help()
- 6 recaptcha_mailhide/recaptcha_mailhide.module \recaptcha_mailhide_help()
Implements hook_help().
File
- recaptcha_mailhide/
recaptcha_mailhide.module, line 11 - Protects email addresses using the reCAPTCHA web service.
Code
function recaptcha_mailhide_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/modules#name':
$output .= t('reCAPTCHA');
break;
case 'admin/modules#description':
$output .= t('Uses the <a href="@url" target="_blank">reCAPTCHA</a> web service to protect email addresses.', array(
'@url' => url('https://www.google.com/recaptcha/mailhide/apikey'),
));
break;
case 'admin/help#recaptcha':
$output .= '<p>' . t('Uses the reCAPTCHA web service to protect email addresses. For more information on what reCAPTCHA Mailhide is, visit <a href="@url" target="_blank">the official website</a>.', array(
'@url' => url('https://www.google.com/recaptcha/mailhide/apikey'),
)) . '</p><h3>' . t('Configuration') . '</h3><p>' . t('Head over to the <a href="@inputformats">input format settings</a> and add the <a href="@url" target="_blank">reCAPTCHA Mailhide</a> input filter to hide posted emails.', array(
'@inputformats' => url('admin/settings/filter'),
'@url' => url('https://www.google.com/recaptcha/mailhide/apikey'),
)) . '</p>';
break;
}
return $output;
}