为什么我按照网站上说的找到一段代码然后替换就可以了,可是我在我的DZ.htm中就找不到这段代码
找到templates\default\discuz.htm
或者你所使用的风格文件templates\模板名\discuz.htm找到:
<th width="$cat[forumcolwidth]"{$forum[folder]}>
在后面加上: {$forum[icon]}
网上就这么说就可以显示并列图标了,我却找不到,下面是我的DZ.htm
{subtemplate header}
$bbname » {lang home}
$advlist[text]
< 2} class="wrap s_clear"{else} class="wrap with_side s_clear"{/if}> {lang sidebar_collapsed_yes}{lang sidebar_collapsed_no} {lang sidebar_collapsed_yes}
$pluginhooks[index_header] {template index_header} {subtemplate index_heats} $pluginhooks[index_hot]
{lang index_today}: $todayposts, {lang index_yesterday}: $postdata[0], {lang index_members}: $totalmembers
{subtemplate index_navbar}
$pluginhooks[index_top]
{lang forum_category_modedby}: $cat[moderators]
$cat[name]
$forum[icon]
$forum[name] ({lang index_today}: $forum[todayposts])
$forum[description]
{lang forum_subforums}: $forum['subforums']
{lang forum_moderators}: $forum[moderators]
{lang forum_moderators}
N/A$forum[threads] / $forum[posts] {lang private_forum} {lang url_link}
{echo cutstr($forum[lastpost][subject], 30)}
$forum['lastpost']['author']{lang anonymous} - $forum[lastpost][dateline] {lang never}
$forum[name] ({lang index_today}: $forum[todayposts])
{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]
{lang private_forum}
{lang forum_lastpost}: $forum[lastpost][dateline] {lang never}
{lang url_link}$cat['endrows']
$pluginhooks[index_middle]
{lang board_links}
$_DCACHE['forumlinks'][0]
$_DCACHE['forumlinks'][1]
$_DCACHE['forumlinks'][2]
{lang todays_birthdays}: $_DCACHE[birthdays_index][todaysbdays]
{lang onlinemember} - $onlinenum {lang onlines} - $membercount {lang index_members}($invisiblecount {lang index_invisibles}), $guestcount {lang index_guests} - {lang index_mostonlines} $onlineinfo[0] {lang on} $onlineinfo[1].
{lang onlinemember} - {lang total} $onlinenum {lang onlines} - {lang index_mostonlines} $onlineinfo[0] {lang on} $onlineinfo[1].
{lang onlinemember}
$_DCACHE[onlinelist][legend]
• $online[username] $online[username]
• {lang online_only_guests}
$pluginhooks[index_bottom]
{lang search}
{lang qihoo_hot_searches} $link {lang qihoo_custom_topics} $customtopics [{lang edit}]
{lang qihoo_topics} {$url}
________________________________________
{eval request($infosidestatus, 0, 2);} {eval request($infosidestatus, 1, 2);}
{subtemplate footer} |