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,55 @@
<?xml version="1.0"?>
<root>
<LabelType>其他类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>nodeId</name>
<datatype>int</datatype>
<default>1</default>
<intro>节点Id</intro>
</attributes>
<attributes>
<name>outputType</name>
<datatype>string</datatype>
<default>normal</default>
<intro>配置输出的类型</intro>
</attributes>
<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:param name="nodeId" />
<xsl:param name="outputType" />
<xsl:output method="html" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$outputType = 'normal'">
<xsl:value-of select="pe:GetNodePath('false',$nodeId)"/>
</xsl:when>
<xsl:when test="$outputType = 'linked'">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',$nodeId)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNodeInfo($nodeId, 'NodeName')"/>
</a>
</xsl:when>
<xsl:otherwise>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',$nodeId)"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="pe:GetNodeInfo($nodeId, 'Tips')"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNodeInfo($nodeId, 'NodeName')"/>
</a>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]>
</LabelTemplate>
</root>