diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-01-16 17:57:28 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-01-16 17:57:28 +0000 |
commit | 5a263f76a936dc6f1dba446b5ec1a1c3f5075a84 (patch) | |
tree | 2c85ca4c18a2a9f2746a938eefd1b4f0d2f32ad5 /phpBB/install/install_main.php | |
parent | bac6a3c0e286318715f1e388144afb2d5b348f53 (diff) | |
download | forums-5a263f76a936dc6f1dba446b5ec1a1c3f5075a84.tar forums-5a263f76a936dc6f1dba446b5ec1a1c3f5075a84.tar.gz forums-5a263f76a936dc6f1dba446b5ec1a1c3f5075a84.tar.bz2 forums-5a263f76a936dc6f1dba446b5ec1a1c3f5075a84.tar.xz forums-5a263f76a936dc6f1dba446b5ec1a1c3f5075a84.zip |
"are you serious?" - "yes, sure" - "wow, install works, you are right" - "i told you"
git-svn-id: file:///svn/phpbb/trunk@9277 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_main.php')
-rw-r--r-- | phpBB/install/install_main.php | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/phpBB/install/install_main.php b/phpBB/install/install_main.php index 565b06b0b3..48cd600249 100644 --- a/phpBB/install/install_main.php +++ b/phpBB/install/install_main.php @@ -43,34 +43,32 @@ class install_main extends module function main($mode, $sub) { - global $lang, $template, $language; - switch ($sub) { case 'intro' : - $title = $lang['SUB_INTRO']; - $body = $lang['OVERVIEW_BODY']; + $title = phpbb::$user->lang['SUB_INTRO']; + $body = phpbb::$user->lang['OVERVIEW_BODY']; break; case 'license' : - $title = $lang['GPL']; - $body = implode("<br/>\n", file('../docs/COPYING')); + $title = phpbb::$user->lang['GPL']; + $body = implode("<br />\n", file('../docs/COPYING')); break; case 'support' : - $title = $lang['SUB_SUPPORT']; - $body = $lang['SUPPORT_BODY']; + $title = phpbb::$user->lang['SUB_SUPPORT']; + $body = phpbb::$user->lang['SUPPORT_BODY']; break; } - $this->tpl_name = 'install_main'; + $this->tpl_name = 'install/main'; $this->page_title = $title; - $template->assign_vars(array( + phpbb::$template->assign_vars(array( 'TITLE' => $title, 'BODY' => $body, - 'S_LANG_SELECT' => '<select id="language" name="language">' . $this->p_master->inst_language_select($language) . '</select>', + 'S_LANG_SELECT' => '<select id="language" name="language">' . $this->p_master->inst_language_select(phpbb::$user->lang_name) . '</select>', )); } } |