找到\template\default\forum\post_editor_attribute.htm文件的168行
- <!--{if $_G['group']['allowanonymous']}--><label for="isanonymous"><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" />{lang post_anonymous}</label><!--{/if}-->
复制代码
修改为
- <!--{if $_G['group']['allowanonymous']}--><label for="isanonymous"><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" checked="checked" />{lang post_anonymous}</label><!--{/if}-->
复制代码
然后再找到174行
- <label for="hiddenreplies"><input type="checkbox" name="hiddenreplies" id="hiddenreplies" class="pc"{if $thread['hiddenreplies']} checked="checked"{/if} value="1">{lang hiddenreplies}</label>
复制代码
修改为
- <label for="hiddenreplies"><input type="checkbox" name="hiddenreplies" id="hiddenreplies" class="pc" checked="checked" value="1">{lang hiddenreplies}</label>
复制代码
最后再更新一下缓存即可
打赏
打赏
扫码打赏,你说多少就多少
打开支付宝扫一扫,即可进行扫码打赏哦
百分百源码网 建议打赏1~10元,土豪随意,感谢您的阅读!