5
* @version $Id: install_main.php,v 1.13 2007/10/04 11:33:33 acydburn Exp $
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($phpEx)-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)
46
global $lang, $template, $language;
51
$title = $lang['SUB_INTRO'];
52
$body = $lang['OVERVIEW_BODY'];
56
$title = $lang['GPL'];
57
$body = implode("<br/>\n", file('../docs/COPYING'));
61
$title = $lang['SUB_SUPPORT'];
62
$body = $lang['SUPPORT_BODY'];
66
$this->tpl_name = 'install_main';
67
$this->page_title = $title;
69
$template->assign_vars(array(
73
'S_LANG_SELECT' => '<select id="language" name="language">' . $this->p_master->inst_language_select($language) . '</select>',
b'\\ No newline at end of file'