首页 > 教程 >
织梦dedecms友情链接的a标签显示title的方法
2023-02-25教程围观次
简介织梦dedecms友情链接的a标签显示title的方法,打开/include/taglib/flink.lib.php文件找到$link="url."'target='_blank'>".cn_substr($dbrow->webname,$titlelen)."";修改为$link="url."'title='".$dbrow->webname."'target='_blank'>".cn_su
织梦dedecms友情链接的a标签显示 的方法 ,打开 /include/taglib/f .lib.php 文件
找到
$ = "<a href='".$dbrow->url."' target='_blank'>".cn_substr($dbrow->webname,$ len)."</a> ";
修改为
$ = "<a href='".$dbrow->url."' ='".$dbrow->webname."' target='_blank'>".cn_substr($dbrow->webname,$ len)."</a> ";
找到
$ = "<a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' width='88' height='31' border='0'></a> ";
修改为
$ = "<a href='".$dbrow->url."' ='".$dbrow->webname."' target='_blank'><img src='".$dbrow->logo."' width='88' height='31' border='0'></a> ";
找到
$ = "<a href='".$dbrow->url."' target='_blank'>".cn_substr($dbrow->webname,$ len)."</a> ";
修改为
$ = "<a href='".$dbrow->url."' ='".$dbrow->webname."' target='_blank'>".cn_substr($dbrow->webname,$ len)."</a> ";
找到
$ = "<a href='".$dbrow->url."' target='_blank'><img src='".$dbrow->logo."' width='88' height='31' border='0'></a> ";
修改为
$ = "<a href='".$dbrow->url."' ='".$dbrow->webname."' target='_blank'><img src='".$dbrow->logo."' width='88' height='31' border='0'></a> ";
下载链接:网站源码/小程序源码/网站模板下载