具体代码在template/default/common/footer.htm里面
大约136行到152行,具体内容如下:- <!--{if ($_G[member][newpm] || $_G[member][newprompt]) && empty($_G['cookie']['ignore_notice'])}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}html5notification.js?{VERHASH}"></script>
- <script type="text/javascript">
- var h5n = new Html5notification();
- if(h5n.issupport()) {
- <!--{if $_G[member][newpm] && $_GET[do] != 'pm'}-->
- h5n.shownotification('pm', '$_G[siteurl]home.php?mod=space&do=pm', '<!--{avatar($_G[uid],small,true)}-->', '{lang newpm_subject}', '{lang newpm_notice_info}');
- <!--{/if}-->
- <!--{if $_G[member][newprompt] && $_GET[do] != 'notice'}-->
- <!--{loop $_G['member']['category_num'] $key $val}-->
- <!--{eval $noticetitle = lang('template', 'notice_'.$key);}-->
- 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}');
- <!--{/loop}-->
- <!--{/if}-->
- }
- </script>
- <!--{/if}-->
复制代码 全部删除即可
另应用中心的插件更新提示在124到127行:- <!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && empty($_G['cookie']['pluginnotice'])}-->
- <div class="focus plugin" id="plugin_notice"></div>
- <script type="text/javascript">pluginNotice();</script>
- <!--{/if}-->
复制代码 |