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