missing urldecode, better layout

This commit is contained in:
Marc Delisle
2002-02-12 21:30:35 +00:00
parent 93b5256b23
commit 92709da99a
2 changed files with 9 additions and 3 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-02-12 Marc Delisle <lem9@users.sourceforge.net>
* tbl_printview.php3, missing urldecode, layout improvement,
thanks to Marcus B<>rger (helly)
2002-02-11 Marc Delisle <lem9@users.sourceforge.net> 2002-02-11 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3: $table was emptied when the query was not a Select * sql.php3: $table was emptied when the query was not a Select
* lang/norwegian.inc.php3 updates thanks to Sven-Erik Andersen * lang/norwegian.inc.php3 updates thanks to Sven-Erik Andersen

View File

@@ -49,17 +49,19 @@ if ($multi_tables) {
$tbl_list = ''; $tbl_list = '';
while (list($key, $table) = each($the_tables)) { while (list($key, $table) = each($the_tables)) {
$tbl_list .= (empty($tbl_list) ? '' : ', ') $tbl_list .= (empty($tbl_list) ? '' : ', ')
. PMA_backquote($table); . PMA_backquote(urldecode($table));
} }
echo '<b>'. $strShowTables . '&nbsp;:&nbsp;' . $tbl_list . '</b>' . "\n"; echo '<b>'. $strShowTables . '&nbsp;:&nbsp;' . $tbl_list . '</b>' . "\n";
echo '<hr />' . "\n";
} // end if } // end if
reset($the_tables); reset($the_tables);
while (list($key, $table) = each($the_tables)) { while (list($key, $table) = each($the_tables)) {
if ($multi_tables) { $table = urldecode($table);
// if ($multi_tables) {
echo '<div style="page-break-after: always;">' . "\n"; echo '<div style="page-break-after: always;">' . "\n";
echo '<h1>' . $table . '</h1>' . "\n"; echo '<h1>' . $table . '</h1>' . "\n";
} // end if // } // end if
/** /**
* Gets table informations * Gets table informations