first commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?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="2903" compatibleVersion="" />
|
||||
<attributes>
|
||||
<name>linkOpenType</name>
|
||||
<datatype>string</datatype>
|
||||
<default>_blank</default>
|
||||
<intro>打开方式:默认为新窗口打开</intro>
|
||||
</attributes>
|
||||
<IsXsltSql>false</IsXsltSql>
|
||||
<IsXsltCountSql>false</IsXsltCountSql>
|
||||
<LabelSqlString>SELECT TOP @outputQty PE_BG_Tag.* FROM PE_BG_Tag ORDER BY QuoteTimes 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="linkOpenType" />
|
||||
<xsl:param name="tagLength" />
|
||||
<xsl:output method="html" />
|
||||
<xsl:template match="/NewDataSet/Table">
|
||||
<a><xsl:attribute name="href">
|
||||
<xsl:value-of select="pe:InstallDir()"/>blog/search.aspx?searchtype=3&Keyword=<xsl:value-of select="TagName"/>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="target">
|
||||
<xsl:value-of select="$linkOpenType"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="pe:CutText(TagName,$tagLength,'')"/>
|
||||
</a>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>]]></LabelTemplate>
|
||||
<attributes>
|
||||
<name>outputQty</name>
|
||||
<datatype>supersql</datatype>
|
||||
<default>30</default>
|
||||
<intro>显示标签数</intro>
|
||||
</attributes>
|
||||
<attributes>
|
||||
<name>tagLength</name>
|
||||
<datatype>string</datatype>
|
||||
<default>15</default>
|
||||
<intro>标签长度</intro>
|
||||
</attributes>
|
||||
</root>
|
||||
Reference in New Issue
Block a user