"Powered by Discuz!"怎么去掉?刪除DZ版權的方法
來源:程序員人生 發布時間:2014-03-06 15:17:25 閱讀次數:4497次
Discuz!X1出來了,裝上后首頁,廣場,群組,家園所有頁面和帖子的title都在最后帶上了"Powered by Discuz!”的字樣,看著挺不爽的,所以就動了把它弄掉的念頭。只保留了左下角的版權信息.
方法:
1、找到:../templates/模板文件夾(默認default)/common/header.htm,我用的是默認的模板,那就在“default”下.用記事本打開header.htm
2、用記事本打開后,在第五行左右,查找: <title>{if !empty($topic['title'])}$topic['title'] {/if}{if !empty($_G['home_tpl_titles'])}{loop $_G['home_tpl_titles'] $value}$value - {/loop}{/if}{if !empty($space[username])} $space[username]- {/if}{if !empty($navtitle)}$navtitle{/if} $_G['setting']['bbname'] $_G['setting']['seotitle'] - Powered by Discuz!</title>
補充:個人空間 去掉 - Powered by Discuz!
找到:../templates/模板文件夾(默認default)/home/space_header.htm
<title>{if !empty($_G['home_tpl_titles'])}{loop $_G['home_tpl_titles'] $value}$value - {/loop}{/if}{if !empty($navtitle)}$navtitle{/if} {if $space[spacename]} $space[spacename]- {/if}$space[username] - $_G['setting']['bbname'] $_G['setting']['seotitle'] - Powered by Discuz!</title>
去掉后面的“-Powered by Discuz! ”即可。
底部的版權信息大家就不要去掉了,要尊重他人的勞動成果。
生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈