ecshop2.7的版权耍了一下花样,不能按以前的方式清除了,不过只要是源码就有可以清除的办法。其实也很简单,方法如下:
themes\default\library\page_footer.lbi 文件(default是你的模板文件夹),找到下面一行 - {foreach from=$lang.p_y item=pv}{$pv}{/foreach}{$licensed}<br />
改成: - {foreach from=$lang.p_y item=pv}{/foreach}{$licensed}
js/common.js 文件,找到下面一行 - try
- {
- rmd = Math.random();
- rmd_s = Math.floor(rmd * 10);
- if (link_eorr != 1)
- {
- rmd_e = i - rmd_s;
- link_arr[rmd_e].href = String.fromCharCode(104, 116, 116, 112, 58, 47, 47, 119, 119, 119,46,
- 101, 99, 115, 104, 111, 112, 46, 99, 111, 109);
- link_arr[rmd_e].innerHTML = String.fromCharCode(
- 80, 111, 119, 101, 114, 101, 100,38, 110, 98, 115, 112, 59, 98,
- 121,38, 110, 98, 115, 112, 59,60, 115, 116, 114, 111, 110, 103,
- 62, 60,115, 112, 97, 110, 32, 115, 116, 121,108,101, 61, 34, 99,
- 111, 108, 111, 114, 58, 32, 35, 51, 51, 54, 54, 70, 70, 34, 62,
- 69, 67, 83, 104, 111, 112, 60, 47, 115, 112, 97, 110, 62,60, 47,
- 115, 116, 114, 111, 110, 103, 62);
- }
- }
- catch(ex)
- {
- }
把这段删了,就可以了。
至于IE标题里的版权清除,这倒跟原来的一样
includes\lib_main.php
找到 - $page_title = $GLOBALS['_CFG']['shop_title'] . ' - ' . 'Powered by ECShop';
改成 - $page_title = $GLOBALS['_CFG']['shop_title'] ;
OK! |