50 lines
1.8 KiB
XML
50 lines
1.8 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">
|
|
<li>
|
|
<xsl:attribute name="class">drawer</xsl:attribute>
|
|
<xsl:attribute name="lang"><xsl:value-of select="CatalogId"/></xsl:attribute>
|
|
<h4 class="drawer-handle">
|
|
<xsl:value-of select="CatalogName"/>
|
|
</h4>
|
|
<ul style="display:none">
|
|
<div class="dtree">
|
|
<div class="mainNode">
|
|
<img>
|
|
<xsl:attribute name="src">
|
|
<xsl:value-of select="pe:SkinDir()"/>images/base.gif
|
|
</xsl:attribute>
|
|
</img>
|
|
</div>
|
|
<div id="dd0" class="clip" style="display:block;">
|
|
{PE.Label id="左侧_项目目录树_三级目录" parentid="<xsl:value-of select="CatalogId"/>" /}
|
|
</div>
|
|
</div>
|
|
</ul>
|
|
</li>
|
|
</xsl:for-each>
|
|
</xsl:template>
|
|
</xsl:stylesheet>]]></LabelTemplate>
|
|
</root> |