diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-07-23 17:43:48 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-07-23 17:43:48 +0000 |
commit | ba5d555669c0e3833b6a01842d5f5eb5055742c5 (patch) | |
tree | fa190e8a4f0313506137e7ba5a75fb39ce53ce46 /phpBB/install/index.php | |
parent | 4cf863dcb32ebbbf4dfbf706d9e00891dd65b8ad (diff) | |
download | forums-ba5d555669c0e3833b6a01842d5f5eb5055742c5.tar forums-ba5d555669c0e3833b6a01842d5f5eb5055742c5.tar.gz forums-ba5d555669c0e3833b6a01842d5f5eb5055742c5.tar.bz2 forums-ba5d555669c0e3833b6a01842d5f5eb5055742c5.tar.xz forums-ba5d555669c0e3833b6a01842d5f5eb5055742c5.zip |
Make sure that the language does get passed between all modules
git-svn-id: file:///svn/phpbb/trunk@6201 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/index.php')
-rwxr-xr-x | phpBB/install/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 75819c02a1..53182f444e 100755 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -412,7 +412,7 @@ class module */ function generate_navigation() { - global $lang, $template, $phpEx; + global $lang, $template, $phpEx, $language; if (is_array($this->module_ary)) { @@ -422,7 +422,7 @@ class module $cat = $cat_ary['name']; $l_cat = (!empty($lang['CAT_' . $cat])) ? $lang['CAT_' . $cat] : preg_replace('#_#', ' ', $cat); $cat = strtolower($cat); - $url = $this->module_url . '?mode=' . $cat; + $url = $this->module_url . "?mode=$cat&language=$language"; if ($this->mode == $cat) { @@ -439,7 +439,7 @@ class module { $l_option = (!empty($lang['SUB_' . $option])) ? $lang['SUB_' . $option] : preg_replace('#_#', ' ', $option); $option = strtolower($option); - $url = $this->module_url . '?mode=' . $this->mode . '&sub=' . $option; + $url = $this->module_url . '?mode=' . $this->mode . "&sub=&language=$language"; $template->assign_block_vars('l_block1', array( 'L_TITLE' => $l_option, |