第三,帖子的美化
分页面模板(page_dispbbs)界面风格管理----template.html(0)
找到<xsl:if test="$checkinfo ='' or /post/userinfo/@boardmaster =1">修改下面的
<fieldset>
<legend style="border:1px dashed #B4CEFF;background-color:#f5f5f5;text-align:left;font-family:arial;font-weight:bold">
<div style="height:22px;line-height:22px;"><div style="float:left;"><img src="={/post/setting/@picurl}topicface/{@expression} alt="发贴心情" /></div><b><xsl:value-of select="@topic" disable-output-escaping="yes"/></b></div></legend>
<xsl:if test="@parentid = 0">
<xsl:if test="$mofaface !='' and $mofaface !='0'"><div style="float:right;margin-right:20px;"><a href="javascript:DispMagicEmot({$mofaface},350,500)"><img src="dv_plus/tools/magicface/gif/{$mofaface}.gif" border="0" alt=""/><br />魔法表情<br/>点击重放</a></div>
<script type="text/javascript" language="javascript">
LoadMagicEmot(<xsl:value-of select="$mofaface" />,<xsl:value-of select="/post/postinfo/@topicid"/>);
</script>
</xsl:if>
</xsl:if>
<div style="{$bodystyle}margin-top:10px;word-wrap : break-word ;word-break : break-all ;" onload="this.style.overflowX='auto';">
<xsl:choose>
<xsl:when test="@parentid =0 and /post/postinfo/@getmoneytype=3"><xsl:call-template name="checkgetmoney" /></xsl:when>
<xsl:otherwise><xsl:value-of select="@body" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose>
</div>
</fieldset>
帖子页只给发贴作者加入版权的修改方法
分页面模板(page_dispbbs) template.html(0)
找到:
<div style="{$bodystyle}margin-top:10px;word-wrap : break-word ;word-break : break-all ;" onload="this.style.overflowX='auto';">
<xsl:choose>
<xsl:when test="@parentid =0 and /post/postinfo/@getmoneytype=3"><xsl:call-template name="checkgetmoney" /></xsl:when>
<xsl:otherwise><xsl:value-of select="@body" disable-output-escaping="yes"/>
</xsl:otherwise>
</xsl:choose>
</div>
下面添加:
<xsl:if test="@parentid = 0">
<div>
<hr/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="8" background="images/Ctrl_left.gif" height="79"></td>
<td background="images/Ctrl_bg.gif">
<font color="#EC5C2D"><li>本文由 [<xsl:value-of select="@username"/>] 发表,[<xsl:value-of select="@username"/>] 与〖蓝色悠恋论坛〗依《论坛守则》享有相关权利;</li><br/><li>其他单位或个人使用、转载或引用本文时必须征得 [<xsl:value-of select="@username"/>] 与〖蓝色悠恋论坛〗的同意;</li><br/><li>发贴者承担一切因本文发表而直接或间接导致的民事或刑事法律责任;</li><br/><li>本论坛的管理员和版主有权不事先通知发贴者而删除本文!</li>
如果您对本文有任何疑问或者建议,请到讨论区发表您的意见:
>>
论坛入口 <<
上一篇:
怎么样让百度天天更新你、收录的更多 下一篇:
SEO工具,站长必备
【文章评论】
【收藏本文】
【推荐好友】
【打印本文】
【我要投稿】 【论坛讨论】