From 854199b59a644a7afb952d9acf122a2f87b178f3 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 6 Jul 2012 22:03:32 +0200 Subject: [PATCH] Adds missing LANGUAGE_ID JavaScript variable in frontend Needed by `WCF.MultipleLanguageInput` --- com.woltlab.wcf/template/headInclude.tpl | 1 + 1 file changed, 1 insertion(+) 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}; //]]> -- 2.20.1