This is from the
Smarty site:
Quote:
Literal tags allow a block of data to be taken literally, not being interpreted by the Smarty engine. This is handy for things like javascript sections, where there maybe curly braces and such things that would confuse the template parser. Anything within {literal}{/literal} tags is not interpreted, but displayed as-is.
|
It's just so the script doesn't get touched until the user's browser gets to it.