From: Matthias Schmidt Date: Fri, 6 Jul 2012 20:03:32 +0000 (+0200) Subject: Adds missing LANGUAGE_ID JavaScript variable in frontend X-Git-Tag: 2.0.0_Beta_1~1016^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=854199b59a644a7afb952d9acf122a2f87b178f3;p=GitHub%2FWoltLab%2FWCF.git Adds missing LANGUAGE_ID JavaScript variable in frontend Needed by `WCF.MultipleLanguageInput` --- diff --git a/com.woltlab.wcf/template/headInclude.tpl b/com.woltlab.wcf/template/headInclude.tpl index 880f6aa082..2891f16094 100644 --- a/com.woltlab.wcf/template/headInclude.tpl +++ b/com.woltlab.wcf/template/headInclude.tpl @@ -8,6 +8,7 @@ var SID_ARG_2ND = '{@SID_ARG_2ND_NOT_ENCODED}'; var RELATIVE_WCF_DIR = '{@$__wcf->getPath()}'; var SECURITY_TOKEN = '{@SECURITY_TOKEN}'; + var LANGUAGE_ID = {@$__wcf->getLanguage()->languageID}; //]]>