Code

Langauage selectbox wasn't updated if language was changed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Apr 2007 08:17:10 +0000 (08:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Apr 2007 08:17:10 +0000 (08:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5968 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep1.inc

index d3525860a3dd75469799776a9e19fcf0b5d2492f..8724548f9b0897ff4b7ce9019335fcb78a90f4c7 100644 (file)
@@ -36,15 +36,15 @@ class setup_step_1 extends setup_step
     $this->s_title      = _("Language selection");
     $this->s_title_long = _("Please choose a language");
     $this->s_info       = _("This step is allows you to define your prefered language.");
-
-    $this->languages = array("de_DE" => _("German"),
-                             "fr_FR" => _("French"),
-                             "en_EN" => _("English"),
-                             "ru_RU" => _("Russian"));
   }
   
   function execute()
   {
+    $this->languages = array("de_DE" => _("German"),
+                             "fr_FR" => _("French"),
+                             "en_EN" => _("English"),
+                             "ru_RU" => _("Russian"));
+
     $smarty = get_smarty();
     $smarty->assign("languages", $this->languages);
     $smarty->assign("lang", $this->lang);