Home  >  Article  >  php教程  >  Discuz板块横排显示图片的实现方法

Discuz板块横排显示图片的实现方法

WBOY
WBOYOriginal
2016-06-13 12:31:45754browse

到你目前在使用的模板中寻找 discuz.htm
找到这一段代码:

复制代码 代码如下:


 
                                 $forum[name]
 
                                 
{lang forum_threads}: $forum[threads]
{lang forum_posts}: $forum[posts]
{lang forum_todayposts}: $forum[todayposts]
 
                                  

修改为: 

复制代码 代码如下:


$forum[folder] 
                      

                 $forum[icon]$forum[name]
 
                 $forum[description]
 
                  
                 {lang private_forum} 
                  
                          
                  
                          {lang forum_lastpost_in}:   {$forum[lastpost][subject]}
   
                  {lang forum_lastpost_by}$forum['lastpost']['author']{lang anonymous} 
                  
                         {lang never} 
 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn