Files
ningbo/动易的标签库/标签库/项目信息公开/左侧_项目目录树_三级目录.config
2026-08-31 16:22:00 +08:00

58 lines
2.1 KiB
XML

<?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="4500" compatibleVersion="" />
<attributes>
<name>parentid</name>
<datatype>sql.int</datatype>
<default>0</default>
<intro>父栏目</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT * FROM PE_PPI_Catalog WHERE ParentID=@parentid AND ShowOnFront='True' 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="parentid" />
<xsl:output method="html" />
<xsl:template match="/">
<xsl:for-each select="/NewDataSet/Table">
<div>
<xsl:attribute name="class">dTreeNode</xsl:attribute>
<xsl:attribute name="lang">TreeNode<xsl:value-of select="CatalogId"/></xsl:attribute>
<xsl:if test="position()!=last()">
<img>
<xsl:attribute name="src">
<xsl:value-of select="pe:SkinDir()"/>images/join.gif
</xsl:attribute>
</img>
</xsl:if>
<xsl:if test="position()=last()">
<img>
<xsl:attribute name="src">
<xsl:value-of select="pe:SkinDir()"/>images/joinbottom.gif
</xsl:attribute>
</img>
</xsl:if>
<img>
<xsl:attribute name="src">
<xsl:value-of select="pe:SkinDir()"/>images/page.gif
</xsl:attribute>
</img>
<a>
<xsl:attribute name="class">node</xsl:attribute>
<xsl:attribute name="target">_self</xsl:attribute>
<xsl:attribute name="href">PublicInfoList.aspx?catalogId=<xsl:value-of select="CatalogId"/></xsl:attribute>
<xsl:value-of select="CatalogName"/>
</a>
</div>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>