mirror of
https://github.com/solero/wand.git
synced 2024-11-22 05:27:24 +00:00
Fix legacy play page template
This commit is contained in:
parent
503d8f8ab9
commit
3a36c31c18
@ -53,7 +53,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<object type="application/x-shockwave-flash" id="game" name="game" data="http://media.localhost/boots.swf"
|
<object type="application/x-shockwave-flash" id="game" name="game" data="{{ .Env.WEB_LEGACY_MEDIA }}/boots.swf"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="98%">
|
height="98%">
|
||||||
<param name="menu" value="false">
|
<param name="menu" value="false">
|
||||||
@ -90,7 +90,7 @@
|
|||||||
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
|
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function grecaptchaSubmit(){
|
function grecaptchaSubmit(){
|
||||||
grecaptcha.execute({{ .Env.WEB_RECAPTCHA_SITE }}, { action: 'login' }).then(function (token) {
|
grecaptcha.execute("{{ .Env.WEB_RECAPTCHA_SITE }}", { action: 'login' }).then(function (token) {
|
||||||
document.getElementById("game").finishedCaptcha(token);
|
document.getElementById("game").finishedCaptcha(token);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<object type="application/x-shockwave-flash" id="game" name="game" data="http://media.localhost/boots.swf"
|
<object type="application/x-shockwave-flash" id="game" name="game" data="{{ .Env.WEB_LEGACY_MEDIA }}/boots.swf"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="98%">
|
height="98%">
|
||||||
<param name="menu" value="false">
|
<param name="menu" value="false">
|
||||||
@ -91,7 +91,7 @@
|
|||||||
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
|
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function grecaptchaSubmit(){
|
function grecaptchaSubmit(){
|
||||||
grecaptcha.execute({{ .Env.WEB_RECAPTCHA_SITE }}, { action: 'login' }).then(function (token) {
|
grecaptcha.execute("{{ .Env.WEB_RECAPTCHA_SITE }}", { action: 'login' }).then(function (token) {
|
||||||
document.getElementById("game").finishedCaptcha(token);
|
document.getElementById("game").finishedCaptcha(token);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<object type="application/x-shockwave-flash" id="game" name="game" data="http://media.localhost/boots.swf"
|
<object type="application/x-shockwave-flash" id="game" name="game" data="{{ .Env.WEB_LEGACY_MEDIA }}/boots.swf"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="98%">
|
height="98%">
|
||||||
<param name="menu" value="false">
|
<param name="menu" value="false">
|
||||||
@ -90,7 +90,7 @@
|
|||||||
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
|
<script src="https://www.google.com/recaptcha/api.js?render={{ .Env.WEB_RECAPTCHA_SITE }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function grecaptchaSubmit(){
|
function grecaptchaSubmit(){
|
||||||
grecaptcha.execute({{ .Env.WEB_RECAPTCHA_SITE }}, { action: 'login' }).then(function (token) {
|
grecaptcha.execute("{{ .Env.WEB_RECAPTCHA_SITE }}", { action: 'login' }).then(function (token) {
|
||||||
document.getElementById("game").finishedCaptcha(token);
|
document.getElementById("game").finishedCaptcha(token);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user