标题:
Discuz6.0.0版块横排, 添加版块图标的办法
[打印本页]
作者:
admin
时间:
2008-1-28 05:11
标题:
Discuz6.0.0版块横排, 添加版块图标的办法
打开 discuz.htm
V) H/ o" |2 r" j8 a. l
找:
<th width="$cat[forumcolwidth]"{$forum[folder]}>
复制代码
后面添加:
<a href="forumdisplay.php?fid=$forum[fid]">{$forum[icon]}</a>
复制代码
完毕!
/ ~0 r6 U# g$ h/ E( x& b
' \9 Q; y+ Z" N1 {
如果要同时去掉前面有无新帖图标,
/ e, ~' P; \; {/ D
打开css.htm,
- J% i. @9 t# \) f( b4 h
找:
.forumlist th { padding-left: 55px !important; }
.forumlist h2 em { color: {HIGHLIGHTLINK}; }
.forumlist tbody th { background-image: url({IMGDIR}/forum.gif); background-repeat: no-repeat; background-position: 13px 50%; }
.forumlist tbody th.new { background-image: url({IMGDIR}/forum_new.gif); }
复制代码
删除之。
欢迎光临 捌玖网络工作室 (http://www.89w.org/)
Powered by Discuz! 7.2