Litotex/Litotex-0.8 — Issue #24: Language vars for JS
Author: LinuxDoku
Created: 2012-01-14 14:47:06+00:00
State: open
Labels: Feature, Whishlist

On the client side we need also language vars. But with smarty you can not place Smarty vars in JavsScript blocks. E.g.
``````
Because you have to put {literal} tags around.

My idea was creating a pseudo html tag which will be placed at the and of an HTML template and javascript parses and stores them in an object.
``````

What do you think?