怎么去掉ECSHOP的Powered by ECShop版权信息

1.去掉标题上Powered by ECShop的字样如下:

在includes/lib_main.php找到lib_main.php文件,打开后,找到136行,将$page_title = $GLOBALS[’_CFG’][’shop_title’] . ‘ - ‘ . ‘Powered by ECShop’;改为$page_title = $GLOBALS[’_CFG’][’shop_title’];当然, . ‘ - ‘ . ‘Powered by ECShop’也可以修改为自己喜欢的文字.

2.修改底部"Powered by Ecshop 2.x.x"

<wbr></wbr><wbr></wbr><wbr></wbr>ecshop根目录/themes/当前模板名/library/page_footer.lbi, 找到如下代码:

<wbr></wbr><wbr></wbr><wbr></wbr><wbr></wbr><wbr></wbr>{insert name='query_info'}<br />
<wbr></wbr><wbr></wbr><wbr></wbr><wbr></wbr><wbr></wbr><a href="http://www.ecshop.com" target="_blank" style="font-size:10px">Powered by <strong><span style="color: #3366FF">ECShop</span> <span style="color: #FF9966">{$ecs_version}</span></strong></a><br />

将颜色标记部分替换为自己内容.其中蓝色部分为版本信息。

3.取出底部ecshop的logo

在ecshop根目录/themes/当前模板名/library/page_footer.lbi, 找到如下代码: <img src="../images/footer-logo.gif" alt="" id="footer-logo" />.将其删掉即可.


注意,修改上传后,标题栏需重新加载模版才可以看到效果

你可能感兴趣的:(PHP)