From b3d32e2bf3637488cfe2fc58a27a9d2475b2b51b Mon Sep 17 00:00:00 2001 From: Karson Date: Mon, 19 Jul 2021 11:59:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=89=8D=E5=8F=B0URL?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/view/tpl/dispatch_jump.tpl | 4 ++-- application/index/view/user/login.html | 2 +- application/index/view/user/register.html | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/application/common/view/tpl/dispatch_jump.tpl b/application/common/view/tpl/dispatch_jump.tpl index fa2f32c3..50dd96d8 100755 --- a/application/common/view/tpl/dispatch_jump.tpl +++ b/application/common/view/tpl/dispatch_jump.tpl @@ -41,7 +41,7 @@

{:__('Go back')} {if $url} - {:__('Jump now')} + {:__('Jump now')} {/if}

@@ -52,7 +52,7 @@ var interval = setInterval(function () { var time = --wait.innerHTML; if (time <= 0) { - location.href = "{$url}"; + location.href = "{$url|htmlentities}"; clearInterval(interval); } }, 1000); diff --git a/application/index/view/user/login.html b/application/index/view/user/login.html index 5c159261..5f4398c7 100755 --- a/application/index/view/user/login.html +++ b/application/index/view/user/login.html @@ -3,7 +3,7 @@
{:__('Sign in')} {:__('Sign up')}
- + {:token()}
diff --git a/application/index/view/user/register.html b/application/index/view/user/register.html index ac8ce6be..a62fa1c8 100644 --- a/application/index/view/user/register.html +++ b/application/index/view/user/register.html @@ -1,10 +1,10 @@