Update header

This commit is contained in:
Mike Koch 2018-05-16 12:57:33 -04:00
parent dc8567620b
commit 5608c32c7e
No known key found for this signature in database
GPG Key ID: 9DF46195699C8A67

View File

@ -208,9 +208,14 @@ header('X-UA-Compatible: IE=edge');
}
}
// Use ReCaptcha API v2?
// Use ReCaptcha
if (defined('RECAPTCHA')) {
echo '<script src="https://www.google.com/recaptcha/api.js?hl=' . $hesklang['RECAPTCHA'] . '" async defer></script>';
echo '<script language="Javascript" type="text/javascript">
function recaptcha_submitForm() {
document.getElementById("form1").submit();
}
</script>';
}
if (defined('VALIDATOR')) {