include 目录下 arc.searchview.class.php文件,
找到 $fstr = str_replace($k, "<font color='red'>$k</font>", $fstr);
改为:$fstr = str_replace($k, "<font color='#这里是颜色代码,如:#000等'>$k</font>", $fstr);
这样就可以了。
如果想去掉关键字加颜色的属性 在arc.searchview.class.php中注释掉$fstr = str_ireplace($k, "<font color='black'>$k</font>", $fstr);这个段代码(大约352行)
发表评论