Re: [SMARTY-DEV] Re: literal and javascript
| From: | messju mohr | Date: | Tue, 16 Mar 2004 15:52:15 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: literal and javascript | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2209@lists.php.net to get a copy of this message | ||
On Tue, Mar 16, 2004 at 06:37:00PM +0300, Konstantin A. Pelepelin wrote:
> >could smarty somehow have variables within the {literal} tags eg in
> >Backticks or some "non used" javascript code ?
> Please don't!
Yes, please don't!
Literal should do what it's name says: pass the contents through
*literally*.
> JavaScript is the reason why I use alternate Smarty delimiters {{ }}.
> Unfortunately, people used to use default { }.
>
> Konstantin A. Pelepelin
> DTF.RU