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:
{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:
I hope this article will be helpful to everyone’s PHP programming design.
http://www.bkjia.com/PHPjc/946757.htmlwww.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...