From 318f0ca5b828c960eba0407f2fdfbf354e334d50 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 14 Jun 2003 15:35:24 +0000 Subject: [PATCH] Couple extra strings, bold text git-svn-id: file:///svn/phpbb/trunk@4131 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install.php | 32 +++++++++++++++++++------------- phpBB/language/en/lang_admin.php | 7 ++++--- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/phpBB/install/install.php b/phpBB/install/install.php index d62131e50d..1270ecf2f2 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -302,11 +302,11 @@ if ($stage == 0) { if (!can_load_dll($dll)) { - $dlls_db[$db_name] = '' . $lang['UNAVAILABLE'] . ''; + $dlls_db[$db_name] = '' . $lang['UNAVAILABLE'] . ''; continue; } } - $dlls_db[$db_name] = '' . $lang['AVAILABLE'] . ''; + $dlls_db[$db_name] = '' . $lang['AVAILABLE'] . ''; $passed['db'] = true; } @@ -318,19 +318,23 @@ if ($stage == 0) { if (!can_load_dll($dll)) { - $dlls_other[$dll] = '' . $lang['UNAVAILABLE'] . ''; + $dlls_other[$dll] = '' . $lang['UNAVAILABLE'] . ''; continue; } } - $dlls_other[$dll] = '' . $lang['AVAILABLE'] . ''; + $dlls_other[$dll] = '' . $lang['AVAILABLE'] . ''; } inst_page_header(); ?> +

+

+
+

@@ -347,17 +351,17 @@ if ($stage == 0) if (version_compare($php_version, '4.1.0') < 0) { $passed['db'] = false; - echo '' . $lang['NO'] . ''; + echo '' . $lang['NO'] . ''; } else { // We also give feedback on whether we're running in safe mode - echo '' . $lang['YES']; + echo '' . $lang['YES']; if (@ini_get('safe_mode') || strtolower(@ini_get('safe_mode')) == 'on') { echo ', ' . $lang['PHP_SAFE_MODE']; } - echo ''; + echo ''; } ?> @@ -428,7 +432,7 @@ if ($stage == 0) ?> • : - ' . $lang['AVAILABLE'] . ', ' . $imagemagick . '' : '' . $lang['NO_LOCATION'] . ''; ?> + ' . $lang['AVAILABLE'] . ', ' . $imagemagick . '' : '' . $lang['NO_LOCATION'] . ''; ?> @@ -467,8 +471,8 @@ if ($stage == 0) $passed['files'] = ($exists && $write && $passed['files']) ? true : false; - $exists = ($exists) ? '' . $lang['FILE_FOUND'] . '' : '' . $lang['FILE_NOT_FOUND'] . ''; - $write = ($write) ? ', ' . $lang['FILE_WRITEABLE'] . '' : (($exists) ? ', ' . $lang['FILE_UNWRITEABLE'] . '' : ''); + $exists = ($exists) ? '' . $lang['FILE_FOUND'] . '' : '' . $lang['FILE_NOT_FOUND'] . ''; + $write = ($write) ? ', ' . $lang['FILE_WRITEABLE'] . '' : (($exists) ? ', ' . $lang['FILE_UNWRITEABLE'] . '' : ''); ?> @@ -504,8 +508,8 @@ if ($stage == 0) $write = $exists = false; } - $exists = ($exists) ? '' . $lang['FILE_FOUND'] . '' : '' . $lang['FILE_NOT_FOUND'] . ''; - $write = ($write) ? ', ' . $lang['FILE_WRITEABLE'] . '' : (($exists) ? ', ' . $lang['FILE_UNWRITEABLE'] . '' : ''); + $exists = ($exists) ? '' . $lang['FILE_FOUND'] . '' : '' . $lang['FILE_NOT_FOUND'] . ''; + $write = ($write) ? ', ' . $lang['FILE_WRITEABLE'] . '' : (($exists) ? ', ' . $lang['FILE_UNWRITEABLE'] . '' : ''); ?> @@ -524,13 +528,15 @@ if ($stage == 0) $next_text = ($passed['db'] && $passed['files']) ? $lang['INSTALL_NEXT_PASS'] : $lang['INSTALL_NEXT_FAIL']; + $s_hidden_fields = ($imagemagick) ? '' : ''; + ?>

-
'Welcome to phpBB 2 Installation', - 'INSTALL_ADVICE_EXPLAIN'=> 'Before proceeding with full installation phpBB will carry out some tests on your server and basic install. Please ensure you read through the results thoroughly and do not proceed until all tests are passed.', 'INSTALL_REQUIRED' => 'Required', 'INSTALL_OPTIONAL' => 'Optional', 'UNAVAILABLE' => 'Unavailable', @@ -1072,6 +1071,8 @@ $lang = array_merge($lang, array( 'TESTS_PASSED' => 'Tests passed', 'TESTS_FAILED' => 'Tests failed', + 'INSTALL_ADVICE' => 'Installation Compatibility', + 'INSTALL_ADVICE_EXPLAIN'=> 'Before proceeding with full installation phpBB will carry out some tests on your server and basic install. Please ensure you read through the results thoroughly and do not proceed until all tests are passed.', 'PHP_AND_APPS' => 'PHP and Applications', 'INSTALL_REQUIRED_PHP' => 'You must be running at least PHP 4.1.0 with support for at least one compatible database. If no support modules are shown as available you should contact your hosting provider or review the relevant PHP installation documentation for advice.', 'INSTALL_OPTIONAL_PHP' => 'These modules or applications are optional, you do not need these to use phpBB 2.2. However if you do have them they will will enable greater functionality.', @@ -1107,9 +1108,9 @@ $lang = array_merge($lang, array( 'ADMIN_CONFIG' => 'Admin Configuration', 'DEFAULT_LANG' => 'Default board language', 'ADMIN_USERNAME' => 'Administrator Username', - 'ADMIN_EMAIL_CONFIRM' => 'Admin Email Address [ Confirm ]', + 'ADMIN_EMAIL_CONFIRM' => 'Confirm Admin Email Address', 'ADMIN_PASSWORD' => 'Administrator Password', - 'ADMIN_PASSWORD_CONFIRM'=> 'Administrator Password [ Confirm ]', + 'ADMIN_PASSWORD_CONFIRM'=> 'Confirm Administrator Password', 'DB_CONFIG' => 'Database Configuration', 'DBMS' => 'Database Type', 'DB_HOST' => 'Database Server Hostname or DSN',