first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>问答类</LabelType>
|
||||
<LabelIntro>问答列表页标题</LabelIntro>
|
||||
<OutType>
|
||||
</OutType>
|
||||
<LabelDataType>static</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<attributes>
|
||||
<name>ShowType</name>
|
||||
<datatype>int</datatype>
|
||||
<default>0</default>
|
||||
<intro>显示列表类型</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="ShowType" />
|
||||
<xsl:output method="html" />
|
||||
<xsl:template match="/">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$ShowType=2">已解决问题列表</xsl:when>
|
||||
<xsl:when test="$ShowType=3">高分问题列表</xsl:when>
|
||||
<xsl:when test="$ShowType=4">零回答问题列表</xsl:when>
|
||||
<xsl:when test="$ShowType=5">精彩推荐问题列表</xsl:when>
|
||||
<xsl:otherwise>待解决问题列表</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user