共有两处,列表页顶部发贴按钮处及底部发贴按钮处
顶部修改文件:templates/default/forum/forumdisplay.htm
记事本等编辑器打开它 找到
<img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->
在其“后面”加入下面的代码:
<div style="padding: 10px 10px;"><span style="width: 100px;height: 32px;padding: 10px 20px 10px 35px;background: url(static/image/refresh.gif) no-repeat 0px 0px;"><a href="#">刷新</a></span></div>
底部修改文件:templates/default/forum/forumdisplay_list.htm
记事本等编辑器打开它 找到
<img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->
在其“后面”加入下面的代码:
<div style="padding: 10px 10px;"><span style="width: 100px;height: 32px;padding: 10px 20px 10px 35px;background: url(static/image/refresh.gif) no-repeat 0px 0px;"><a href="#">刷新</a></span></div>
最后,将图片refresh.gif上传到static/image/里面即可
下载:
页面强制刷新按钮插件.zip
(2.24 KB, 下载次数: 6)
|