打开source/module/forum/forum_forumdisplay.php
查找
$thread['typehtml'] = '['.$_G['forum']['threadtypes']['types'][$thread['typeid']].']';
修改为
$thread['typehtml'] = ''.$_G['forum']['threadtypes']['types'][$thread['typeid']].'';
打开template/default/common/module.css
添加CSS
/*主题分类*/
.article-info .type-tag em a {
vertical-align: top;
font-size: 12px;
}
.tl .type-tag em a {
color: #00c9bd;
text-decoration: none;
}
.type-tag {
vertical-align: middle;
}
.tl .type-tag em a:hover {
color: #fff;
background: #00c9bd;
}
.pg a,.pg strong,.pgb a,.type-tag em a,#p_btn a,.mlt .sum,.radius2,#scbar_form {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.type-tag em a {
vertical-align: middle;
padding: 0px 6px;
border: 1px solid #00C9BD;
display: inline-block;
}
打开template/default/forum/forumdisplay_list.htm
查找
$thread[typehtml] $thread[sorthtml]
修改为
$thread[typehtml] $thread[sorthtml]