diff --git a/core/install/install.php b/core/install/install.php index 3703821d11..5b5a2fd5a9 100644 --- a/core/install/install.php +++ b/core/install/install.php @@ -50,8 +50,8 @@ $db_create_username = ''; $db_create_password = ''; -//detect the iso country code from the locale - - //TBD $locale = Locale::getDefault(); +//detect the iso country code from the locale + //$locale = Locale::getDefault(); $timezone = 'UTC'; if (is_link('/etc/localtime')) { // Mac OS X (and older Linuxes) @@ -206,7 +206,7 @@ echo " \n"; echo " \n"; echo "
\n"; - echo " \n"; + echo " ".$text['button-next']."\n"; echo "
\n"; echo "\n"; } elseif($install_step == 'detect_config'){ @@ -336,12 +336,6 @@ //$_SESSION['permissions'][]['permission_name'] = 'superadmin'; //$_SESSION['menu'] = ''; -//show errors - ini_set('display_errors', '1'); - //error_reporting (E_ALL); // Report everything - //error_reporting (E_ALL ^ E_NOTICE); // Report everything - error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings - //add the content to the template and then send output $body = ob_get_contents(); //get the output from the buffer ob_end_clean(); //clean the buffer @@ -349,6 +343,7 @@ //set a default template $default_template = 'default'; $_SESSION['domain']['template']['name'] = $default_template; + $_SESSION['theme']['menu_brand_type']['text'] = "text"; //set the default template path $template_path = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/themes/'.$default_template.'/template.php'; @@ -369,7 +364,6 @@ eval('?>' . $template_content . '\n"; echo " \n"; - echo "
"; + echo " "; foreach($_SESSION['app']['languages'] as $lang_code){ - echo "
"; - echo "
"; + echo " "; } - echo " "; + echo "
\n"; + echo " "; - echo " $lang_code ".$text["language-$lang_code"]; - echo " \n"; - echo " "; + + echo " $lang_code ".$text["language-$lang_code"]; + echo "
"; echo "
\n"; echo " ".$text['description-select_language']."\n"; echo " \n";