加个判断就行: [HTML] 纯文本查看 复制代码 {if CURMODULE === 'forumdisplay' || CURMODULE === 'viewthread'} <div class="tweet-button"> <a href="javascript:;" id="newspecialtmp"{if !$_G['uid']}{else}{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && empty($_G['forum']['threadsorts']['required'])}{else}{/if}{/if} title="{lang send_posts}"> <i class="fas fa-feather-alt"></i> <span>发长帖</span> </a> </div> {/if} |