aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2/template/captcha_recaptcha.html
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/subsilver2/template/captcha_recaptcha.html')
-rw-r--r--phpBB/styles/subsilver2/template/captcha_recaptcha.html23
1 files changed, 16 insertions, 7 deletions
diff --git a/phpBB/styles/subsilver2/template/captcha_recaptcha.html b/phpBB/styles/subsilver2/template/captcha_recaptcha.html
index d8b06d2c51..56e70286ca 100644
--- a/phpBB/styles/subsilver2/template/captcha_recaptcha.html
+++ b/phpBB/styles/subsilver2/template/captcha_recaptcha.html
@@ -5,13 +5,22 @@
<tr>
<td class="row1"><b class="genmed">{L_CONFIRM_CODE}:</b><br /><span class="gensmall">{L_RECAPTCHA_EXPLAIN}</span></td>
<td class="row2">
- <script type="text/javascript" src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}">
- //<![CDATA[
- var RecaptchaOptions = {
- lang : {L_RECAPTCHA_LANG}
- };
- // ]]>
- </script>
+ <script type="text/javascript">
+ // <![CDATA[
+ var RecaptchaOptions = {
+ lang : '{L_RECAPTCHA_LANG}',
+ tabindex : <!-- IF $CAPTCHA_TAB_INDEX -->{$CAPTCHA_TAB_INDEX}<!-- ELSE -->10<!-- ENDIF -->
+ };
+ // ]]>
+ </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>
<iframe src="{RECAPTCHA_SERVER}/noscript?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}" height="300" width="500" frameborder="0"></iframe><br />