Re: Re: literal and javascript

pete M <[email protected]>
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
Does IT - not my side ????? this is all I want !!!!

 > For one, I'd expect this to work as it does right now (taken from the 
Smarty
 > docs):
 >     {literal}
 >     SYNTAX EXAMPLES:
 >     {func var="test `$foo.bar` test"} <-- sees $foo.bar
 >     {/literal}

Pete M
The biggest smarty fan in wales (maybe)


Mark Rogers wrote:

> Pete writes:
> 
>>I think some have missed my point.
>>The idea is to use backticks as delimiters within javascript code
>>enclosed between {literal} tags
> 
> 
> I agree that dropping in and out of {literal} is a pain, although I also
> agree with others that {literal} should do what it says, so I'd probably
> agree with {literal backticks=1} or similar, but not modifying the default
> {literal} behaviour.
> 
> For one, I'd expect this to work as it does right now (taken from the Smarty
> docs):
>     {literal}
>     SYNTAX EXAMPLES:
>     {func var="test `$foo.bar` test"} <-- sees $foo.bar
>     {/literal}
> 
> I'd be interested in your views on my suggested {script}{/script} block
> handling, in the "Intelligent JavaScript handling" thread, as I think this
> would do what you need?
> 

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.