<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dede取消文章设置为推荐时标题加粗

时间:2020-12-14

dede在列表推荐文章默认为加粗,那么如何取消当文章设置为推荐时候加粗呢?我们需要去掉一个判断语句。

那个加黑的是默认的。如果你不想要被加黑,可以做如下改动。

在include里找到文件:arc.listview.class.php

 

查找并删除以下代码:

 

      if(preg_match('/c/', $row['flag']))
{
$row['title'] = "<b>".$row['title']."</b>";
}

这时候我们就可以取消加粗了,因为加粗是由于<b></b>引起的;我们也可以改成其他的效果,比如设置为推荐时,文章显示红色标题:$row['title'] = "<b>".$row['title']."</b>";
改成$row['title'] = "<font color='red".$row['title']."</font>";


    0
    首页
    案例
    关于
    联系