From: hickert Date: Wed, 4 Apr 2007 08:17:10 +0000 (+0000) Subject: Langauage selectbox wasn't updated if language was changed X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ef3c723b337a27c7f51a82d64450768a5031783c;p=gosa.git Langauage selectbox wasn't updated if language was changed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5968 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep1.inc b/setup/class_setupStep1.inc index d3525860a..8724548f9 100644 --- a/setup/class_setupStep1.inc +++ b/setup/class_setupStep1.inc @@ -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);