替换:
<select name="topicximoo"><option value="0">标题醒目</option><option value="1">HTML支持</option><option value="2">红色醒目</option><option value="3">蓝色醒目</option><option value="4">绿色醒目</option><option value=5>紫框醒目</option><option value=6>绿框醒目</option><option value=7>红框醒目</option><option value=8>蓝框醒目</option><option value=9>霓虹醒目</option><option value=10>跳跃醒目</option><option value=11>突出醒目</option><option value=12>彩色醒目</option></select>
Page_Index分页模板,在template.html(1)中找到
<xsl:when test="@topicmode='4'">
<font color="green"><xsl:choose>
<xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
<xsl:otherwise><xsl:value-of select="@title" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose></font>
</xsl:when>
在下面加入
<xsl:when test="@topicmode='5'">
<span style="border:solid 1px #DD2292;border-left-width:5px;border-left-color:#DD2292;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt"><xsl:choose>
<xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
<xsl:otherwise><xsl:value-of select="@title" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose></span>
</xsl:when>
<xsl:when test="@topicmode='6'">
<span style="border:solid 1px #55AA55;border-left-width:5px;border-left-color:#55AA55;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt"><xsl:choose>
<xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
<xsl:otherwise><xsl:value-of select="@title" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose></span>
</xsl:when>
<xsl:when test="@topicmode='7'">
<span style="border:solid 1px #cc0000;border-left-width:5px;border-left-color:#cc0000;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt"><xsl:choose>
<xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
<xsl:otherwise><xsl:value-of select="@title" disable-output-escaping="yes"/></xsl:otherwise>
</xsl:choose></span>
</xsl:when>
<xsl:when test="@topicmode='8'">
<span style="border:solid 1px #0000cc;border-left-width:5px;border-left-color:#0000cc;background:#ffffff;padding:1px 6px 2px 6px;font-size: 8pt"><xsl:choose>
<xsl:when test="string-length(@title) > 30 "><xsl:value-of select="concat(substring(@title,0,20),'....',substring(@title,(string-length(@title)- 10 ),string-length(@title)))" disable-output-escaping="yes"/>[长]</xsl:when>
如果您对本文有任何疑问或者建议,请到讨论区发表您的意见:
>>
论坛入口 <<
上一篇:
怎么样让百度天天更新你、收录的更多 下一篇:
SEO工具,站长必备
【文章评论】
【收藏本文】
【推荐好友】
【打印本文】
【我要投稿】 【论坛讨论】