Add __literal parameter for lang template plugin
authorMatthias Schmidt <gravatronics@live.com>
Tue, 19 Aug 2014 16:52:23 +0000 (18:52 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 19 Aug 2014 16:52:23 +0000 (18:52 +0200)
commit689960aa647f0e6d9aea8ef2b8d065651166bcf6
treec155e51c2f96f08b14b3baf737ed76f0fc7b96ab
parent09f88236d0bdf52ffcafb6916a9b50ccf7c4a61e
Add __literal parameter for lang template plugin

{lang __literal=true}wcf.foo.bar{/lang} won't parse the value of the wcf.foo.bar so that the variables are preserved to be parsed by JavaScript.
com.woltlab.wcf/templates/headIncludeJavaScript.tpl
wcfsetup/install/files/acp/templates/header.tpl
wcfsetup/install/files/lib/system/template/plugin/LangCompilerTemplatePlugin.class.php
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml