• 注册
热门标签
↑ 收起导航

discuz!X1.5版块横排时显示版块简介、版主、最后发表

修改后显示:版块简介,版主,最后发表!效果图:

1.jpg

 

原文传送门: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}-->
版权声明:转载请注明来自杨俊伟博客,本文地址:http://yangjunwei.com/a/506.html
除非注明,杨俊伟博客文章均为原创,转载请注明出处和链接!
 

4 条评论 »

发表评论 



我还是想用邮箱注册

登录

忘记密码 ?

用第三方帐号快捷登录

已有账户?前往登录吧~

注册