Files
ningbo/动易的标签库/标签库/百科类/互动百科_首页会员登录.config
T
2026-08-31 16:22:00 +08:00

69 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>百科类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>True</EnabelAjax>
<Version officialVersion="" modifiedVersions="4702" compatibleVersion="" />
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:output method="html" />
<xsl:template match="/">
<xsl:variable name="CurrentUser" select="pe:GetLoginedUserInfo('username')" />
<xsl:choose>
<xsl:when test="$CurrentUser != ''">
{PE.Label id="互动百科_首页会员登录_会员信息" userName="<xsl:value-of select="$CurrentUser"/>" /}
</xsl:when>
<xsl:otherwise>
<div class="loginBox">
<div class="hd">
<h3>用户登录</h3>
</div>
<div class="bd">
<div class="login">
<ul>
<li class="inp"> <span>用户名:</span>
<input id="TxtUserName" class="" type="text" value=""/>
</li>
<li class="inp"> <span>密码:</span>
<input id="TxtPassword" class="" type="password" value=""/>
</li>
<li id="checkcode" class="inp" style="display:none;"> <span>验证码:</span>
<input name="TxtValdisplayDateCode" type="text" maxlength="6" value="" id="TxtValdisplayDateCode" onfocus="this.select();" style="width: 50px;" />
<img id="VcodeLogOn" title="看不清楚,换一个" onclick="RefreshValdisplayDateCodeImage(this);" align="absmiddle" style="border-width: 0px; cursor: pointer;margin-left:5px;">
<xsl:attribute name="src">
<xsl:value-of select="pe:GetSiteConfigInfo('RootDir')"/>Controls/ValidateCodeImage.aspx</xsl:attribute>
</img>
</li>
<li class="btn">
<a href="javascript:;" onclick="Login();">登录</a>
<a class="green" target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="pe:GetSiteConfigInfo('RootDir')"/>User/Register.aspx</xsl:attribute>注册</a>
</li>
</ul>
</div>
<div class="novice png">
<ul>
<li class="">
<a href="#">初来乍到,了解一下</a>
</li>
<li class="">
<a href="#">我是新手,怎样编写词条</a>
</li>
<li class="">
<a href="#">我要成为词条达人</a>
</li>
</ul>
</div>
</div>
</div>
<div class="clear12">
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
</root>