对于在帖子页的这一行管理条如果想去掉,需要打开 emplatedefaultforumviewthread.htm 文件,删除 104-140 行的代码,更新缓存即可
- <!--{if $modmenu['thread']}-->
- <div id="modmenu" >
- <!--{eval $modopt=0;}-->
- <!--{if $_G['forum']['ismoderator']}-->
- <!--{if
$_G['group']['allowdelpost']}--><!--{eval $modopt++}--><a
href="javascript:;" onclick="modthreads(3, 'delete')">{lang
modmenu_deletethread}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowbumpthread'] &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;" onclick="modthreads(3,
'bump')">{lang modmenu_updown}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowstickthread'] &&
($_G['forum_thread']['displayorder'] <= 3 || $_G['adminid'] == 1)
&& !$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;" onclick="modthreads(1,
'stick')">{lang modmenu_stickthread}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowlivethread'] &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;"
onclick="modaction('live')">{lang modmenu_live}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowhighlightthread'] &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;" onclick="modthreads(1,
'highlight')">{lang modmenu_highlight}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowdigestthread'] &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;" onclick="modthreads(1,
'digest')">{lang modmenu_digestpost}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowrecommendthread'] &&
!empty($_G['forum']['modrecommend']['open']) &&
$_G['forum']['modrecommend']['sort'] != 1 &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;" onclick="modthreads(1,
'recommend')">{lang modmenu_recommend}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowstampthread'] &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;"
onclick="modaction('stamp')">{lang modmenu_stamp}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowstamplist'] &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;"
onclick="modaction('stamplist')">{lang
modmenu_icon}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowclosethread'] &&
!$_G['forum_thread']['is_archived'] && $_G['forum']['status'] !=
3}--><!--{eval $modopt++}--><a href="javascript:;"
onclick="modthreads(4)"><!--{if
!$_G['forum_thread']['closed']}-->{lang
modmenu_switch_off}<!--{else}-->{lang
modmenu_switch_on}<!--{/if}--></a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowmovethread'] &&
!$_G['forum_thread']['is_archived'] && $_G['forum']['status'] !=
3}--><!--{eval $modopt++}--><a href="javascript:;"
onclick="modthreads(2, 'move')">{lang modmenu_move}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowedittypethread'] &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;" onclick="modthreads(2,
'type')">{lang modmenu_type}</a><span
>|</span><!--{/if}--> - <!--{if !$_G['forum_thread']['special'] && !$_G['forum_thread']['is_archived']}-->
- <!--{if
$_G['group']['allowcopythread'] && $_G['forum']['status'] !=
3}--><!--{eval $modopt++}--><a href="javascript:;"
onclick="modaction('copy')">{lang modmenu_copy}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowmergethread'] && $_G['forum']['status'] !=
3}--><!--{eval $modopt++}--><a href="javascript:;"
onclick="modaction('merge')">{lang modmenu_merge}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowrefund'] && $_G['forum_thread']['price'] >
0}--><!--{eval $modopt++}--><a href="javascript:;"
onclick="modaction('refund')">{lang
modmenu_restore}</a><span
>|</span><!--{/if}--> - <!--{/if}-->
- <!--{if
$_G['group']['allowsplitthread'] &&
!$_G['forum_thread']['is_archived'] && $_G['forum']['status'] !=
3}--><!--{eval $modopt++}--><a href="javascript:;"
onclick="modaction('split')">{lang modmenu_split}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowrepairthread'] &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;"
onclick="modaction('repair')">{lang modmenu_repair}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['forum_thread']['is_archived'] && $_G['adminid'] ==
1}--><!--{eval $modopt++}--><a href="javascript:;"
onclick="modaction('restore', '',
'archiveid={$_G[forum_thread][archiveid]}')">{lang
modmenu_archive}</a><span
>|</span><!--{/if}--> - <!--{if $_G['forum_firstpid']}-->
- <!--{if
$_G['group']['allowwarnpost']}--><!--{eval $modopt++}--><a
href="javascript:;" onclick="modaction('warn',
'$_G[forum_firstpid]')">{lang modmenu_warn}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowbanpost']}--><!--{eval $modopt++}--><a
href="javascript:;" onclick="modaction('banpost',
'$_G[forum_firstpid]')">{lang modmenu_banthread}</a><span
>|</span><!--{/if}--> - <!--{/if}-->
- <!--{if
$_G['group']['allowremovereward'] &&
$_G['forum_thread']['special'] == 3 &&
!$_G['forum_thread']['is_archived']}--><!--{eval
$modopt++}--><a href="javascript:;"
onclick="modaction('removereward')">{lang
modmenu_removereward}</a><span
>|</span><!--{/if}--> - <!--{if $_G['forum']['status'] == 3
&& in_array($_G['adminid'], array('1','2')) &&
$_G['forum_thread']['closed'] < 1}--><a href="javascript:;"
onclick="modthreads(5, 'recommend_group');return false;">{lang
modmenu_grouprecommend}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['allowmanagetag']}--><a href="javascript:;"
onclick="showWindow('mods',
'forum.php?mod=tag&op=manage&tid=$_G[tid]', 'get', 0)">{lang
post_tag}</a><span
>|</span><!--{/if}--> - <!--{if
$_G['group']['alloweditusertag']}--><a href="javascript:;"
onclick="showWindow('usertag',
'forum.php?mod=misc&action=usertag&tid=$_G[tid]', 'get',
0)">{lang usertag}</a><span
>|</span><!--{/if}--> - <!--{/if}-->
- <!--{if $allowpusharticle &&
$allowpostarticle}--><!--{eval $modopt++}--><a
href="portal.php?mod=portalcp&ac=article&from_idtype=tid&from_id=$_G['tid']">{lang
modmenu_pusharticle}</a><span
>|</span><!--{/if}--> - <!--{hook/viewthread_modoption}-->
- </div>
- <!--{/if}-->