From: hickert Date: Thu, 5 Apr 2007 09:12:33 +0000 (+0000) Subject: Changed language settings from checkbox to radio button X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61c1b1e0e839ac6ac4f726001db2845153e1fa72;p=gosa.git Changed language settings from checkbox to radio button git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5992 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep1.inc b/setup/class_setupStep1.inc index 33ed3a2c6..5d6fdbd34 100644 --- a/setup/class_setupStep1.inc +++ b/setup/class_setupStep1.inc @@ -64,11 +64,13 @@ class setup_step_1 extends setup_step $this->lang = $_POST['lang']; $this->is_completed = TRUE; $_SESSION['lang'] = $this->lang; - + if(isset($_POST['force_global_lang'])){ - $this->force_global_lang = TRUE; - }else{ - $this->force_global_lang = FALSE; + if($_POST['force_global_lang'] == 1 ){ + $this->force_global_lang = TRUE; + }else{ + $this->force_global_lang = FALSE; + } } } } diff --git a/setup/setup_step1.tpl b/setup/setup_step1.tpl index 030e2ee5a..11e2ffbd6 100644 --- a/setup/setup_step1.tpl +++ b/setup/setup_step1.tpl @@ -12,23 +12,14 @@ -
-
-
+
{t}GOsa language settings{/t}
-
-
+
+   + {t}GOsa will automatically detect the language to use in the GOsa user interface.{/t}
- {t}To force GOsa to use the selected language as global default language, use the option below.{/t} -
- {t}If you want GOsa to automatically detect the language settings, leave this option clear.{/t} -   -
- {if $force_global_lang} -  {t}Force global language{/t} - {else} -  {t}Force global language{/t} - {/if} +   + {t}Force GOsa to use the above selected language as default language.{/t}