diff --git a/ChangeLog b/ChangeLog index 210f59016..89c784ba5 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-05-20 Michal Čihař + * many files: Little code reorganistaion (RFE #957308), removed some + remaining php3 compatibility code in SQL parser. + 2004-05-20 Marc Delisle * pdf_schema.php: set contents page (first page)'s orientation to the same asked for the data dictionary diff --git a/browse_foreigners.php b/browse_foreigners.php index f8845aa8c..d384be9d2 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -153,7 +153,7 @@ if (isset($disp_row) && is_array($disp_row)) { $mysql_key_relrow = array(); $mysql_val_relrow = array(); $count = 0; - foreach($disp_row AS $disp_row_key => $relrow) { + foreach ($disp_row AS $disp_row_key => $relrow) { if ($foreign_display != FALSE) { $val = $relrow[$foreign_display]; } else { diff --git a/css/phpmyadmin.css.php b/css/phpmyadmin.css.php index e7c11fbf3..7bb2dd21c 100644 --- a/css/phpmyadmin.css.php +++ b/css/phpmyadmin.css.php @@ -224,7 +224,7 @@ button.mult_submit { div.warning { border: 1px solid red; - + background-image: url(../images/s_warn.png); background-repeat: no-repeat; background-position: 10px 50%; diff --git a/db_details.php b/db_details.php index 9a22ef98f..3ba3811ee 100644 --- a/db_details.php +++ b/db_details.php @@ -183,7 +183,7 @@ if (!empty($cfg['UploadDir'])) { // showing UploadDir Error at the end of all option for SQL-Queries $strErrorUploadDir = ' ' . "\n"; $strErrorUploadDir.= ' '; - if($cfg['PropertiesIconic']){ + if ($cfg['PropertiesIconic']){ $strErrorUploadDir.= ''; } $strErrorUploadDir.= ' ' . $strError . '' . "\n"; @@ -229,13 +229,13 @@ if ($cfg['Bookmark']['db'] && $cfg['Bookmark']['table']) { echo ' ' . $strBookmarkQuery . ': ' . "\n"; echo ' ' . "\n"; echo ' '; echo ' ' . $strVar . ' '; - if($cfg['ReplaceHelpImg']){ + if ($cfg['ReplaceHelpImg']){ echo '' . '' . $strDocu . ''; }else{ diff --git a/db_details_importdocsql.php b/db_details_importdocsql.php index 9eb97da99..af32ba7b3 100644 --- a/db_details_importdocsql.php +++ b/db_details_importdocsql.php @@ -64,7 +64,7 @@ if (isset($cfg['docSQLDir']) && !empty($cfg['docSQLDir'])) { } if (isset($lines) && is_array($lines) && count($lines) > 0) { - foreach($lines AS $lkey => $line) { + foreach ($lines AS $lkey => $line) { //echo '

' . $line . '

'; $inf = explode('|',$line); if (!empty($inf[1]) && strlen(trim($inf[1])) > 0) { diff --git a/db_details_qbe.php b/db_details_qbe.php index 12ab10b01..02a0e7eca 100644 --- a/db_details_qbe.php +++ b/db_details_qbe.php @@ -628,7 +628,7 @@ for ($x = 0; $x < $col; $x++) {
$val) { + foreach ($cfg['PDFPageSizes'] AS $key => $val) { echo '