issue 2445, added a js variable 'xe.current_lang'

git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11269 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-09-17 07:25:00 +00:00
parent b04c7044f1
commit 9245557873

View file

@ -47,6 +47,7 @@ var default_url = "{Context::getDefaultUrl()}";
<block cond="Context::get('_http_port')">var http_port = {Context::get("_http_port")};</block>
<block cond="Context::get('_https_port')">var https_port = {Context::get("_https_port")};</block>
<block cond="Context::get('_use_ssl') && Context::get('_use_ssl') == 'always'">var enforce_ssl = true;</block>
xe.current_lang = "{$lang_type}";
//]]>
</script>
</head>