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,41 @@
<?xml version="1.0"?>
<root>
<LabelType>问答类</LabelType>
<LabelIntro>问答问题列表</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>TopNum</name>
<datatype>int</datatype>
<default>25</default>
<intro>取前25条记录</intro>
</attributes>
<attributes>
<name>Query</name>
<datatype>sql.string</datatype>
<default>
</default>
<intro>查询条件</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP @TopNum * FROM PE_QA_Question WHERE 1=1 @Query</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="html" />
<xsl:template match="/NewDataSet">
<xsl:for-each select="Table">
<li>
<a><xsl:attribute name="href">
{PE.SiteConfig.applicationpath/}QA/Question.aspx?Id=<xsl:value-of select="QuestionID"/></xsl:attribute>
<xsl:attribute name="Title"><xsl:value-of select="Title"/>
</xsl:attribute>
<xsl:value-of select="Title"/>
</a>
</li>
</xsl:for-each>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
</root>