diff options
Diffstat (limited to 'phpBB/adm/style/captcha_recaptcha.html')
-rw-r--r-- | phpBB/adm/style/captcha_recaptcha.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/adm/style/captcha_recaptcha.html b/phpBB/adm/style/captcha_recaptcha.html index 93fc6e7499..c7e2cd6150 100644 --- a/phpBB/adm/style/captcha_recaptcha.html +++ b/phpBB/adm/style/captcha_recaptcha.html @@ -1,13 +1,21 @@ <!-- IF S_RECAPTCHA_AVAILABLE --> <dl> <dd> - <script type="text/javascript" src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}"> + <script type="text/javascript"> // <![CDATA[ var RecaptchaOptions = { - lang : {L_RECAPTCHA_LANG} + lang : '{L_RECAPTCHA_LANG}', }; // ]]> </script> + <script type="text/javascript" src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}" /> + <script type="text/javascript"> + // <![CDATA[ + <!-- IF S_CONTENT_DIRECTION eq 'rtl' --> + document.getElementById('recaptcha_table').style.direction = 'ltr'; + <!-- ENDIF --> + // ]]> + </script> <noscript> |