diff --git a/lang/en/auth.php b/lang/en/auth.php index fc2f0f8a972..c83e646677f 100644 --- a/lang/en/auth.php +++ b/lang/en/auth.php @@ -108,6 +108,7 @@ $string['recaptcha'] = 'reCAPTCHA'; $string['recaptcha_help'] = 'The CAPTCHA is for preventing abuse from automated programs. Simply enter the words in the box, in order and separated by a space. If you are not sure what the words are, you can try getting another CAPTCHA or an audio CAPTCHA.'; +$string['recaptcha_link'] = 'auth/email'; $string['selfregistration'] = 'Self registration'; $string['selfregistration_help'] = 'If an authentication plugin, such as email-based self-registration, is selected, then it enables potential users to register themselves and create accounts. This results in the possibility of spammers creating accounts in order to use forum posts, blog entries etc. for spam. To avoid this risk, self-registration should be disabled or limited by Allowed email domains setting.'; $string['sha1'] = 'SHA-1 hash'; diff --git a/lang/en/help/recaptcha.html b/lang/en/help/recaptcha.html deleted file mode 100644 index fbe510c8220..00000000000 --- a/lang/en/help/recaptcha.html +++ /dev/null @@ -1,10 +0,0 @@ -

reCAPTCHA

-

Description

-

A CAPTCHA is a program that can tell whether its user is a human or a computer. CAPTCHAs are used by many websites to prevent abuse from "bots," or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs.

- -

Instructions

-

Please enter the words you see in the box, in order and separated by a space. Doing so helps prevent automated programs from abusing this service.

- -

If you are not sure what the words are, either enter your best guess or follow the "Get another CAPTCHA" link.

- -

Visually impaired users can follow the "Get an audio CAPTCHA" link to hear a set of digits that can be entered instead of the visual challenge.

diff --git a/login/signup_form.php b/login/signup_form.php index 2dbd94dfd3f..8fbf23ae2af 100644 --- a/login/signup_form.php +++ b/login/signup_form.php @@ -72,7 +72,7 @@ class login_signup_form extends moodleform { if (signup_captcha_enabled()) { $mform->addElement('recaptcha', 'recaptcha_element', get_string('recaptcha', 'auth'), array('https' => $CFG->loginhttps)); - $mform->setHelpButton('recaptcha_element', array('recaptcha', get_string('recaptcha', 'auth'))); + $mform->addHelpButton('recaptcha_element', 'recaptcha', 'auth'); } profile_signup_fields($mform);