织梦dedecms友情链接的a标签显示title的方法
打开 /include/taglib/flink.lib.php 文件找到
$link = "<a href='".$dbrow->url."' target='_blank'>".cn_substr($dbrow->webname,$titlelen)."</a> ";
修改为
$link = "<a href='".$dbrow->url."' title='".$dbrow->webname."' target='_blank'>".cn_substr($dbrow->webname,$titlelen)."</a> ";
找到
$link = "<a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' width='88' height='31' border='0'></a> ";
修改为
$link = "<a href='".$dbrow->url."' title='".$dbrow->webname."' target='_blank'><img src='".$dbrow->logo."' width='88' height='31' border='0'></a> ";
本文网址:https://www.dedexuexi.com/dedejiaocheng/zmjq/588.html
本站部分文章搜集与网络,如有侵权请联系本站,转载请说明出处。