'servers', 'mode' => 'add' )); ?>
getServerCount() > 0): ?> $server): ?>
# Authentication type DSN
getServerName($id) ?> getValue("Servers/$id/auth_type")) ?> getServerDSN($id)) ?> "> | ">

'simple')); // Display language list $opts = array( 'doc' => $form_display->getDocLink('DefaultLang'), 'wiki' => $form_display->getWikiLink('DefaultLang'), 'values' => array(), 'values_escaped' => true); foreach ($all_languages as $each_lang_key => $each_lang) { if (!file_exists($GLOBALS['lang_path'] . $each_lang[1] . '.inc.php')) { continue; } $lang_name = ucfirst(substr(strrchr($each_lang[0], '|'), 1)); // Include native name if non empty if (!empty($each_lang[3])) { $lang_name = $each_lang[3] . ' - ' . $lang_name; } $opts['values'][$each_lang_key] = $lang_name; } display_input('DefaultLang', $GLOBALS['strSetupDefaultLanguage'], '', 'select', $cf->getValue('DefaultLang'), true, $opts); // Display server list $opts = array( 'doc' => $form_display->getDocLink('ServerDefault'), 'wiki' => $form_display->getWikiLink('ServerDefault'), 'values' => array(), 'values_disabled' => array()); if ($cf->getServerCount() > 0) { $opts['values']['0'] = $GLOBALS['strSetupLetUserChoose']; $opts['values']['-'] = '------------------------------'; if ($cf->getServerCount() == 1) { $opts['values_disabled'][] = '0'; } $opts['values_disabled'][] = '-'; foreach ($_SESSION['ConfigFile']['Servers'] as $id => $server) { $opts['values'][(string)$id] = $cf->getServerName($id) . " [$id]"; } } else { $opts['values']['1'] = $GLOBALS['strSetupOptionNone']; $opts['values_escaped'] = true; } display_input('ServerDefault', $GLOBALS['strSetupDefaultServer'], '', 'select', $cf->getValue('ServerDefault'), true, $opts); // Display EOL list $opts = array( 'values' => array( 'unix' => 'UNIX / Linux (\n)', 'win' => 'Windows (\r\n)'), 'values_escaped' => true); $eol = PMA_ifSetOr($_SESSION['eol'], (PMA_IS_WINDOWS ? 'win' : 'unix')); display_input('eol', $GLOBALS['strSetupEndOfLine'], '', 'select', $eol, true, $opts); ?>     /> /> />