78 lines
2.7 KiB
XML
78 lines
2.7 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>
|
|
<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> <br />
|
|
|
|
处理提问的方式包括:<br />
|
|
• 问题补充:对提问进行补充,以得到更准确的答案;<br />
|
|
• 提高悬赏:提高悬赏分,以提高问题的关注度;<br />
|
|
• 无满意回答:没有满意的回答,可以直接结束提问,关闭问题。<br />
|
|
</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">&nbsp;</xsl:text>
|
|
<a href="Index.aspx">问答首页</a>
|
|
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
|
|
<a href="Question.aspx">继续提问</a>
|
|
<xsl:if test="$type = 1">
|
|
<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>
|
|
<attributes>
|
|
<name>QuestionID</name>
|
|
<datatype>int</datatype>
|
|
<default>0</default>
|
|
<intro>问题ID</intro>
|
|
</attributes>
|
|
</root> |