05-08-2010, 09:12 PM
修改 templates/default/post.htm
找到,並剪下這一段
找到
在下面貼上,並改為
註:post.htm似乎沒辦法判斷引言是不是引言自己,因為引言自己的內容也會出現勾選框
應該也可以搭配插件來判斷是不是要顯示這個checkbox
找到,並剪下這一段
程式碼:
<!--{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}-->
應該也可以搭配插件來判斷是不是要顯示這個checkbox