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,72 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>博客类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="2902" compatibleVersion="" />
<attributes>
<name>categoryId</name>
<datatype>sql.int</datatype>
<default>
</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>username</name>
<datatype>sql.string</datatype>
<default>
</default>
<intro>用户名</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP 1 CategoryName FROM PE_BG_UserCategory WHERE UserCategoryID=@categoryId</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="categoryId" />
<xsl:param name="type" />
<xsl:param name="username" />
<xsl:variable name="IsBlogOwner" select="pe:LoginedUserName()=$username"/>
<xsl:output method="html" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="count(NewDataSet/Table)=0">
<xsl:choose>
<xsl:when test="$type=0">
全部博文
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$IsBlogOwner='true'">
<xsl:if test="$type=1">草稿箱</xsl:if>
<xsl:if test="$type=2">回收站</xsl:if>
</xsl:when>
<xsl:otherwise>
全部博文
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="NewDataSet/Table">
<xsl:value-of select="CategoryName" />
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>]]>
</LabelTemplate>
<attributes>
<name>type</name>
<datatype>int</datatype>
<default>0</default>
<intro>类型,默认O</intro>
</attributes>
</root>