From: Tim Düsterhus Date: Tue, 9 Dec 2014 18:38:11 +0000 (+0100) Subject: Add reCAPTCHA v2 support for users w/o JavaScript X-Git-Tag: 2.1.0_Beta_1~76^2~3^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ca3c9cb384141e8c6e21d24489363f60d98b6b5;p=GitHub%2FWoltLab%2FWCF.git Add reCAPTCHA v2 support for users w/o JavaScript --- diff --git a/com.woltlab.wcf/templates/recaptcha.tpl b/com.woltlab.wcf/templates/recaptcha.tpl index 2fb196a3e0..8fe792a996 100644 --- a/com.woltlab.wcf/templates/recaptcha.tpl +++ b/com.woltlab.wcf/templates/recaptcha.tpl @@ -104,6 +104,18 @@
+ {if (($errorType|isset && $errorType|is_array && $errorType[recaptchaString]|isset) || ($errorField|isset && $errorField == 'recaptchaString'))} {if $errorType|is_array && $errorType[recaptchaString]|isset} {assign var='__errorType' value=$errorType[recaptchaString]}