建站之星产品帮助

查看: 2441|回复: 0
打印 上一主题 下一主题

顶部加入“加入收藏”和“设为首页” --x

[复制链接]
跳转到指定楼层
1#
发表于 2013-5-13 15:53:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
文件们置:template/模板名称/layout/layout.php
  1.        <!-- 站点语言模块Start -->
  2.        <div class="switch_langbar"><?php include_once(P_INC.'/language_switch.php');?></div>
  3.        <!-- 站点语言模块End -->
复制代码
改为
  1.        <!-- 站点语言模块Start -->
  2.        <div class="switch_langbar">
  3.        <a href='#' onclick='window.external.AddFavorite("http://www.yourname.com/","你的站点名称")'>
  4. 加入收藏</a>
  5.                 <a href="http://www.yourname.com/" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.yourname.com/')">设为首页</a>
  6.        <?php include_once(P_INC.'/language_switch.php');?></div>
  7.        <!-- 站点语言模块End -->
复制代码

上海美橙科技信息发展有限公司 ( 沪ICP备11006888号-4 )

快速回复 返回顶部 返回列表