diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-04 18:13:59 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-04 18:13:59 +0000 |
| commit | bf8ac19eaa8d74f9dfd6d597190f5664e7339382 (patch) | |
| tree | c3ad876736748e36cb9176a0248cc43badfc1d9a /phpBB/install/install_main.php | |
| parent | 3215bbf88864139dc8c7e9ac5773b1ea8a7e96c1 (diff) | |
| download | forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.tar forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.tar.gz forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.tar.bz2 forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.tar.xz forums-bf8ac19eaa8d74f9dfd6d597190f5664e7339382.zip | |
Move trunk/phpBB to old_trunk/phpBB
git-svn-id: file:///svn/phpbb/trunk@10210 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_main.php')
| -rw-r--r-- | phpBB/install/install_main.php | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/phpBB/install/install_main.php b/phpBB/install/install_main.php deleted file mode 100644 index 48cd600249..0000000000 --- a/phpBB/install/install_main.php +++ /dev/null @@ -1,76 +0,0 @@ -<?php -/** -* -* @package install -* @version $Id$ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License -* -*/ - -/** -*/ - -if ( !defined('IN_INSTALL') ) -{ - // Someone has tried to access the file direct. This is not a good idea, so exit - exit; -} - -if (!empty($setmodules)) -{ - $module[] = array( - 'module_type' => 'install', - 'module_title' => 'OVERVIEW', - 'module_filename' => substr(basename(__FILE__), 0, -strlen(PHP_EXT)-1), - 'module_order' => 0, - 'module_subs' => array('INTRO', 'LICENSE', 'SUPPORT'), - 'module_stages' => '', - 'module_reqs' => '' - ); -} - -/** -* Main Tab - Installation -* @package install -*/ -class install_main extends module -{ - function install_main(&$p_master) - { - $this->p_master = &$p_master; - } - - function main($mode, $sub) - { - switch ($sub) - { - case 'intro' : - $title = phpbb::$user->lang['SUB_INTRO']; - $body = phpbb::$user->lang['OVERVIEW_BODY']; - break; - - case 'license' : - $title = phpbb::$user->lang['GPL']; - $body = implode("<br />\n", file('../docs/COPYING')); - break; - - case 'support' : - $title = phpbb::$user->lang['SUB_SUPPORT']; - $body = phpbb::$user->lang['SUPPORT_BODY']; - break; - } - - $this->tpl_name = 'install/main'; - $this->page_title = $title; - - phpbb::$template->assign_vars(array( - 'TITLE' => $title, - 'BODY' => $body, - - 'S_LANG_SELECT' => '<select id="language" name="language">' . $this->p_master->inst_language_select(phpbb::$user->lang_name) . '</select>', - )); - } -} - -?>
\ No newline at end of file |
