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,71 @@
<?xml version="1.0"?>
<root>
<LabelType>其他类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<attributes>
<name>nodeId</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>当前所在的节点ID</intro>
</attributes>
<attributes>
<name>splitChar</name>
<datatype>supersql</datatype>
<default>&gt;&gt;</default>
<intro>栏目名称之间分隔符</intro>
</attributes>
<LabelSqlString>SELECT N.NodeID,N.ParentID,N.NodeName,N.Tips,N.Child,N.OpenType,N.ShowOnPath FROM PE_Nodes N WHERE N.NodeID = @nodeId</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:ms="urn:schemas-microsoft-com:xslt" xmlns:lewi="http://www.powereasy.net" xmlns:pe="labelproc" exclude-result-prefixes="pe ms lewi">
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:param name="nodeId" />
<xsl:param name="placeholderId" />
<xsl:param name="splitChar" />
<xsl:template match="/NewDataSet/Table">
{PE.Label id="当前位置导航" nodeId="<xsl:value-of select="ParentID"/>" splitChar="<xsl:value-of select="$splitChar"/>" placeholderId="lewi" /}
<xsl:if test="ShowOnPath = 'true'">
<a>
<xsl:attribute name="href">
<xsl:choose>
<xsl:when test="NodeType = 4">
<xsl:value-of select="LinkUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:GetNodePath('false',NodeID)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="target">
<xsl:choose>
<xsl:when test="OpenType != 0">_blank</xsl:when>
<xsl:otherwise>_self</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:if test="Tips != ''">
<xsl:attribute name="title">
<xsl:value-of select="Tips" />
</xsl:attribute>
</xsl:if>
<xsl:value-of select="NodeName"/>
</a>
<xsl:if test="$splitChar != '' and Child &gt; 0 and $placeholderId != 0">
<xsl:value-of select="$splitChar" />
</xsl:if>
</xsl:if>
</xsl:template>
</xsl:stylesheet>]]>
</LabelTemplate>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<attributes>
<name>placeholderId</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>占位符ID,此参数无需设置,无需调用</intro>
</attributes>
</root>