主题列表页添加页面强制刷新按钮F5
图片演示如下:共有两处,列表页顶部发贴按钮处及底部发贴按钮处
顶部修改文件: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/里面即可
强制刷新我更喜欢直接CTRL+F5 super天堂 发表于 2010-10-10 11:43 static/image/common/back.gif
强制刷新我更喜欢直接CTRL+F5
虽然我也是直接CTRL+F5,但不排斥有的人不喜欢用键盘的,呵呵{:4_83:}
页:
[1]