找到文件"\template\default\forum\forumdisplay.htm" 35到94行- <div class="bm bml pbn">
- <!--{if $_G[forum][banner] && !$subforumonly}--><img src="$_G[forum][banner]" alt="$_G['forum'][name]" /><!--{/if}-->
- <div class="bm_h cl">
- <!--{if $_G['page'] == 1 && $_G['forum']['rules']}--><span class="o"><img id="forum_rules_{$_G[fid]}_img" src="{IMGDIR}/collapsed_{$collapse[forum_rulesimg]}.gif" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('forum_rules_{$_G[fid]}')" /></span><!--{/if}-->
- <span class="y">
- <a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum" id="a_favorite" class="fa_fav" onclick="showWindow(this.id, this.href, 'get', 0);">{lang forum_favorite}</a>
- <!--{if rssforumperm($_G['forum']) && $_G[setting][rssstatus] && !$_G['gp_archiveid'] && !$subforumonly}--><span class="pipe">|</span><a href="forum.php?mod=rss&fid=$_G[fid]&auth=$rssauth" class="fa_rss" target="_blank" title="RSS">{lang rss_subscribe_this}</a><!--{/if}-->
- <!--{if !empty($forumarchive)}-->
- <span class="pipe">|</span><a id="forumarchive" href="javascript:;" class="fa_achv" onmouseover="showMenu(this.id)"><!--{if $_G['gp_archiveid']}-->$forumarchive[$_G['gp_archiveid']]['displayname']<!--{else}-->{lang forum_archive}<!--{/if}--></a>
- <!--{/if}-->
- <!--{hook/forumdisplay_forumaction}-->
- <!--{if $_G['forum']['ismoderator']}-->
- <!--{if $_G['forum']['recyclebin']}-->
- <span class="pipe">|</span><a href="{if $_G['adminid'] == 1}admin.php?mod=forum&action=recyclebin&frames=yes{elseif $_G['forum']['ismoderator']}forum.php?mod=modcp&action=recyclebin&fid=$_G[fid]{/if}" class="fa_bin" target="_blank">{lang forum_recyclebin}</a>
- <!--{/if}-->
- <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
- <span class="pipe">|</span><strong>
- <!--{if $_G['forum']['status'] != 3}-->
- <a href="forum.php?mod=modcp&fid=$_G[fid]">{lang modcp}</a>
- <!--{else}-->
- <a href="forum.php?mod=group&action=manage&fid=$_G[fid]">{lang modcp}</a>
- <!--{/if}-->
- </strong>
- <!--{/if}-->
- <!--{if $_G['forum']['modworks']}-->
- <!--{if $modusernum}--><span class="pipe">|</span><a href="forum.php?mod=modcp&action=moderate&op=members&fid=$_G[fid]" target="_blank">{lang mod_works_moduser_existence}</a><!--{/if}-->
- <!--{/if}-->
- <!--{hook/forumdisplay_modlink}-->
- <!--{/if}-->
- </span>
- <h1 class="xs2">
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]">$_G['forum'][name]</a>
- <!--{if !$subforumonly}--><span class="xs1 xw0 i">{lang index_today}: <strong class="xi1">$_G[forum][todayposts]</strong><span class="pipe">|</span>{lang index_threads}: <strong class="xi1">$_G[forum][threads]</strong></span><!--{/if}-->
- </h1>
- </div>
- <!--{if (!empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])) || $moderatedby || ($_G['page'] == 1 && $_G['forum']['rules'])}-->
- <div class="bm_c cl pbn">
- <!--{if !empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])}-->
- <div class="pbn">{lang forum_domain}: <a href="http://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}" id="group_link">http://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}</a></div>
- <!--{/if}-->
- <!--{if $moderatedby}--><div>{lang forum_modedby}: <span class="xi2">$moderatedby</span></div><!--{/if}-->
- <!--{if $_G['page'] == 1 && $_G['forum']['rules']}-->
- <div id="forum_rules_{$_G[fid]}" style="$collapse['forum_rules'];">
- <div class="ptn xg2">$_G['forum'][rules]</div>
- </div>
- <!--{/if}-->
- </div>
- <!--{/if}-->
- <!--{if !empty($forumarchive)}-->
- <div id="forumarchive_menu" class="p_pop" style="display:none">
- <ul>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">{lang threads_all}</a></li>
- <!--{loop $forumarchive $id $info}-->
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&archiveid=$id">{$info['displayname']} ({$info['threads']})</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{/if}-->
- </div>
复制代码 修改为:
- <div class="bm bml pbn">
- <div class="bm_h cl">
- <!--{if $_G['page'] == 1 && $_G['forum']['rules']}--><span class="o"><img id="forum_rules_{$_G[fid]}_img" src="{IMGDIR}/collapsed_{$collapse[forum_rulesimg]}.gif" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('forum_rules_{$_G[fid]}')" /></span><!--{/if}-->
- <span class="y">
- <a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum" id="a_favorite" class="fa_fav" onclick="showWindow(this.id, this.href, 'get', 0);">{lang forum_favorite}</a>
- <!--{if rssforumperm($_G['forum']) && $_G[setting][rssstatus] && !$_G['gp_archiveid'] && !$subforumonly}--><span class="pipe">|</span><a href="forum.php?mod=rss&fid=$_G[fid]&auth=$rssauth" class="fa_rss" target="_blank" title="RSS">{lang rss_subscribe_this}</a><!--{/if}-->
- <!--{if !empty($forumarchive)}-->
- <span class="pipe">|</span><a id="forumarchive" href="javascript:;" class="fa_achv" onmouseover="showMenu(this.id)"><!--{if $_G['gp_archiveid']}-->$forumarchive[$_G['gp_archiveid']]['displayname']<!--{else}-->{lang forum_archive}<!--{/if}--></a>
- <!--{/if}-->
- <!--{hook/forumdisplay_forumaction}-->
- <!--{if $_G['forum']['ismoderator']}-->
- <!--{if $_G['forum']['recyclebin']}-->
- <span class="pipe">|</span><a href="{if $_G['adminid'] == 1}admin.php?mod=forum&action=recyclebin&frames=yes{elseif $_G['forum']['ismoderator']}forum.php?mod=modcp&action=recyclebin&fid=$_G[fid]{/if}" class="fa_bin" target="_blank">{lang forum_recyclebin}</a>
- <!--{/if}-->
- <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
- <span class="pipe">|</span><strong>
- <!--{if $_G['forum']['status'] != 3}-->
- <a href="forum.php?mod=modcp&fid=$_G[fid]">{lang modcp}</a>
- <!--{else}-->
- <a href="forum.php?mod=group&action=manage&fid=$_G[fid]">{lang modcp}</a>
- <!--{/if}-->
- </strong>
- <!--{/if}-->
- <!--{if $_G['forum']['modworks']}-->
- <!--{if $modusernum}--><span class="pipe">|</span><a href="forum.php?mod=modcp&action=moderate&op=members&fid=$_G[fid]" target="_blank">{lang mod_works_moduser_existence}</a><!--{/if}-->
- <!--{/if}-->
- <!--{hook/forumdisplay_modlink}-->
- <!--{/if}-->
- </span>
- <h1 class="xs2">
- <a href="forum.php?mod=forumdisplay&fid=$_G[fid]">$_G['forum'][name]</a>
- <!--{if !$subforumonly}--><span class="xs1 xw0 i">{lang index_today}: <strong class="xi1">$_G[forum][todayposts]</strong><span class="pipe">|</span>{lang index_threads}: <strong class="xi1">$_G[forum][threads]</strong></span><!--{/if}-->
- </h1>
- </div>
- <!--{if (!empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])) || $moderatedby || ($_G['page'] == 1 && $_G['forum']['rules'])}-->
- <div class="bm_c cl pbn">
- <!--{if !empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])}-->
- <div class="pbn">{lang forum_domain}: <a href="http://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}" id="group_link">http://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}</a></div>
- <!--{/if}-->
- <!--{if $moderatedby}--><div>{lang forum_modedby}: <span class="xi2">$moderatedby</span></div><!--{/if}-->
- <!--{if $_G['page'] == 1 && $_G['forum']['rules']}-->
- <div id="forum_rules_{$_G[fid]}" style="$collapse['forum_rules'];">
- <div class="ptn xg2">$_G['forum'][rules]</div>
- </div>
- <!--{/if}-->
- </div>
- <!--{/if}-->
- <!--{if !empty($forumarchive)}-->
- <div id="forumarchive_menu" class="p_pop" style="display:none">
- <ul>
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">{lang threads_all}</a></li>
- <!--{loop $forumarchive $id $info}-->
- <li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&archiveid=$id">{$info['displayname']} ({$info['threads']})</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <!--{/if}-->
复制代码
|