aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-07-23 17:43:48 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-07-23 17:43:48 +0000
commitba5d555669c0e3833b6a01842d5f5eb5055742c5 (patch)
treefa190e8a4f0313506137e7ba5a75fb39ce53ce46 /phpBB/install/index.php
parent4cf863dcb32ebbbf4dfbf706d9e00891dd65b8ad (diff)
downloadforums-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-xphpBB/install/index.php6
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&amp;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 . '&amp;sub=' . $option;
+ $url = $this->module_url . '?mode=' . $this->mode . "&amp;sub=&amp;language=$language";
$template->assign_block_vars('l_block1', array(
'L_TITLE' => $l_option,