first commit
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>政务公开</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>static</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<attributes>
|
||||
<name>departmentId</name>
|
||||
<datatype>int</datatype>
|
||||
<default>0</default>
|
||||
<intro>部门ID</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>themeId</name>
|
||||
<datatype>int</datatype>
|
||||
<default>0</default>
|
||||
<intro>主题ID</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>publicCatalogId</name>
|
||||
<datatype>int</datatype>
|
||||
<default>0</default>
|
||||
<intro>目录ID</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:output method="html" />
|
||||
<xsl:param name="departmentId" />
|
||||
<xsl:param name="publicCatalogId" />
|
||||
<xsl:param name="themeId" />
|
||||
<xsl:template match="/">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$departmentId != 0">
|
||||
{PE.Label id="GOV_部门信息列表" page="true" pagesize="20" departmentId="<xsl:value-of select="$departmentId"/>" /}
|
||||
<div class="showpage">{PE.Page id="url_方块样式分页" datasource="GOV_部门信息列表" unitname="条信息" /}</div>
|
||||
</xsl:when>
|
||||
<xsl:when test="$publicCatalogId != 0">
|
||||
{PE.Label id="GOV_目录信息列表" page="true" pagesize="20" publicCatalogId="<xsl:value-of select="$publicCatalogId"/>" arrChild="{PE.Label id="GOV_得到公开目录数组" publicCatalogId="<xsl:value-of select="$publicCatalogId"/>"/}" /}
|
||||
<div class="showpage">{PE.Page id="url_方块样式分页" datasource="GOV_目录信息列表" unitname="条信息" /}</div>
|
||||
</xsl:when>
|
||||
<xsl:when test="$themeId != 0">
|
||||
{PE.Label id="GOV_主题信息列表" page="true" pagesize="20" themeId="<xsl:value-of select="$themeId"/>" /}
|
||||
<div class="showpage">{PE.Page id="url_方块样式分页" datasource="GOV_主题信息列表" unitname="条信息" /}</div>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
{PE.Label id="公开信息查询列表" page="true" pagesize="20" /}
|
||||
<div class="showpage">{PE.Page id="url_方块样式分页" datasource="公开信息查询列表" unitname="条信息" /}</div>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user