Smarty built-in functions {loteral}, {ldelim} and {rdelim} usage examples, smartyoteral_PHP tutorial

WBOY
Release: 2016-07-13 10:09:16
Original
1085 people have browsed it

Usage examples of smarty built-in functions {loteral}, {ldelim} and {rdelim}, smartyloteral

The examples in this article describe the usage of smarty built-in functions {loteral}, {ldelim} and {rdelim}. Share it with everyone for your reference. The details are as follows:

{ldelim} and {rdelim} are the left and right delimiters of the smarty logo respectively. The following javascript code can be used like this.

The template file temp.htm is as follows:

Copy code The code is as follows:

aaaa

{literal}content area{/liteal}, you can output the "content area" as it is, and smarty will not parse it. For example, the above code can be changed to:
Copy code The code is as follows:

aaaa

I hope this article will be helpful to everyone’s PHP programming design.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/946757.htmlTechArticlesmarty built-in functions {loteral}, {ldelim} and {rdelim} usage examples, smartyloteral This article describes the use of smarty built-in functions Usage of functions {loteral}, {ldelim} and {rdelim}. Share it with everyone for your reference...
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