Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser.

This commit is contained in:
Michal Čihař
2004-05-20 16:14:13 +00:00
parent f5371237aa
commit 1aaa89fa54
58 changed files with 256 additions and 254 deletions

View File

@@ -234,7 +234,7 @@ if (top != self) {
echo "\n";
uasort($available_languages, 'PMA_cookie_cmp');
foreach($available_languages AS $id => $tmplang) {
foreach ($available_languages AS $id => $tmplang) {
$lang_name = ucfirst(substr(strstr($tmplang[0], '|'), 1));
if ($lang == $id) {
$selected = ' selected="selected"';
@@ -311,7 +311,7 @@ if (top != self) {
<?php
echo "\n";
// Displays the MySQL servers choice
foreach($cfg['Servers'] AS $key => $val) {
foreach ($cfg['Servers'] AS $key => $val) {
if (!empty($val['host']) || $val['auth_type'] == 'arbitrary') {
echo ' <option value="' . $key . '"';
if (!empty($server) && ($server == $key)) {