diff options
Diffstat (limited to 'tmw3/template/captcha_recaptcha.html')
-rw-r--r-- | tmw3/template/captcha_recaptcha.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/tmw3/template/captcha_recaptcha.html b/tmw3/template/captcha_recaptcha.html new file mode 100644 index 0000000..51a1615 --- /dev/null +++ b/tmw3/template/captcha_recaptcha.html @@ -0,0 +1,50 @@ +<!-- IF S_TYPE == 1 --> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_CONFIRMATION}</h3> + <p>{L_CONFIRM_EXPLAIN}</p> + + <fieldset class="fields2"> +<!-- ENDIF --> + +<!-- IF S_RECAPTCHA_AVAILABLE --> + <dl> + <dt><label>{L_CONFIRM_CODE}</label>:<br /><span>{L_RECAPTCHA_EXPLAIN}</span></dt> + <dd> + <script type="text/javascript"> + // <![CDATA[ + var RecaptchaOptions = { + lang : '{LA_RECAPTCHA_LANG}', + theme : 'clean', + 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> + <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> + </noscript> + + </dd> + </dl> +<!-- ELSE --> +{L_RECAPTCHA_NOT_AVAILABLE} +<!-- ENDIF --> + +<!-- IF S_TYPE == 1 --> + </fieldset> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> |