first commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>办事类</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>sql_sysquery</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<IsXsltSql>false</IsXsltSql>
|
||||
<IsXsltCountSql>false</IsXsltCountSql>
|
||||
<LabelSqlString>SELECT top 13 DepartmentId,DepartmentName FROM PE_Department WHERE ParentDepartmentId=0 ORDER BY Priority DESC</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">
|
||||
<!--params-->
|
||||
<xsl:output method="html" />
|
||||
<xsl:template match="/NewDataSet/Table">
|
||||
<li><a>
|
||||
<xsl:attribute name="href">
|
||||
{PE.SiteConfig.ApplicationPath/}Common/DepartmentInfo.aspx?DepartmentId=<xsl:value-of select="DepartmentId"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="DepartmentName"/>
|
||||
</a></li>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>]]>
|
||||
</LabelTemplate>
|
||||
<Version officialVersion="" modifiedVersions="3500" compatibleVersion="" />
|
||||
</root>
|
||||
Reference in New Issue
Block a user