mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-21695 Replaced recaptcha.html
AMOS BEGIN HLP recaptcha.html,[recaptcha_help,core_auth] AMOS END
This commit is contained in:
parent
165c9f1f34
commit
8db551df1c
@ -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 <em>Allowed email domains</em> setting.';
|
||||
$string['sha1'] = 'SHA-1 hash';
|
||||
|
@ -1,10 +0,0 @@
|
||||
<h1>reCAPTCHA</h1>
|
||||
<h2>Description</h2>
|
||||
<p>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.</p>
|
||||
|
||||
<h2>Instructions</h2>
|
||||
<p>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.</p>
|
||||
|
||||
<p>If you are not sure what the words are, either enter your best guess or follow the "Get another CAPTCHA" link. </p>
|
||||
|
||||
<p>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.</p>
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user