discuz!X1.5版块横排时显示版块简介、版主、最后发表
修改后显示:版块简介,版主,最后发表!效果图:
原文传送门:http://www.12345.la/thread-10228-1-1.html
discuz.htm文件,查找:
<!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: $forum[threads]</em>, <em>{lang forum_posts}: $forum[posts]</em></dd><!--{/if}-->
替换为:
<!--{if $forum[description]}--><p class="xg2"><dd><em>$forum[description]</em></dd></p><!--{/if}--> <!--{if $forum['moderators']}--> <p><dd><em>{lang forum_moderators}:<span class="xi2">$forum[moderators]</span></em></dd></p><!--{/if}-->
再查找:
<!--{if $forum['permission'] == 1}--> {lang private_forum} <!--{else}--> <!--{if $forum['redirect']}--> <a href="$forumurl" class="xi2">{lang url_link}</a> <!--{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}-->{lang anonymous}<!--{/if}--></cite> <!--{else}--> <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a> &nbs p; <!--{/if}-->
替换为:
<!--{if $forum['permission'] == 1}--> <!--{else}--> <!--{if $forum['redirect']}--> <a href="$forumurl" class="xi2">{lang url_link}</a> <!--{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}-->{lang anonymous}<!--{/if}--></cite> <!--{else}--> <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a><!--{/if}-->