aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/captcha_recaptcha.html
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2015-10-13 07:39:46 -0700
committerCesar G <prototech91@gmail.com>2015-10-14 19:05:27 -0700
commit90038e32cd6d35aa7a516a8d4f998e9504112c6a (patch)
tree0d9a1bc5c0b9d09594885ee56fc790ddc08c5c99 /phpBB/styles/prosilver/template/captcha_recaptcha.html
parent278162318565958df5ee9b97327a8f26c5299dc0 (diff)
downloadforums-90038e32cd6d35aa7a516a8d4f998e9504112c6a.tar
forums-90038e32cd6d35aa7a516a8d4f998e9504112c6a.tar.gz
forums-90038e32cd6d35aa7a516a8d4f998e9504112c6a.tar.bz2
forums-90038e32cd6d35aa7a516a8d4f998e9504112c6a.tar.xz
forums-90038e32cd6d35aa7a516a8d4f998e9504112c6a.zip
[ticket/13789] Upgrade reCaptcha plugin to 2.0 API.
PHPBB3-13789
Diffstat (limited to 'phpBB/styles/prosilver/template/captcha_recaptcha.html')
-rw-r--r--phpBB/styles/prosilver/template/captcha_recaptcha.html19
1 files changed, 3 insertions, 16 deletions
diff --git a/phpBB/styles/prosilver/template/captcha_recaptcha.html b/phpBB/styles/prosilver/template/captcha_recaptcha.html
index d3c0ea95d6..a123f543a8 100644
--- a/phpBB/styles/prosilver/template/captcha_recaptcha.html
+++ b/phpBB/styles/prosilver/template/captcha_recaptcha.html
@@ -12,24 +12,11 @@
<dl>
<dt><label>{L_CONFIRM_CODE}{L_COLON}</label><br /><span>{L_RECAPTCHA_EXPLAIN}</span></dt>
<dd class="captcha">
- <script>
- var RecaptchaOptions = {
- lang : '{LA_RECAPTCHA_LANG}',
- theme : 'clean',
- tabindex : <!-- IF $CAPTCHA_TAB_INDEX -->{$CAPTCHA_TAB_INDEX}<!-- ELSE -->10<!-- ENDIF -->
- };
- </script>
- <script src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}"></script>
-
<noscript>
- <div>
- <object data="{RECAPTCHA_SERVER}/noscript?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}" type="text/html" height="300" width="500"></object><br />
- <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
- <input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
- </div>
+ <div>{L_RECAPTCHA_NOSCRIPT}</div>
</noscript>
-
- <a href="http://www.google.com/intl/{L_RECAPTCHA_LANG}/policies/" target="_blank" class="recaptcha-responsive" style="display: none"><img alt="" width="71" height="36" src="{RECAPTCHA_SERVER}/img/clean/logo.png"></a>
+ <script src="{RECAPTCHA_SERVER}.js?hl={LA_RECAPTCHA_LANG}" async defer></script>
+ <div class="g-recaptcha" data-sitekey="{RECAPTCHA_PUBKEY}" data-tabindex="<!-- IF $CAPTCHA_TAB_INDEX -->{$CAPTCHA_TAB_INDEX}<!-- ELSE -->10<!-- ENDIF -->"></div>
</dd>
</dl>
<!-- ELSE -->