Z-Blog 使用Tmt主题时修改底部版权的方法 |
1,修改手机用户访问时,默认的网址: 到主题目录打开文件 /home/wwwroot/jb51.net/public_html/zb_users/theme/Tmt/compile/commentpost.php 找到第19号修改placeholder=""部分为你的网址,参考如下 复制代码 代码如下:<input type="text" name="inpHomePage" id="inpHomePage" class="replytext text" value="<?php echo $user->HomePage; ?>" size="28" tabindex="3" placeholder="www.qswcctv.com" pattern="((http|https)://|)+([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" /> 2,修改页面底部版权信息 /home/wwwroot/jb51.net/public_html/zb_users/theme/Tmt/compile/footer.php 复制代码 代码如下:<div id="footer" class="container"> <div class="copyright"> <?php echo $copyright; ?> </div> <div class="themeauthor"> Powered by <a href="http://www.jb51.net/" target="_blank" rel="license"><strong>jb51.net</strong></a> Theme by <a href="http://www.qswcctv.com/" target="_blank" rel="license"><strong>IP CAM</strong></a> </div> </div> <div id="backtop" title="返回顶部" style="bottom: 1px;" onclick="pageScroll()"></div> </div> </div> <?php echo $footer; ?></body> </html> 至此为止.刷新一下页面你会发现全部已经是你希望的结果了. |
热门文章 |