完全去ECSHOP版权内容

ECSHOP前台显示的页面的版权在下面几个地方修改:(本人不支持你去掉别人的版权,只做研究之用)

1.meta标签中的Generator:

includes目录内cls_template.php,里面有一段

/* 在头部加入版本信息 */
            $source = preg_replace(‘/<head>/i’, “<head>rn<meta name=”Generator” content=”” . APPNAME .’ ‘ . VERSION . “” />”,  $source);

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

使用文本编辑器打开文件: ecshop根目录/themes/当前模板名/library/page_footer.lbi, 找到如下代码:

      {insert name=’query_info’}<br />
      <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.标题中的“Powered by”

includes目录内lib_main.php,里面有一段

$page_title = $GLOBALS[‘_CFG’][‘shop_title’] . ‘ – ‘ . ‘Powered by ECShop’;

4.在languages/zh_cn/common.php文件修改,找到:

$_LANG[‘copyright’] = “© 2005-%s %s 版权所有,并保留所有权利。”;

注意:记住要按照以前的代码格式修改.


( ! ) Warning: Missing argument 1 for cwppos_show_review(), called in /data/www/enjoyphp/wp-content/themes/flat/content-single.php on line 29 and defined in /data/www/enjoyphp/wp-content/plugins/wp-product-review/includes/legacy.php on line 18
Call Stack
#TimeMemoryFunctionLocation
10.0001355192{main}( ).../index.php:0
20.0001355480require( '/data/www/enjoyphp/wp-blog-header.php' ).../index.php:17
30.177810163520require_once( '/data/www/enjoyphp/wp-includes/template-loader.php' ).../wp-blog-header.php:19
40.179110234664include( '/data/www/enjoyphp/wp-content/themes/flat/single.php' ).../template-loader.php:74
50.263010787128get_template_part( ).../single.php:5
60.263110787648locate_template( ).../general-template.php:167
70.263110787744load_template( ).../template.php:643
80.263110788128require( '/data/www/enjoyphp/wp-content/themes/flat/content-single.php' ).../template.php:686
90.269310774624cwppos_show_review( ).../content-single.php:29

1 评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注