百分百源码网-让建站变得如此简单! 登录 注册 签到领金币!

主页 | 如何升级VIP | TAG标签

当前位置: 主页>网站教程>Discuz教程> Discuz去掉右下角的快速回复及返回顶部按钮的方法
分享文章到:

Discuz去掉右下角的快速回复及返回顶部按钮的方法

发布时间:12/03 来源: 浏览: 关键词:
Discuz帖子右下角默认有快速回复和返回顶部按钮,但是有的人为了简洁不喜欢这样多的按钮,就需要自己去掉,下面就告诉大家去掉的方法:
打开 template/default/common/footer.htm 文件,在第155-169行的位置找到如下代码:
<div id="scrolltop">
        <!--{if $_G[fid] && $_G['mod'] == 'viewthread'}-->
        <span><a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$_GET[extra]&page=$page{if $_GET[from]}&from=$_GET[from]{/if}" onclick="showWindow('reply', this.href)" class="replyfast" title="{lang fastreply}"><b>{lang fastreply}</b></a></span>
        <!--{/if}-->
        <span hidefocus="true"><a title="{lang scrolltop}" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>{lang scrolltop}</b></a></span>
        <!--{if $_G[fid]}-->
        <span>
                <!--{if $_G['mod'] == 'viewthread'}-->
                <a href="forum.php?mod=forumdisplay&fid=$_G[fid]" hidefocus="true" class="returnlist" title="{lang return_list}"><b>{lang return_list}</b></a>
                <!--{else}-->
                <a href="forum.php" hidefocus="true" class="returnboard" title="{lang return_forum}"><b>{lang return_forum}></b></a>
                <!--{/if}-->
        </span>
        <!--{/if}-->
</div>
将其删除后保存即可。
打赏

打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

百分百源码网 建议打赏1~10元,土豪随意,感谢您的阅读!

相关文章

共有29人阅读,期待你的评论!发表评论
昵称: 网址: 验证码: 点击我更换图片
最新评论

本文标签

广告赞助

能出一分力是一分吧!

订阅获得更多模板

本文标签

广告赞助

订阅获得更多模板