|
比如我现在config.htm有个模块是 - <pw id="头条@首页焦点3" />
- <ul class="topic">
- <list num="2" action="subject" cachetime="60" ifpushonly="0" title="标题_描述" />
- <loop>
- <li>
- <h1><a href="{url}" title="{title}">{title,40}</a></h1>
- <p style="">{descrip,120}...</p>
- </li>
- </loop>
- </ul>
我现在需要descript回车 可以把这段改成 - <pw id="头条@首页焦点3" />
- <ul class="topic">
- <list num="2" action="subject" cachetime="60" ifpushonly="0" title="标题_描述" />
- <loop>
- <li>
- <!--#
- {descrip} = str_replace(array('.',')','<','=','<','>'),array('.',')','<','=','<','>'),{descrip});
- #-->
- <h1><a href="{url}" title="{title}">{title,40}</a></h1>
- <p style="">{descrip,120}...</p>
- </li>
- </loop>
- </ul>
看到没,加个 <!--# {descrip} = str_replace(array('.',')','<','=','<','>'),array('.',')','<','=','<','>'),{descrip}); #-->
|