子商品.config

来自「动易SiteFactory网上商店系统正式版动易SiteFactory网上商店系」· CONFIG 代码 · 共 37 行

CONFIG
37
字号
<root>
  <LabelType>列表标签</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
  <LabelIntro>
  </LabelIntro>
  <OutType>sin</OutType>
  <LabelDataType>sql_sysquery</LabelDataType>
  <attributes>
    <name>nodeid</name>
    <default>0</default>
    <intro>参数说明</intro>
  </attributes>
  <LabelSqlString>select nodeid,nodename,showonlist_index from pe_nodes where ParentId=@nodeid</LabelSqlString>
  <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:template match="/">
<div>
<ul>
<xsl:for-each select="/NewDataSet/Table">
<xsl:if test="showonlist_index = 'true'">
<li class="pe_u_thumb_list">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',nodeid)"/>
</xsl:attribute>
   <xsl:value-of disable-output-escaping="yes" select="nodename"/>
</a>
</li>
</xsl:if>
</xsl:for-each>
</ul>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
</root>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?