first commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<LabelType>博客类</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>static</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<Version officialVersion="" modifiedVersions="2900" compatibleVersion="" />
|
||||
<attributes>
|
||||
<name>userName</name>
|
||||
<datatype>string</datatype>
|
||||
<default>
|
||||
</default>
|
||||
<intro>博客主用户名</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="userName"/>
|
||||
<xsl:output method="html" />
|
||||
<xsl:template match="/">
|
||||
<xsl:if test="$userName=pe:LoginedUserName()">
|
||||
<span>
|
||||
<xsl:attribute name="onclick">ShowEdit('maskEdit','EditSet_box')</xsl:attribute>
|
||||
<xsl:attribute name="style">cursor: pointer</xsl:attribute>
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="title">
|
||||
</xsl:attribute>
|
||||
</a>
|
||||
[<a>
|
||||
<xsl:attribute name="href">javascript:;</xsl:attribute>编辑</a>]
|
||||
</span>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user