first commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<LabelType>百科类</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>static</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<Version officialVersion="" modifiedVersions="4701" compatibleVersion="" />
|
||||
<attributes>
|
||||
<name>type</name>
|
||||
<datatype>int</datatype>
|
||||
<default>0</default>
|
||||
<intro>0用户创建,1用户编辑</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:param name="type" />
|
||||
<xsl:output method="html" />
|
||||
<xsl:template match="/">
|
||||
<li>
|
||||
<xsl:attribute name="class">
|
||||
<xsl:if test="$type = 0">current</xsl:if>
|
||||
</xsl:attribute>
|
||||
<a href="?un=@Request_un&type=0">创建的词条</a>
|
||||
</li>
|
||||
<li>
|
||||
<xsl:attribute name="class">
|
||||
<xsl:if test="$type = 1">current</xsl:if>
|
||||
</xsl:attribute>
|
||||
<a href="?un=@Request_un&type=1">编辑的词条</a>
|
||||
</li>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user