diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-06-06 16:08:25 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-06-06 16:08:25 +0000 |
commit | 8f692db40798eb3cef62eb22b626c4afa683cb1a (patch) | |
tree | 25d22251c6d76094b9a0b7a13779f547cf54f2cc /phpBB/includes | |
parent | aa21e76d692778816c1b684907d4279f513b087f (diff) | |
download | forums-8f692db40798eb3cef62eb22b626c4afa683cb1a.tar forums-8f692db40798eb3cef62eb22b626c4afa683cb1a.tar.gz forums-8f692db40798eb3cef62eb22b626c4afa683cb1a.tar.bz2 forums-8f692db40798eb3cef62eb22b626c4afa683cb1a.tar.xz forums-8f692db40798eb3cef62eb22b626c4afa683cb1a.zip |
#11969
git-svn-id: file:///svn/phpbb/trunk@7718 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions_install.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php index fa85b89d48..bf82802a29 100644 --- a/phpBB/includes/functions_install.php +++ b/phpBB/includes/functions_install.php @@ -29,6 +29,7 @@ function can_load_dll($dll) */ function get_available_dbms($dbms = false, $return_unavailable = false, $only_20x_options = false) { + global $lang; $available_dbms = array( 'firebird' => array( 'LABEL' => 'FireBird', @@ -172,12 +173,14 @@ function get_available_dbms($dbms = false, $return_unavailable = false, $only_20 */ function dbms_select($default = '', $only_20x_options = false) { + global $lang; + $available_dbms = get_available_dbms(false, false, $only_20x_options); $dbms_options = ''; foreach ($available_dbms as $dbms_name => $details) { $selected = ($dbms_name == $default) ? ' selected="selected"' : ''; - $dbms_options .= '<option value="' . $dbms_name . '"' . $selected .'>' . $details['LABEL'] . '</option>'; + $dbms_options .= '<option value="' . $dbms_name . '"' . $selected .'>' . $lang['DLL_' . strtoupper($dbms_name)] . '</option>'; } return $dbms_options; } |