loginuser 补充过滤

This commit is contained in:
Comsenz 2017-07-27 11:23:09 +08:00
parent 4bcb130e24
commit 764a177c7d
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
</div>
<!--{elseif !empty($_G['cookie']['loginuser'])}-->
<div class="y">
<a id="loginuser" class="xw1">$_G['cookie']['loginuser']</a>
<a id="loginuser" class="xw1"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a>
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang activation}</a>
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
</div>

View File

@ -17,7 +17,7 @@
<!--{hook/global_usernav_extra2}-->
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
<!--{elseif !empty($_G['cookie']['loginuser'])}-->
<strong><a id="loginuser">$_G['cookie']['loginuser']</a></strong>
<strong><a id="loginuser"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang activation}</a>
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
<!--{else}-->