From: <rc...@us...> - 2014-03-29 19:52:42
|
Revision: 6651 http://sourceforge.net/p/web-erp/reponame/6651 Author: rchacon Date: 2014-03-29 19:52:39 +0000 (Sat, 29 Mar 2014) Log Message: ----------- Fixing spacing and variable name. Modified Paths: -------------- trunk/install/index.php Modified: trunk/install/index.php =================================================================== --- trunk/install/index.php 2014-03-29 12:52:19 UTC (rev 6650) +++ trunk/install/index.php 2014-03-29 19:52:39 UTC (rev 6651) @@ -774,12 +774,12 @@ if(substr($DefaultLanguage,0,2) !='en'){//ensure that the bilingual only display when the language is not english foreach($LanguagesArray as $Key => $Language1){//since we only use the first 2 characters to separate the language, there are some //chance that different locale but use same first 2 letters. - if(!isset($SelectedKey) and substr($DefaultLanugage,0,2) == substr($Key,0,2)){ + if(!isset($SelectedKey) and substr($DefaultLanguage,0,2) == substr($Key,0,2)){ $SelectedKey = $Key; - echo '<option value="'.$Key.'" selected="selected">' . $Language1['LanguageName'].$Language1['WindowsLocale'] . '</option>'; + echo '<option value="'.$Key.'" selected="selected">' . $Language1['LanguageName'].' - '.$Language1['WindowsLocale'] . '</option>'; } if(!isset($SelectedKey) or (isset($SelectedKey) and $Key != $SelectedKey)){ - echo '<option value="'.$Key.'" >' . $Language1['LanguageName'].$Language1['WindowsLocale'] . '</option>'; + echo '<option value="'.$Key.'" >' . $Language1['LanguageName'].' - '.$Language1['WindowsLocale'] . '</option>'; } } }else{ |