Files
ningbo/动易的标签库/标签库/网上信访/领导信箱显示标签.config
T
2026-08-31 16:22:00 +08:00

94 lines
3.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="3503" compatibleVersion="" />
<attributes>
<name>MailId</name>
<datatype>sql.int</datatype>
<default>1</default>
<intro>领导信箱id</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP 1 * FROM PE_GV_LeaderMail WHERE MailId = @MailId</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="MailId" />
<xsl:output method="html" />
<xsl:template match="/">
<xsl:for-each select="NewDataSet/Table">
<div class="govDir_box">
<dl>
<dt>
<a class="titlechg" href="#">
<span>
<xsl:value-of select="MailName"/>
</span>
</a>
</dt>
</dl>
</div>
<div class="onlinepl_form">
<div class="LeaderGuide">
<div id="LeaderGuide_description">
<xsl:value-of select="MailLimite" disable-output-escaping="yes"/>
</div>
<div class="LeaderGuide_boxa">
<div class="LeaderGuide_r">
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:UpLoadDir()"/>
<xsl:value-of select="LeaderPhoto"/>
</xsl:attribute>
<xsl:attribute name="width">
216px
</xsl:attribute>
<xsl:attribute name="height">
305px
</xsl:attribute>
<xsl:attribute name="onerror">
this.src='{PE.SiteConfig.SkinPath/}Images/LetterMailHead.jpg'
</xsl:attribute>
</xsl:element>
<span>
<xsl:element name="a">
<xsl:attribute name="title">
我要写信
</xsl:attribute>
<xsl:attribute name="href">
{PE.SiteConfig.ApplicationPath/}Government/Letter/Letterwriter.aspx?DepartmentId=<xsl:value-of select="DepartmentId"/>
</xsl:attribute>
我要写信
</xsl:element>
</span>
</div>
<div class="LeaderGuide_l">
<h2>
<xsl:value-of select="LeaderPosition"/>-<span>
<xsl:value-of select="LeaderName"/>
</span>
</h2>
<dl>
<dt>领导信息</dt>
<dd>
<h3>【领导简介】</h3>
<p>
<xsl:value-of select="LeaderIntroduce" disable-output-escaping="yes"/>
</p>
</dd>
</dl>
</div>
<div class="clearbox">
</div>
</div>
</div>
</div>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>