Adds missing LANGUAGE_ID JavaScript variable in frontend
authorMatthias Schmidt <gravatronics@live.com>
Fri, 6 Jul 2012 20:03:32 +0000 (22:03 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 6 Jul 2012 20:03:32 +0000 (22:03 +0200)
Needed by `WCF.MultipleLanguageInput`

com.woltlab.wcf/template/headInclude.tpl

index 880f6aa0820e272748cf82ba0f339f36c0810120..2891f160948a57d87325673d71ef62cbab703b96 100644 (file)
@@ -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};
        //]]>
 </script>
 <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js"></script>