Home > Backend Development > PHP Tutorial > 这是smarty模板的语法吗,该如何解决

这是smarty模板的语法吗,该如何解决

WBOY
Release: 2016-06-13 12:21:44
Original
850 people have browsed it

这是smarty模板的语法吗
下面的代码

 
------解决思路----------------------
应该不是,smarty 的嵌入块和模板集成都不是这么写的
但也不排除是,因为我根本就不用 smarty

不管是什么模板引擎,你这个就是一个嵌入块
TemplateBeginEditable
TemplateEndEditable
固定格式,很容易用正则识别替换

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template