1. template/模版目录/forum/post_editor_attribute.htm 约177行 ,搜索找到
- <input type="checkbox" name="ordertype" id="ordertype" class="pc" value="1" $ordertype >
复制代码
把改成
如下:
- <input type="checkbox" name="ordertype" id="ordertype" class="pc" value="1" checked="checked" >
复制代码
注: 这里的 $ordertype 可以是不是这样的, 我之前改了忘了是什么样的了..这里的改动是为了让发帖的时候,默认选上 回帖降序排列的选项
2. forum.php
加上一句:
- if(isset($_GET['mod']) && $_GET['mod'] == 'viewthread')
- $_GET['ordertype'] = 1;
复制代码 |