- 积分
- 127576
- 在线时间
- 小时
- 注册时间
- 2010-9-23
- 最后登录
- 1970-1-1
|
首先上图:有三处(记得先备份哦)
找到template/正在用模板/forum/discuz.htm
①首先找到:- <td class="fl_i">
- <!--{if empty($forum[redirect])}--><span class="xi2">$forum[threads]</span><span class="xg1"> / $forum[posts]</span><!--{/if}-->
- </td>
复制代码
替换成
- <td class="fl_by">
- ┌ <em><span class="xw0 xi1">{lang forum_todayposts}: $forum[todayposts]</span></em><br><em>├ <span class="xi2">{lang forum_threads}: $forum[threads]</span></em><br>└ <span class="xg1"><em>{lang forum_posts}: $forum[posts]</em>
- </span>
- </td>
复制代码 ②找到:(有2处第二处)
- <!--{elseif is_array($forum['lastpost'])}-->
复制代码 下面一段代码:
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
复制代码 修改为:
- ┌ <img src="{STATICURL}/image/ico/thread.gif" title="主题">: <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>├ <img src="{STATICURL}/image/ico/time.gif" title="时间">: $forum[lastpost][dateline] <br>└ <img src="{STATICURL}/image/ico/member.gif" title="作者">: <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></cite>
- <!--{else}-->
复制代码 ③找到:(有2处第一处)
- <!--{elseif is_array($forum['lastpost'])}-->
复制代码 下面一段代码:
- <!--{if $cat['forumcolumns'] < 3}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
复制代码 修改为:
- <!--{if $cat['forumcolumns'] < 3}-->
- <img src="{STATICURL}/image/ico/thread.gif" title="主题">: <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite><img src="{STATICURL}/image/ico/time.gif" title="时间">: $forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}--><img src="{STATICURL}/image/ico/member.gif" title="作者">: $forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
复制代码 然后将图片附件上传到/static/image/ico/下,后台更新缓存即可,(绝对不会修改文件)
|
-
-
ico.rar
885 Bytes, 下载次数: 57, 下载积分: 金币 -3 个
|