百度空间 | 百度首页 
 
查看文章
 
Discuz 7 横向排列板块显示子版块解决方法
2009年08月30日 星期日 13:37

Discuz 7 横向排列板块显示子版块解决方法

2009年8月30日


找BBS中templates\default\中discuz.htm文件
搜索
<p>{lang forum_lastpost}:
          <!--{if is_array($forum['lastpost'])}-->
           <a href="redirect.php?tid=$forum[lastpost][tid]&amp;goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if} ">$forum[lastpost][dateline]</a>
          <!--{else}-->
           {lang never}
          <!--{/if}-->
         </p>

语句,在其下,添加
<!--增加横向子版块显示-->
<!--{if !empty( $forum['subforums'])}-->
<p> $forum['subforums'] </p>
<!--{/if}-->
<!--增加横向子版块显示结束-->  

即可。

参考资料:
作者:体无完肤 地址:http://bbs.7drc.com/thread-1582-1-1.html


类别:Discuz | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu