Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user