KanColle © 2014 DMM.com / KADOKAWA GAMES All Rights Reserved. / Animation by © Good Smile Company
[Discuz]取消引言強制提示作者
#1
修改 templates/default/post.htm
找到,並剪下這一段
程式碼:
<!--{if $action == 'reply'}-->
        <input type="hidden" name="noticeauthor" value="$noticeauthor" />
        <input type="hidden" name="noticetrimstr" value="$noticetrimstr" />
        <input type="hidden" name="noticeauthormsg" value="$noticeauthormsg" />
    <!--{/if}-->
找到
程式碼:
<p><input type="checkbox" id="allowimgcode" disabled{if $forum['allowimgcode']} checked="checked"{/if} /><label for="allowimgcode">{lang post_imgcode}</label></p>

在下面貼上,並改為
程式碼:
<!--{if $action == 'reply'}-->
        <input type="checkbox" name="noticeauthor" value="$noticeauthor" />{lang notice}{lang author}
        <input type="hidden" name="noticetrimstr" value="$noticetrimstr" />
        <input type="hidden" name="noticeauthormsg" value="$noticeauthormsg" />
    <!--{/if}-->
註:post.htm似乎沒辦法判斷引言是不是引言自己,因為引言自己的內容也會出現勾選框
應該也可以搭配插件來判斷是不是要顯示這個checkbox
回覆


前往:


正在瀏覽這個主題的使用者: 1 位訪客