Merge branch 'MDL-38460_M24' of git://github.com/lazydaisy/moodle into MOODLE_24_STABLE
[moodle.git] / auth / email / config.html
blob1b26e3f0cd91dbbdc114b435dfd1d65aff12a4fe
1 <!-- No config needed -->
2 <?php
3 // set to defaults if undefined
4 if (!isset($config->recaptcha)) {
5 $config->recaptcha = false;
8 $yesno = array( get_string('no'), get_string('yes') );
12 <table cellspacing="0" cellpadding="5" border="0">
13 <tr>
14 <td colspan="3">
15 <h2 class="main"><?php print_string('auth_emailsettings', 'auth_email') ?> </h2>
16 </td>
17 </tr>
18 <tr>
19 <td align="right"><label for="menurecaptcha"><?php print_string('auth_emailrecaptcha_key', 'auth_email') ?></label></td>
20 <td><?php
21 global $OUTPUT;
22 echo html_writer::select($yesno, 'recaptcha', $config->recaptcha, false);
23 ?></td>
24 <td><?php print_string('auth_emailrecaptcha', 'auth_email') ?></td>
25 </tr>
26 <?php
28 print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
31 </table>