Discuz! 关闭前台插件更新提示
管理员每次登录论坛,遇有后台没有更新的应用都会有应用更新提醒,关了还会继续弹出,如下图所示
解决办法:
找到文件:source/module/misc/misc_patch.php
查找这段代码:
if($newversion) {
$lang = lang('forum/misc');
echo '<div class="bm"><div class="bm_h cl"><a href="javascript:;" οnclick="$(\'plugin_notice\').style.display=\'none\';setcookie(\'pluginnotice\', 1, 86400)" class="y" title="'.$lang['patch_close'].'">'.$lang['patch_close'].'</a>';
echo '<h2 class="i">'.$lang['plugin_title'].'</h2></div><div class="bm_c">';
echo '<div class="cl bbda pbm">'.lang('forum/misc', 'plugin_memo', array('number' => $newversion)).'</div>';
echo '<div class="ptn cl"><a href="admin.php?action=plugins" class="xi2 y">'.$lang['plugin_link'].' »</a></div>';
echo '</div></div>';
}
删除即可!
页:
[1]