From e05f8560ae8d076facf04d325cad7856eba9af39 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 1 Oct 2009 11:02:22 +0000 Subject: [PATCH] Added lang to smarty vars by default git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14431 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 62df3fa3a..c088754c0 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -266,6 +266,7 @@ if (isset($_GET['reset'])){ /* show web frontend */ $smarty->assign ("date", date("l, dS F Y H:i:s O")); +$smarty->assign ("lang", preg_replace('/_.*$/', '', $lang)); $smarty->assign ("must", "*"); if (isset($plug)){ $plug= "?plug=$plug"; -- 2.30.2