diff options
author | patdenice <patdenice@piwigo.org> | 2011-03-04 10:41:36 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2011-03-04 10:41:36 +0000 |
commit | 2e44cc79de44f10abc217becac00a3b76e3079bb (patch) | |
tree | f596b26b7fd6b57fcc63ba505e689293f3dae03d /install/php5_apache_configuration.php | |
parent | 5b9f42b785d0fe97b8645aaa3eb69e898f6eb7fb (diff) |
feature:2210
Improve language management.
git-svn-id: http://piwigo.org/svn/trunk@9518 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/php5_apache_configuration.php')
-rw-r--r-- | install/php5_apache_configuration.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/php5_apache_configuration.php b/install/php5_apache_configuration.php index f3768be32..8fc7f8021 100644 --- a/install/php5_apache_configuration.php +++ b/install/php5_apache_configuration.php @@ -174,10 +174,10 @@ else <td>'.l10n('Language').'</td> <td> <select name="language" onchange="document.location = \''.$script.'.php?language=\'+this.options[this.selectedIndex].value;">'; - foreach ($languages->fs_languages as $code => $name) + foreach ($languages->fs_languages as $code => $fs_language) { echo ' - <option label="'.$name.'" value="'.$code.'" '.($code == $language ? 'selected="selected"' : '') .'>'.$name.'</option>'; + <option label="'.$fs_language['name'].'" value="'.$code.'" '.($code == $language ? 'selected="selected"' : '') .'>'.$fs_language['name'].'</option>'; } echo ' </select> |