去除 smalltext 简介 在列表页 和 搜索列表页 多余的HTML代码
找到 $ylisttemp=$listtemp;
在上面加 $nottobrf=',smalltext,';//haoyl 修改标记W WW.SFK8 .COM认为此文章对《去除 smalltext
找到 $ylisttemp=$listtemp; W WW.SFK8 .COM认为此文章对《去除 smalltext 简介 在列表页 和 搜索列表页 多余的html代码》说的很在理,sfk8网为你提供最佳的帝国cms模板,网站功能开发。
在上面加 $nottobrf=',smalltext,';//hAOyl 修改标记
找
if($spf==0&&!strstr($emod_r[$mid]['editorf'],','.$f.','))
{
if(strstr($emod_r[$mid]['tobrf'],','.$f.','))//加br
{
$value=nl2br($value);
}
if(!strstr($emod_r[$mid]['dohtmlf'],','.$f.','))//去除html
{
$value=RepFieldtextNbsp(htmlspecialchARs($value));
}
}
换
if(!strstr($nottobrf,','.$f.','))//haoyl 修改标记
{
if(!strstr($field['tobrf'],','.$f.','))//加br
{
$value=nl2br($value);
}
if(strstr($field['dohtmlf'],','.$f.','))//去除html
{
$value=htmlspecialchars($value);
}
}