first commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<LabelType>百科类</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>static</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<Version officialVersion="" modifiedVersions="4700" compatibleVersion="" />
|
||||
<attributes>
|
||||
<name>type</name>
|
||||
<datatype>int</datatype>
|
||||
<default>0</default>
|
||||
<intro>1推荐,2精彩,3热门</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>order</name>
|
||||
<datatype>int</datatype>
|
||||
<default>0</default>
|
||||
<intro>3人气指数,4最近更新</intro>
|
||||
</attributes>
|
||||
<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:param name="type" />
|
||||
<xsl:param name="order" />
|
||||
<xsl:output method="html" />
|
||||
<xsl:template match="/">
|
||||
<li class="sc2 png">
|
||||
<xsl:if test="$type = 1">
|
||||
<xsl:attribute name="class">sc1 current png</xsl:attribute>
|
||||
</xsl:if><a href="HotList.aspx?type=1">推荐词条</a></li>
|
||||
<li class="sc2 png">
|
||||
<xsl:if test="$type = 2">
|
||||
<xsl:attribute name="class">sc1 current png</xsl:attribute>
|
||||
</xsl:if><a href="HotList.aspx?type=2">精彩词条</a></li>
|
||||
<li class="sc3 png">
|
||||
<xsl:if test="$type = 3">
|
||||
<xsl:attribute name="class">sc1 current png</xsl:attribute>
|
||||
</xsl:if><a href="HotList.aspx?type=3">热门词条</a></li>
|
||||
<li class="sc4 png">
|
||||
<xsl:if test="$order = 4">
|
||||
<xsl:attribute name="class">sc1 current png</xsl:attribute>
|
||||
</xsl:if><a href="HotList.aspx?order=4">最近更新</a></li>
|
||||
<li class="sc7 png">
|
||||
<xsl:if test="$order = 3">
|
||||
<xsl:attribute name="class">sc1 current png</xsl:attribute>
|
||||
</xsl:if><a href="HotList.aspx?order=3">人气指数</a></li>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user