Re: [SMARTY] javascript in templates : escaping confusion?

From: Date: Tue, 05 Apr 2005 07:26:10 +0000
Subject: Re: [SMARTY] javascript in templates : escaping confusion?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12399@lists.php.net to get a copy of this message
D_C wrote: > I have the following javascript in a smarty template. but smarty reads > the JS curly braces looking for a smarty variable... is there a way to > escape this behaviour? > or a best practice eg put the file in a separate .js include? > Check out literal: http://smarty.php.net/manual/en/language.function.literal.php regards, Robin -- Robin Ericsson http://robin.vill.ha.kuddkrig.nu/

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