mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
fix the captcha ACP, restore xhtml compliance for recaptcha (#46195) - note, that this will not work in IE
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9645 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -54,8 +54,9 @@
|
||||
<h3>{L_WARNING}</h3>
|
||||
<p>{L_CAPTCHA_PREVIEW_MSG}</p>
|
||||
</div>
|
||||
<!-- INCLUDE {CAPTCHA_PREVIEW} -->
|
||||
<!-- ENDIF -->
|
||||
{CAPTCHA_PREVIEW}
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="submit-buttons">
|
||||
|
@@ -1,5 +1,6 @@
|
||||
<!-- IF S_RECAPTCHA_AVAILABLE -->
|
||||
<dl>
|
||||
<dl>
|
||||
<dd>
|
||||
<script type="text/javascript" src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}">
|
||||
// <![CDATA[
|
||||
var RecaptchaOptions = {
|
||||
@@ -7,12 +8,17 @@
|
||||
};
|
||||
// ]]>
|
||||
</script>
|
||||
|
||||
<noscript>
|
||||
<iframe src="{RECAPTCHA_SERVER}/noscript?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}" height="300" width="500" frameborder="0"></iframe><br/>
|
||||
|
||||
|
||||
<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"/>
|
||||
<input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<!-- ELSE -->
|
||||
{L_RECAPTCHA_NOT_AVAILABLE}
|
||||
|
@@ -31,7 +31,7 @@
|
||||
<p>{L_CAPTCHA_PREVIEW_MSG}</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
{CAPTCHA_PREVIEW}
|
||||
<!-- include {CAPTCHA_PREVIEW} -->
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="submit-buttons">
|
||||
|
Reference in New Issue
Block a user