Tags
Ajax ASP asp upload autorun cookies CoolCode datatime DOM domain email firebug firefox focus Get hmailserver IE ie6 IE if语法 if语法 IMAP javascript Jimmy jmail js JScript json JS乘法 js跨域 maimaij MaiMaiJ Live Messenger MSN mssql mssql image mysql password PclZip performance PHP protoytpe SEO Session sql windows WordPress XMLSeptember 2010 M T W T F S S « Aug 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Categories
Tag Archives: smarty
Smarty 定界符 花括号 大括号 函数定义 转义
使用 Smarty 模板的时候,通常都是用 ‘{’ 和 ‘}’ 作为定界符(delimiter)。 有时,我们需要在 html 代码里输出大括号,如果在模板里直接写出来,会被 Smarty 的解析器认为是定界符,然后会报错: Smarty error : syntax error: unrecognized tag 无法识别的标签! 如何解决呢?有 2 种办法: 1:内置变量 ldelim, rdelim ldelim and rdelim are used for displaying the literal delimiter, in our case “{” … Continue reading