first commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>问答类</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>static</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<attributes>
|
||||
<name>questionID</name>
|
||||
<datatype>supersql</datatype>
|
||||
<default>0</default>
|
||||
<intro>问题ID</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>splitChar</name>
|
||||
<datatype>string</datatype>
|
||||
<default>></default>
|
||||
<intro>类型之间拆分修饰符{>>:>>,-:-,>:>}</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>showType</name>
|
||||
<datatype>supersql</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:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
|
||||
<xsl:param name="questionID" />
|
||||
<xsl:param name="showType" />
|
||||
<xsl:param name="splitChar"/>
|
||||
<xsl:template match="/">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
{PE.SiteConfig.ApplicationPath/}QA/QuestionList.aspx
|
||||
<xsl:if test="$showType > 0">
|
||||
?ShowType=<xsl:value-of select="$showType" />
|
||||
</xsl:if>
|
||||
</xsl:attribute>
|
||||
问题分类
|
||||
</a>
|
||||
<xsl:if test="$questionID > 0">
|
||||
<xsl:value-of select="$splitChar" />
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user