優化界面顯示,管理員提升或審核主題通過后,普通用戶不顯示"本主題由….“
templatedefaultforumviewthread_node_body.htm
搜索
<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}--> <!--{if !empty($lastmod['modaction'])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href)"><!--{if $lastmod['modactiontype'] == 'REB'}-->{lang thread_mod_recommend_by}<!--{else}-->{lang thread_mod_by}<!--{/if}--></a></div><!--{/if}--> <!--{hook/viewthread_modaction}--> <!--{/if}-->
改為:
<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid'] && $_G['group']['groupid']=='1'}--> <!--{if !empty($lastmod['modaction'])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href)"><!--{if $lastmod['modactiontype'] == 'REB'}-->{lang thread_mod_recommend_by}<!--{else}-->{lang thread_mod_by}<!--{/if}--></a></div><!--{/if}--> <!--{hook/viewthread_modaction}--> <!--{/if}-->