diff options
author | Cesar G <prototech91@gmail.com> | 2015-10-13 07:39:46 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2015-10-14 19:05:27 -0700 |
commit | 90038e32cd6d35aa7a516a8d4f998e9504112c6a (patch) | |
tree | 0d9a1bc5c0b9d09594885ee56fc790ddc08c5c99 /phpBB/adm/style/captcha_recaptcha.html | |
parent | 278162318565958df5ee9b97327a8f26c5299dc0 (diff) | |
download | forums-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/adm/style/captcha_recaptcha.html')
-rw-r--r-- | phpBB/adm/style/captcha_recaptcha.html | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/phpBB/adm/style/captcha_recaptcha.html b/phpBB/adm/style/captcha_recaptcha.html index d3038fd714..3f61c76cb1 100644 --- a/phpBB/adm/style/captcha_recaptcha.html +++ b/phpBB/adm/style/captcha_recaptcha.html @@ -1,32 +1,12 @@ <!-- IF S_RECAPTCHA_AVAILABLE --> <dl> <dd> - <script type="text/javascript"> - // <![CDATA[ - var RecaptchaOptions = { - lang : '{LA_RECAPTCHA_LANG}', - theme : 'clean' - }; - // ]]> - </script> - <script type="text/javascript" src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}"></script> - <script type="text/javascript"> - // <![CDATA[ - <!-- IF S_CONTENT_DIRECTION eq 'rtl' --> - document.getElementById('recaptcha_table').style.direction = 'ltr'; - <!-- ENDIF --> - // ]]> - </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> + <script src="{RECAPTCHA_SERVER}.js?hl={LA_RECAPTCHA_LANG}" async defer></script> + <div class="g-recaptcha" data-sitekey="{RECAPTCHA_PUBKEY}"></div> </dd> </dl> <!-- ELSE --> |