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 /admin/languages_installed.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 'admin/languages_installed.php')
-rw-r--r-- | admin/languages_installed.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/admin/languages_installed.php b/admin/languages_installed.php index a43883708..2f4c23f30 100644 --- a/admin/languages_installed.php +++ b/admin/languages_installed.php @@ -54,13 +54,9 @@ $default_language = get_default_language(); $tpl_languages = array(); -foreach($languages->fs_languages as $language_id => $language_name) +foreach($languages->fs_languages as $language_id => $language) { - $language = array( - 'id' => $language_id, - 'name' => $language_name, - 'u_action' => $base_url.'&language='.$language_id, - ); + $language['u_action'] = add_url_params($base_url, array('language' => $language_id)); if (in_array($language_id, array_keys($languages->db_languages))) { |