|
|
|
|
| Smarty Manual |
|---|
| Prev | Chapter 7. Built-in Functions | Next |
literal
Literal tags allow a block of data to be taken literally. This is typically
used around javascript or stylesheet blocks where curly braces would
interfere with the template delimiter syntax. Anything within
{literal}{/literal} tags is not interpreted, but displayed as-is. If you
need template tags embedded in your literal block, consider using {ldelim}{rdelim} to escape the
individual delimiters instead.
Example 7-13. literal tags {literal}
<script type="text/javascript">
<!--
function isblank(field) {
if (field.value == '')
{ return false; }
else
{
document.loginform.submit();
return true;
}
}
// -->
</script>
{/literal} |
|
|
|
|
|
|
|
|
|
Disclaimers: This
document is provided as free service for the benefits of Active-Venture.com's web hosting customers only. |
|
|
|
Quotes: A teacher affects eternity; he can never tell where his influence stops.You say that love is nonsense - I tell you it is no such thing. For weeks and months it is a steady physical pain, an ache about the heart, never leaving one, by night or by day; a long strain on one's nerves like toothache or rheumatism, not intolerable at any one instant, but exhausting by its steady drain on the strength.
|
|
|
|
|