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

@@ -28,7 +28,7 @@ $types = PMA_getAvailableMIMEtypes();
<h2><?php echo $strMIME_available_mime; ?></h2>
<?php
foreach($types['mimetype'] AS $key => $mimetype) {
foreach ($types['mimetype'] AS $key => $mimetype) {
if (isset($types['empty_mimetype'][$mimetype])) {
echo '<i>' . $mimetype . '</i><br />';
@@ -54,7 +54,7 @@ foreach($types['mimetype'] AS $key => $mimetype) {
<?php
@reset($types);
$i = 0;
foreach($types['transformation'] AS $key => $transform) {
foreach ($types['transformation'] AS $key => $transform) {
$i++;
$func = strtolower(preg_replace('@(\.inc\.php3?)$@i', '', $types['transformation_file'][$key]));
$desc = 'strTransformation_' . $func;