DEDE二级栏目title中替换_后去除两边空格的方法

  • A+
所属分类:仿站

DEDE二级栏目title中替换_后去除两边空格的方法

原文是 $this->Fields['title'] = ereg_replace("[<>] "," / ",$this->TypeLink->GetPositionLink(false));

//修改官方"/" 为_


$this->Fields['title'] = ereg_replace(" [<>] ","_",$this->TypeLink->GetPositionLink(false));

avatar

发表评论

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