Re: Smarty vs. JavaScript

From: Date: Thu, 06 Sep 2001 16:21:32 +0000
Subject: Re: Smarty vs. JavaScript
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1443@lists.php.net to get a copy of this message
We thought about using {leave_everything_between_these_tags_alone} but then opted for {literal} instead. ;-) Wouldn't that be nice to make everything proper english? {If the value of the variable $name does not contain the same contents as the variable $name2:} {Otherwise, do the following:} {/if} {Include the contents of the file named $file in place of this tag.} Alexander Skwar wrote: > > So sprach »Monte Ohrt« am 2001-09-06 um 11:06:45 -0500 : > > Q: Javascript is causing Smarty errors in my templates. > > A: Surround your javascript with {literal}{/literal} tags. See the docs. > > Ah, great! So that would be my {as_is} approach. Thanks a lot! > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) > http://quote.6x.to (english) > Homepage: http://www.digitalprojects.com | > http://www.iso-top.de > iso-top.de - Die günstige Art an Linux Distributionen zu kommen > Uptime: 1 day 1 hour 24 minutes -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.smarty.general (#1443) next »