您的位置:首页 > 编程语言 > PHP开发

PHPWind的版权等信息去除的方法

2011-05-06 17:39 615 查看
经常听到站长新手们问:
怎么样把IE标题的powered by phpwind.net去掉?
如何把论坛底部的Total 0.075548(s) query 13, Time now is:03-19 18:57, Gzip disabled Powered by PHPWind v6.0 Certificate Code © 2003-07 PHPWind.com Corporation 这段东西修改?

等这类问题,这里我将给大家做个介绍。
首先要说明的是,这些信息是著作权的标示,请大家最好保留,尊重phpwind的知识产权。
好了,开始正题。
1、“怎么样把IE标题的powered by phpwind.net去掉?”这个信息包含在/template/wind/header.htm文件中,用记事本打开此文件:
“<!--<?php print <<<EOT
--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$db_charset" />
<title>$subject$forumtitle$db_bbsname $db_bbstitle - powered by phpwind.net</title>
<meta name="keywords" content="$db_metakeyword" />
<meta name="description" content="$db_metadescrip" />
<link rel='archives' title='$db_bbsname' href='$db_bbsurl/simple' />
。。。。。。。。。。。。。。。。。。。”
修改其中的划线部分“powered by phpwind.net”即可。
2、“如何把论坛底部的Total 0.075548(s) query 13, Time now is:03-19 18:57, Gzip disabled Powered by PHPWind v6.0 Certificate Code © 2003-07 PHPWind.com Corporation 这段东西修改?”这个信息包含在/template/wind/footer.htm文件中,用记事本打开此文件:
“<!--<?php print <<<EOT
-->
</div>
<div id="bottom"></div><br />
<center class="gray">
$footer_ad<small><span id="windspend">$wind_spend Time now is:$ft_time, $ft_gzip</span> $db_icp<br />
Powered by <a href="http://www.phpwind.net/" target="_blank"><b>PHPWind</b></a> <a href="http://www.phpwind.net/" target="_blank"><b style="color:#FF9900">v$wind_version</b></a> <a href="]Certificatehttp://www.phpwind.com/certificate.php?host=$_SERVER[HTTP_HOST]"><b>Certificate</b></a> Code © 2003-08 <a href="http://www.phpwind.com/" target="_blank"><b>PHPWind.com</b></a> Corporation</small>
。。。。。。。。。。。。。”
修改这段连接和文字即可。

3、修改PHPWIND门户首页版权信息方法:
存放版权信息的页面位置:\mode\area\template\footer.html,通过修改和消除phpwind底部的版权信息!本文出自 “网络设计” 博客,请务必保留此出处http://peishuangcai.blog.51cto.com/1316844/560707
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: