From 51d3a66003e663af6ade96f65fce6460a7d54dff Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Thu, 5 Aug 2010 11:58:47 +0000 Subject: [PATCH] Cleanup. --- install/index.php | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/install/index.php b/install/index.php index 7fd3831e..93a5a6f6 100644 --- a/install/index.php +++ b/install/index.php @@ -94,19 +94,6 @@ function install_connect_db() { return true; } -function coa_type_list_row($label, $name, $selected=null) -{ - - $coa_types = array( - 0 => _('New company with Standard American COA (4digit)'), - _('Demo based on Standard American COA (4digit)'), - _('Any COA selected from FA repository (inet connection required)') - ); - echo "$label\n"; - echo array_selector($name, $selected, $coa_types); - echo ""; -} - function do_install() { global $path_to_root, $db_connections, $def_coy, $installed_extensions; @@ -165,7 +152,7 @@ if (!isset($_SESSION['inst_set'])) // default settings ); if (!@$_POST['Tests']) - $_POST['Page'] = 1; + $_POST['Page'] = 1; // set to start page if (isset($_POST['back']) && (@$_POST['Page']>1)) { $_POST['Page']--; @@ -248,9 +235,9 @@ elseif (isset($_POST['set_admin'])) { start_form(); switch(@$_POST['Page']) { default: - include ('../install.html'); - submit_center('continue', _('Continue >>')); - break; +// include ('../install.html'); +// submit_center('continue', _('Continue >>')); +// break; case '1': subpage_title(_('System Diagnostics')); $_POST['Tests'] = display_system_tests(true); -- 2.30.2