first commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<LabelType>百科类</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>static</LabelDataType>
|
||||
<EnabelAjax>True</EnabelAjax>
|
||||
<Version officialVersion="" modifiedVersions="4701" 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 != ''">
|
||||
<div class="topLink">欢迎您,<xsl:value-of select="$CurrentUser"/> | <a href="{PE.SiteConfig.ApplicationPath}User/Default.aspx">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="pe:GetSiteConfigInfo('RootDir')"/>User/Default.aspx</xsl:attribute>会员中心</a> | <a href="javascript:;" onclick="TopLogout()">退出</a> | <a href="#">帮助</a>
|
||||
</div>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<div class="topLink">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="pe:GetSiteConfigInfo('RootDir')"/>User/Login.aspx</xsl:attribute>登录</a> | <a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="pe:GetSiteConfigInfo('RootDir')"/>User/Register.aspx</xsl:attribute>注册</a> | <a href="#">帮助</a>
|
||||
</div>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user