http://www.dedejs.com/php
http://429006.com/article/technology/3367.htmhtml
一、去除织梦后台登录页面广告web
登录后台-模块-文件管理器。路径/dede/templets/login.html打开文件。找到如下代码并删除:post
<div class="dede-iframe">
<iframe name="loginad" src="login.phpdopost=showad" frameborde ="0" id="loginad" scrolling="no" marginwidth="0" marginheight="0" width="100%"></iframe>
</div>spa
登录后台-模块-文件管理器。路径/dede/login.php打开文件.找到如下代码并删除:htm
if ($dopost=='showad')
{
include('templets/login_ad.htm');
exit;
}pdo
最后还要删除对应的/dede/templets/login_ad.htm模板文件,这个文件是多余的,官方加的广告链部分。iframe
二、去除织梦后台登录页面版权it
登录后台-模块-文件管理器。路径/dede/templets/login.html打开文件。在login.htm文件中找到底部版权声明部分,修改对应汉字和超连接地址。io
找到标题部分版权<title><?php echo $cfg_softname." ".$cfg_version; ?></title>
把代码修改成以下:
<title><?php echo $cfg_webname; ?> - 后台管理登录</title>
三、去除登录或者操做成功提示跳转页信息“Dede CMS 提示信息!”
登录后台-模块-文件管理器。路径include/common.func.php打开文件,在第 182和215行共两处地方把信息去掉或者修改便可。
四、去除后台登录页面的广告
登录后台-模块-文件管理器。路径/dede/index_body.php打开文件,找到以下代码:
<?php
exit;
} else if ($dopost=='showauth')
{
include('templets/index_body_showauth.htm');
exit;
} else if ($dopost=='showad')
{
include('templets/index_body_showad.htm');
exit;
}
?>
把代码替换为以下代码:
<?php
exit;
}
?>
最后删除模板目录里对应的模板文件“index_body_showad.htm”和“index_body_showauth.htm”。
五、修改后台顶部版权信息及连接
登录后台-模块-文件管理器。路径templets打开文件。找到index_top2.htm和index2.htm两个模板文件。把对应汉字和超连接地址修改或者删除便可。
六、后台右栏细节部分去除版权
登录后台-模块-文件管理器。路径templets打开文件。找到:sys_data.htm、sys_info_mark.htm、sys_info.htm三个模板文件进行修改。
七、去掉左栏“系统帮助”
登录后台-模块-文件管理器。路径/dede/inc/inc_menu.php打开文件。在文件底部找到文字和超连接进行修改或者删除。
八、首页去广告:
\templets\default\header.htm 第12,13行
<div class="banner">{dede:myad name='innerTopBanner1'/}</div>
<div class="banner2">{dede:myad name='innerTopBanner2'/}</div>删掉
\templets\default\index.htm 129行
<div id="leftAD1" style="margin:10px auto">{dede:myad name='indexLeftBanner'/}</div>删掉
\templets\default\index.htm
<div id="rightAD1" style="margin:10px auto">{dede:myad name='indexRightLitpic1'/}</div> 删掉
<div id="rightAD1" style="margin:10px auto">{dede:myad name='indexRightLitpic2'/}</div> 删掉