Files
ningbo/动易的标签库/标签库/问答类/显示处理问题结果页.config
T
2026-08-31 16:22:00 +08:00

73 lines
2.3 KiB
XML

<?xml version="1.0"?>
<root>
<LabelType>问答类</LabelType>
<LabelIntro>显示处理问题结果页</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>type</name>
<datatype>int</datatype>
<default>0</default>
<intro>显示类型:1显示成功,0显示失败</intro>
</attributes>
<attributes>
<name>QuestionID</name>
<datatype>int</datatype>
<default>0</default>
<intro>问题ID</intro>
</attributes>
<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="type" />
<xsl:param name="QuestionID" />
<xsl:output method="html" />
<xsl:template match="/">
<div class="ask_title">
<div class="rr-1">
</div>
<div class="rr-2-1">
</div>
<div class="rr-3-1">
</div>
<div class="best_answerTit" >
<h3>处理问题</h3>
</div>
<div class="best_answer">
<div class="quiz">
<div id="spanMsg" class="Submitted-successfully">
<xsl:choose>
<xsl:when test="$type = 1">
<p>问题处理成功!</p>
</xsl:when>
<xsl:otherwise>
<p>问题处理失败!</p>
</xsl:otherwise>
</xsl:choose>
</div>
<div style="text-align:center;">.
<a href="MyQuestion.aspx">我的问题</a>
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
<a href="Index.aspx">问答首页</a>
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
<a href="Question.aspx">继续提问</a>
<xsl:if test="$QuestionID &gt; 0">
<a>
<xsl:attribute name="href">{PE.SiteConfig.ApplicationPath/}QA/ShowQuestion.aspx?Id=<xsl:value-of select="$QuestionID"/>
</xsl:attribute>
查看问题
</a>
</xsl:if>
</div>
</div>
<div class="rr-3">
</div>
<div class="rr-2">
</div>
<div class="rr-1">
</div>
</div>
</div>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>