2002-11-19 08:51:33 +00:00
|
|
|
<!-- No config needed -->
|
2008-03-10 17:32:32 +00:00
|
|
|
<?php
|
|
|
|
// set to defaults if undefined
|
|
|
|
if (!isset($config->recaptcha)) {
|
|
|
|
$config->recaptcha = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
$yesno = array( get_string('no'), get_string('yes') );
|
|
|
|
|
|
|
|
?>
|
2005-06-02 05:39:41 +00:00
|
|
|
|
2007-04-20 07:54:42 +00:00
|
|
|
<table cellspacing="0" cellpadding="5" border="0">
|
2008-03-10 17:32:32 +00:00
|
|
|
<tr>
|
|
|
|
<td colspan="3">
|
2009-06-11 03:34:46 +00:00
|
|
|
<h2 class="main"><?php print_string('auth_emailsettings', 'auth_email') ?> </h2>
|
2008-03-10 17:32:32 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2009-06-11 03:34:46 +00:00
|
|
|
<td align="right"><label for="menurecaptcha"><?php print_string('auth_emailrecaptcha_key', 'auth_email') ?></label></td>
|
2009-09-03 07:48:10 +00:00
|
|
|
<td><?php
|
|
|
|
global $OUTPUT;
|
2010-01-16 18:29:51 +00:00
|
|
|
echo html_writer::select($yesno, 'recaptcha', $config->recaptcha, false);
|
2009-09-03 07:48:10 +00:00
|
|
|
?></td>
|
2009-06-11 03:34:46 +00:00
|
|
|
<td><?php print_string('auth_emailrecaptcha', 'auth_email') ?></td>
|
2009-11-01 11:55:14 +00:00
|
|
|
</tr>
|
2007-02-20 17:03:36 +00:00
|
|
|
<?php
|
2007-01-04 04:52:42 +00:00
|
|
|
|
2012-03-17 10:52:09 +01:00
|
|
|
print_auth_lock_options($this->authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
|
2007-01-04 04:52:42 +00:00
|
|
|
|
|
|
|
?>
|
|
|
|
</table>
|