summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: badec36)
raw | patch | inline | side by side (parent: badec36)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 5 Apr 2007 09:12:33 +0000 (09:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 5 Apr 2007 09:12:33 +0000 (09:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5992 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep1.inc | patch | blob | history | |
setup/setup_step1.tpl | patch | blob | history |
index 33ed3a2c68e0c2b20a7fafa69dccbc7fd92b2bd0..5d6fdbd34a1dde0e7729b8d65ca7b6e767fe7409 100644 (file)
$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 030e2ee5a35f0cec53c0d45f5620d7e53f5736bc..11e2ffbd6f3c5b468fd91dd0d91c25866a19da43 100644 (file)
--- a/setup/setup_step1.tpl
+++ b/setup/setup_step1.tpl
</select>
</div>
- <div class='default' style='float:left;width:160px;'>
- <br>
- <br>
+ <div class='default' style='float:left;width:160px;padding-top:25px;'>
{t}GOsa language settings{/t}
</div>
- <div class='default' style='float:left;'>
- <br>
+ <div class='default' style='float:left;padding-top:25px;'>
+ <input type='radio' value='0' name='force_global_lang' {if !$force_global_lang} checked {/if}>
+ {t}GOsa will automatically detect the language to use in the GOsa user interface.{/t}
<br>
- {t}To force GOsa to use the selected language as global default language, use the option below.{/t}
- <br>
- {t}If you want GOsa to automatically detect the language settings, leave this option clear.{/t}
-
- <br>
- {if $force_global_lang}
- <input checked type='checkbox' name='force_global_lang'> {t}Force global language{/t}
- {else}
- <input type='checkbox' name='force_global_lang'> {t}Force global language{/t}
- {/if}
+ <input type='radio' value='1' name='force_global_lang' {if $force_global_lang} checked {/if}>
+ {t}Force GOsa to use the above selected language as default language.{/t}
</div>
</div>