手动修改方法:
1.风格模版文件夹里面 css_common.htm
在底部添加
复制内容到剪贴板
代码:
.todaynew { width:52px; height:51px; float:left;
background:url({IMGDIR}/digg.gif) no-repeat center top; margin:5px;
text-align:center; :#f60; font-weight:bold; font-size:12px;
line-height:23px; font-family: Georgia, "Times New Roman", Times, serif;
}
.todaynew p { display:block; font-weight:100; margin:0px; padding:0px;
border:0px; :#858D92;}
.today { width:52px; height:51px;
float:left; background:url({IMGDIR}/digg_blue.gif) no-repeat center top;
margin:5px; text-align:center; :#217AB3; font-weight:bold; font-size:12px;
line-height:23px; font-family: Georgia, "Times New Roman", Times, serif;
}
.today p { display:block; font-weight:100; margin:0px; padding:0px;
border:0px; :#858D92; font-size:11px; }2. 风格模版文件夹里面文件 css_common.htm
.forumlist tbody th.new {
background-image: url({IMGDIR}/forum_new.gif); }
.forumlist th {
padding-left: 55px !important; }
.forumlist tbody th {
background-image: url({IMGDIR}/forum.gif); background-repeat:
no-repeat; background-position: 13px 50%; }
查找并删除
红色部分
3. templates\default\discuz.htm
查找:
复制内容到剪贴板
代码:
<tbody id="forum$forum[fid]">
<tr>
<th$forum[folder]>
$forum[icon]
<h2><a
href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a><!--{if
$forum[todayposts] && !$forum['redirect']}--><em> ({lang
index_today}: $forum[todayposts])</em><!--{/if}--></h2>修改为:
复制内容到剪贴板
代码:
<tbody id="forum$forum[fid]">
<tr>
<th>
<!--{if
$forum[todayposts] && !$forum['redirect']}-->
class="todaynew">$forum[todayposts]{lang
index_today}<!--{else}-->
class="today">0{lang
index_today}<!--{/if}-->
<h2><a
href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></h2>4. templates \ default \ discuz.htm
查找:
复制内容到剪贴板
代码:
<h2><a
href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a><!--{if
$forum[todayposts]}--><em> ({lang index_today}:
$forum[todayposts])</em><!--{/if}--></h2>修改为:
复制内容到剪贴板
代码:
<h2>
<!--{if $forum[todayposts] && !$forum['redirect']}-->
class="todaynew">$forum[todayposts]{lang
index_today}<!--{else}-->
class="today">0{lang
index_today}<!--{/if}--><h2><a
href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></h2>5. templates\default\discuz.htm
查找并删除:
复制内容到剪贴板
代码:
<class="legend">
<label><img
src="{IMGDIR}/forum_new.gif" alt="{lang forum_newposts}" />{lang
forum_newposts}</label>
<label><img
src="{IMGDIR}/forum.gif" alt="{lang forum_nonewpost}" />{lang
forum_nonewpost}</label>6. 上传两个附件 digg.gif digg_blue.gif 到你的images 对应的模板目录内
7.更新缓存(一定要做)