ecshop去掉版权,去掉升级,去掉提醒完整版
1、前台 title的 Powered by ecshop
includes/lib_main.php,搜索 Powered by ECShop,删掉或者修改成自己的
2、前台 底部的 Powered by Ecshop v 2.7.3
js/common.js,搜索 onload = function(),删掉整个方法
如果使用的是官方默认模板,还需要打开 library/page_footer.lbi,搜索 {foreach from=$lang.p_y item=pv}{$pv}{/foreach}{$licensed},删除
3、前台 Generator
includes/cls_template.php,搜索 Generator
3、后台 登陆时的ecshop图标
admin/images/ecshop_logo.gif
admin/images/login.png
4、后台 右上角的“关于ECSHOP”
admin/templates/top.htm,搜索 {$lang.about}
5、后台 中间的ECSHOP-管理中心 和底部 版权所有
language/zh_cn/admin/common.php,搜索
[php]
$_LANG['cp_home'] = 'ECSHOP 管理中心';
$_LANG['copyright'] = '版权所有 © 2005-2012 上海商派网络科技有限公司,并保留所有权利。';
[/php]
6、后台 起始页中的系统信息中的 ECSHOP相关信息
includescls_ecshop.php,里面的
[php]
define('APPNAME', 'ECSHOP');
define('VERSION', 'v2.7.3');
define('RELEASE', '20121106');
[/php]
7、后台 去掉更新提醒 install删除提醒 demo删除提醒
adminindex.php,查找
[php]
elseif ($_REQUEST['act'] == 'main_api')
{
...
}
[/php]
整个去掉
[php]
if (file_exists('../install'))
{
$warning[] = $_LANG['remove_install'];
}
if (file_exists('../upgrade'))
{
$warning[] = $_LANG['remove_upgrade'];
}
if (file_exists('../demo'))
{
$warning[] = $_LANG['remove_demo'];
}
[/php]
8、后台 云提醒
admin/templates/start.htm
[html]
<ul id="cloud_list" style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
</ul>
<script type="Text/Javascript" language="JavaScript">
<!--
Ajax.call('cloud.php?is_ajax=1&act=cloud_remind','', cloud_api, 'GET', 'JSON');
function cloud_api(result)
{
//alert(result.content);
if(result.content=='0')
{
document.getElementById("cloud_list").style.display ='none';
}
else
{
document.getElementById("cloud_list").innerHTML =result.content;
}
}
function cloud_close(id)
{
Ajax.call('cloud.php?is_ajax=1&act=close_remind&remind_id='+id,'', cloud_api, 'GET', 'JSON');
}
//-->
</script>
[/html]
整个删除
顺便把
[html]
<ul style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
<!-- <script type="text/javascript" src="http://bbs.ecshop.com/notice.php?v=1&n=8&f=ul"></script>-->
</ul>
[/html]
也一起删除
9,后台 与官方通讯
admin/teamplates/index.htm
[html]
<frameset rows="0, 0" framespacing="0" border="0">
<frame src="http://api.ecshop.com/record.php?mod=login&url={$shop_url}" id="hidd-frame" name="hidd-frame" frameborder="no" scrolling="no">
</frameset>
[/html]
admin/shop_config.php
[php]
$spt = '<script type="text/javascript" src="http://api.ecshop.com/record.php?';
$spt .= "url=" .urlencode($ecs->url());
$spt .= "&shop_name=" .urlencode($_CFG['shop_name']);
$spt .= "&shop_title=".urlencode($_CFG['shop_title']);
$spt .= "&shop_desc=" .urlencode($_CFG['shop_desc']);
$spt .= "&shop_keywords=" .urlencode($_CFG['shop_keywords']);
$spt .= "&country=".urlencode($shop_country)."&province=".urlencode($shop_province)."&city=".urlencode($shop_city);
$spt .= "&address=" .urlencode($_CFG['shop_address']);
$spt .= "&qq=$_CFG[qq]&ww=$_CFG[ww]&ym=$_CFG[ym]&msn=$_CFG[msn]";
$spt .= "&email=$_CFG[service_email]&phone=$_CFG[service_phone]&icp=".urlencode($_CFG['icp_number']);
$spt .= "&version=".VERSION."&language=$_CFG[lang]&php_ver=" .PHP_VERSION. "&mysql_ver=" .$db->version();
$spt .= "&charset=".EC_CHARSET;
$spt .= '"></script>';
[/php]
在下面加入一句
[php]
$spt = '';
[/php]
admin/templates/top.htm 查找,删除
[html]
onload = function()
{
Ajax.call('index.php?is_ajax=1&act=license','', start_sendmail_Response, 'GET', 'JSON');
}
[/html]
admin/templates/menu.htm 查找,删除
[html]
<script language="JavaScript" src="http://api.ecshop.com/menu_ext.php?charset={$charset}&lang={$help_lang}"></script>
[/html]
如果不会修改,可提供有偿修改,联系博主
作者:z1988
链接:https://www.z1988.com/262.html
文章版权归作者所有,未经允许请勿转载。