Discuz板块横排显示图片的实现方法_PHP教程
程序员文章站
2022-05-15 17:00:07
...
到你目前在使用的模板中寻找 discuz.htm
找到这一段代码:
$forum[name]
修改为:
$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}
找到这一段代码:
复制代码 代码如下:
$forum[name]
{lang forum_threads}: $forum[threads]
{lang forum_posts}: $forum[posts]
{lang forum_todayposts}: $forum[todayposts]
修改为:
复制代码 代码如下:
$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}