6 * @copyright (c) 2005 phpBB Group
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
14 if ( !defined('IN_INSTALL') )
16 // Someone has tried to access the file direct. This is not a good idea, so exit
20 if (!empty($setmodules))
23 'module_type' => 'install',
24 'module_title' => 'OVERVIEW',
25 'module_filename' => substr(basename(__FILE__
), 0, -strlen(PHP_EXT
)-1),
27 'module_subs' => array('INTRO', 'LICENSE', 'SUPPORT'),
28 'module_stages' => '',
34 * Main Tab - Installation
37 class install_main
extends module
39 function install_main(&$p_master)
41 $this->p_master
= &$p_master;
44 function main($mode, $sub)
49 $title = phpbb
::$user->lang
['SUB_INTRO'];
50 $body = phpbb
::$user->lang
['OVERVIEW_BODY'];
54 $title = phpbb
::$user->lang
['GPL'];
55 $body = implode("<br />\n", file('../docs/COPYING'));
59 $title = phpbb
::$user->lang
['SUB_SUPPORT'];
60 $body = phpbb
::$user->lang
['SUPPORT_BODY'];
64 $this->tpl_name
= 'install/main';
65 $this->page_title
= $title;
67 phpbb
::$template->assign_vars(array(
71 'S_LANG_SELECT' => '<select id="language" name="language">' . $this->p_master
->inst_language_select(phpbb
::$user->lang_name
) . '</select>',