Discuz教程网

删除Discuz X3“允许显示桌面通知”的方法

[复制链接]
authicon dly 发表于 2015-10-13 11:57:28 | 显示全部楼层 |阅读模式
template/default/common/footer.htm
大约136行到152行:
  1. <!--{if ($_G[member][newpm] || $_G[member][newprompt]) && empty($_G['cookie']['ignore_notice'])}-->
  2.         <script type="text/javascript" src="{$_G[setting][jspath]}html5notification.js?{VERHASH}"></script>
  3.         <script type="text/javascript">
  4.         var h5n = new Html5notification();
  5.         if(h5n.issupport()) {
  6.                 <!--{if $_G[member][newpm] && $_GET[do] != 'pm'}-->
  7.                 h5n.shownotification('pm', '$_G[siteurl]home.php?mod=space&do=pm', '<!--{avatar($_G[uid],small,true)}-->', '{lang newpm_subject}', '{lang newpm_notice_info}');
  8.                 <!--{/if}-->
  9.                 <!--{if $_G[member][newprompt] && $_GET[do] != 'notice'}-->
  10.                                 <!--{loop $_G['member']['category_num'] $key $val}-->
  11.                                         <!--{eval $noticetitle = lang('template', 'notice_'.$key);}-->
  12.                                         h5n.shownotification('notice_$key', '$_G[siteurl]home.php?mod=space&do=notice&view=$key', '<!--{avatar($_G[uid],small,true)}-->', '$noticetitle ($val)', '{lang newnotice_notice_info}');
  13.                                 <!--{/loop}-->
  14.                 <!--{/if}-->
  15.         }
  16.         </script>
  17. <!--{/if}-->
复制代码
全部删除即可。



上一篇:删除Discuz X3应用中心的插件更新提示的方法
下一篇:discuz x论坛买家、卖家的信用等级如何手工修改
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2024-4-19 21:34

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表