帝国的[!newsnav]标签去掉分割字符两边的空格

admin 2024年1月19日13:58:53帝国cms技巧评论1,204 次浏览阅读模式

内容摘要

帝国的[!--newsnav--]标签去掉分割字符两边的空格

文章正文

系统参数设置里面的栏目导航分割字符">"  即使去掉了,分割字符两边的空格仍然存在。修改方法:

打开e\class\connect.php文件,查找:

$string.="&nbsp;".$public_r[navfh]."&nbsp;<a href=\"".$url."\">".$class_r[$r[$i]][classname]."</a>";

替换为:

$string.="".$public_r[navfh]."<a href=\"".$url."\">".$class_r[$r[$i]][classname]."</a>";

也就是去掉:&nbsp;

代码注释

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2024年1月19日13:58:53
  • 转载请务必保留本文链接:https://anyun.org/a/webtips/ecmstips/2024/0119/17559.html

发表评论

匿名网友 填写信息

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