找到可行的资料,但他同时会把文章列表关闭,就是第1页
第2页,第三页之类的那个导航列
请问以下要如何修改,才能单纯隐藏按钮
第一:隐藏上面【发帖】按钮找到/template/default/forum/forumdisplay.htm这个文件并打开。 修改以下代码: [size=1em][size=1em][size=1em]<div id="pgt" class="bm bw0 pgs cl">
[size=1em] <span id="fd_page_top">$multipage</span>
[size=1em] <span class="pgb y" {if $_G[setting][visitedforums]}id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'34'})"{/if} ><a href="forum.php">{lang return_index}</a></span>
[size=1em] <!--{if !$_GET['archiveid']}--><a href="javascript:;" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->
[size=1em] <!--{hook/forumdisplay_postbutton_top}-->
[size=1em] </div>
|
为 [size=1em][size=1em][size=1em]<!--{if $_G['uid'] && $_G['adminid'] == 1}-->
[size=1em]<div id="pgt" class="bm bw0 pgs cl">
[size=1em] <span id="fd_page_top">$multipage</span>
[size=1em] <span class="pgb y" {if $_G[setting][visitedforums]}id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'34'})"{/if} ><a href="forum.php">{lang return_index}</a></span>
[size=1em] <!--{if !$_GET['archiveid']}--><a href="javascript:;" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->
[size=1em] <!--{hook/forumdisplay_postbutton_top}-->
[size=1em] </div>
[size=1em] <!--{else}-->
[size=1em] <div id="pgt" style="visibility:hidden">
[size=1em] </div>
[size=1em] <!--{/if}-->
|
|