53 lines
1.8 KiB
XML
53 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<root>
|
|
<LabelType>WAP类</LabelType>
|
|
<LabelIntro>
|
|
</LabelIntro>
|
|
<OutType>sin</OutType>
|
|
<LabelDataType>sql_sysquery</LabelDataType>
|
|
<EnabelAjax>False</EnabelAjax>
|
|
<Version officialVersion="" modifiedVersions="3503" compatibleVersion="" />
|
|
<attributes>
|
|
<name>WapArticleId</name>
|
|
<datatype>supersql</datatype>
|
|
<default>-1</default>
|
|
<intro>WAP文章ID</intro>
|
|
</attributes>
|
|
<IsXsltSql>false</IsXsltSql>
|
|
<IsXsltCountSql>false</IsXsltCountSql>
|
|
<LabelSqlString>SELECT TOP @Count * FROM PE_Comment WHERE WapId=@WapArticleId AND CommentType=2 AND Status=1 ORDER BY UPDATETIME 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">
|
|
<xsl:param name="GeneralID" />
|
|
<xsl:output method="xml" />
|
|
<xsl:template match="/NewDataSet">
|
|
<div class="article_Comment">
|
|
<xsl:for-each select="Table">
|
|
<p class="common_title">
|
|
<xsl:choose>
|
|
<xsl:when test="normalize-space(UserName)=''">
|
|
手机网友
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:value-of select="UserName"/>
|
|
</xsl:otherwise>
|
|
</xsl:choose>于
|
|
<xsl:value-of select="pe:FormatDate(UpdateTime,'yy-mm-dd hh:ff')"/>发表
|
|
</p>
|
|
|
|
<p><xsl:value-of select="Content"/></p>
|
|
|
|
</xsl:for-each>
|
|
<div class="more_Comment">
|
|
<a href='Comment.aspx?WapArticleId=@Request_WapArticleId&wapCategoryId=@Request_WapCategoryId&sid=@Request_sid'>更多评论</a>
|
|
</div>
|
|
</div>
|
|
</xsl:template>
|
|
</xsl:stylesheet>]]></LabelTemplate>
|
|
<attributes>
|
|
<name>Count</name>
|
|
<datatype>supersql</datatype>
|
|
<default>10</default>
|
|
<intro>显示数量</intro>
|
|
</attributes>
|
|
</root> |