打开 source\function\function_admincp.php
删除:
- if($_G['adminid'] == 1 && $_GET['action'] == 'index') {
- $release = DISCUZ_RELEASE;
- $newsurl = 'ht'.'tp:/'.'/cus'.'tome'.'r.disc'.'uz.n'.'et/n'.'ews'.'.p'.'hp?'.siteinformation();
- echo <<<EOT
- <script type="text/javascript">
- var newhtml = '';
- newhtml += '<table class="tb tb2"><tr><th class="partition edited">您当前使用的 Discuz! 程序版本有重要更新,请参照以下提示进行及时升级</th></tr>';
- newhtml += '<tr><td class="tipsblock"><a href="http://faq.comsenz.com/checkversion.php?product=Discuz&version={$version}&release={$release}&charset={$charset}" target="_blank"><img src="{$newsurl}" onload="shownews()" /></a></td></tr></table>';
- \$('boardnews').style.display = 'none';
- \$('boardnews').innerHTML = newhtml;
- function shownews() {
- \$('boardnews').style.display = '';
- }
- </script>
- EOT;
- }
复制代码
source/admincp/admincp_index.php
删除:
- echo '<div id="boardnews"></div>';
- echo '<style>.rssbook{margin:8px 0 0 25px;}</style>';
- echo '<script >var nId = "4d1e7b6dd9c5070d1a82aeb8be5e72fc64db42701a1bc4d4",nWidth="400px",sColor="light",sText="'.cplang('subscribe_comsenz_email').'" ;</script><script src="http://list.qq.com/zh_CN/htmledition/js/qf/page/qfcode.js" charset="gb18030"></script>';
复制代码
|