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,58 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>WAP类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="4004" compatibleVersion="" />
<attributes>
<name>letterId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>当前信件ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString><![CDATA[SELECT TOP 1 PE_GV_Letters.* FROM PE_GV_Letters WHERE LetterId > @letterId AND Status > -1 AND IsPublic = 1 AND LetterTypeId = @typeId ORDER BY LetterId DESC]]></LabelSqlString>
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:param name="letterId" />
<xsl:param name="titleLength"/>
<xsl:output method="html" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<div><font style="color:red">&gt;&gt;没有了!</font>
</div>
</xsl:when>
<xsl:otherwise>
<div>
<xsl:for-each select="/NewDataSet/Table">
&gt;&gt; <a>
<xsl:attribute name="href">
Letter.aspx?LetterId=<xsl:value-of select="LetterId"/>&amp;TypeId=<xsl:value-of select="LetterTypeId"/>
<xsl:value-of select="pe:AddSid(1)"/>
</xsl:attribute>
<xsl:value-of select="pe:CutText(Title,$titleLength,'...')"/>
</a>
</xsl:for-each>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
<attributes>
<name>titleLength</name>
<datatype>int</datatype>
<default>30</default>
<intro>标题长度</intro>
</attributes>
<attributes>
<name>typeId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>信件类型</intro>
</attributes>
</root>