first commit

This commit is contained in:
2026-08-31 16:22:00 +08:00
commit e969a1e559
2665 changed files with 128795 additions and 0 deletions
@@ -0,0 +1,51 @@
<?xml version="1.0"?>
<root>
<LabelType>问答类</LabelType>
<LabelIntro>问题子分类</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>ShowNum</name>
<datatype>sql.int</datatype>
<default>3</default>
<intro>二级分类显示列数</intro>
</attributes>
<attributes>
<name>ParentID</name>
<datatype>sql.int</datatype>
<default>0</default>
<intro>一级分类ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString><![CDATA[SELECT TOP @ShowNum * FROM PE_QA_Category WHERE CategoryID <> ParentID AND ParentID = @ParentID ORDER BY OrderID]]></LabelSqlString>
<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="xml" version="1.0" encoding="UTF-8" indent="no"/>
<xsl:param name="ParentID"/>
<xsl:param name="splitChar"/>
<xsl:template match="/NewDataSet">
<span class="assort">
<xsl:for-each select="Table">
<a>
<xsl:attribute name="href">
{PE.SiteConfig.ApplicationPath/}QA/QuestionList.aspx?ID=<xsl:value-of select="CategoryID"/>
</xsl:attribute>
<xsl:value-of select="CategoryName"/>
</a>
<xsl:if test="position() != last()">
<xsl:value-of select="$splitChar" />
</xsl:if>
</xsl:for-each>
</span>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>splitChar</name>
<datatype>sql.string</datatype>
<default>|</default>
<intro>分隔符</intro>
</attributes>
</root>