织梦dedecms友情链接的a标签显示title的方法

  • A+
所属分类:仿站

织梦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> ";

avatar

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: