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,111 @@
<?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="" />
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP @oupputQty UserCategoryID,CategoryName FROM PE_BG_UserCategory WHERE BlogID= @blogId ORDER BY OrderID ASC</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="blogId" />
<xsl:param name="linkOpenType"/>
<xsl:param name="titleLength"/>
<xsl:output method="html"/>
<xsl:template match="/">
<li>
<xsl:if test="$categoryId=0">
<xsl:attribute name="class">current</xsl:attribute>
</xsl:if>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:InstallDir()"/>Blog/UserIndex.aspx?id=<xsl:value-of select="$blogId" />
</xsl:attribute>
<xsl:attribute name="title">首页</xsl:attribute>
<xsl:attribute name="target">
<xsl:choose>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<span>首页</span>
</a>
</li>
<xsl:for-each select="/NewDataSet/Table">
<li>
<xsl:choose>
<xsl:when test="$categoryId=UserCategoryID">
<xsl:attribute name="class">current</xsl:attribute>
<xsl:if test="position() = last()">
<xsl:attribute name="class">lastOne current</xsl:attribute>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<xsl:if test="position() = last()">
<xsl:attribute name="class">lastOne</xsl:attribute>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:InstallDir()"/>Blog/UserCategory.aspx?id=<xsl:value-of select="$blogId" />&amp;categoryId=<xsl:value-of select="UserCategoryID" />
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="CategoryName"/>
</xsl:attribute>
<xsl:attribute name="target">
<xsl:choose>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<span>
<xsl:value-of select="pe:CutText(CategoryName,$titleLength,'')"/>
</span>
</a>
</li>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
<attributes>
<name>blogId</name>
<datatype>sql.int</datatype>
<default>0</default>
<intro>博客ID{默认值:0,自动传入:@RequestInt_Id}</intro>
</attributes>
<attributes>
<name>categoryId</name>
<datatype>sql.int</datatype>
<default>0</default>
<intro>当前类别ID{默认值:0,自动传入:@RequestInt_categoryid}</intro>
</attributes>
<attributes>
<name>oupputQty</name>
<datatype>sql.int</datatype>
<default>7</default>
<intro>输出数量</intro>
</attributes>
<attributes>
<name>openType</name>
<datatype>int</datatype>
<default>0</default>
<intro>打开方式{默认值:0,原窗口打开,1:新窗口打开}</intro>
</attributes>
<attributes>
<name>titleLength</name>
<datatype>int</datatype>
<default>14</default>
<intro>标题长度</intro>
</attributes>
</root>