diff --git a/ChangeLog b/ChangeLog index 7ac94b3a4..c0cd0d934 100755 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,7 @@ $Source$ - use DROP USER - use db_name LIKE REPLACE( mysql.db.Db, \_, _ ) * libraries/grab_globals.lib.php: [XSS] clean $_SERVER variables + * left.php, libraries/common.lib.php: format rowcount in left frame 2005-10-26 Marc Delisle * lang/french* updates diff --git a/left.php b/left.php index 1927a5620..48f2bde8e 100644 --- a/left.php +++ b/left.php @@ -449,7 +449,7 @@ function PMA_displayTableList( $tables, $visible = false, echo '
  • ' . "\n"; echo '' . "\n" .'' . htmlspecialchars( $table['disp_name'] ) . ''; echo '
  • ' . "\n"; diff --git a/libraries/common.lib.php b/libraries/common.lib.php index d632f9027..c81b61e2b 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1874,7 +1874,7 @@ if (typeof(window.parent) != 'undefined' $tooltip = (empty($tbl_status['Comment'])) ? '' : $tbl_status['Comment'] . ' '; - $tooltip .= '(' . $tbl_status['Rows'] . ' ' . $GLOBALS['strRows'] . ')'; + $tooltip .= '(' . PMA_formatNumber( $tbl_status['Rows'], 0 ) . ' ' . $GLOBALS['strRows'] . ')'; PMA_DBI_free_result($result); $uni_tbl = PMA_jsFormat( $GLOBALS['db'] . '.' . $GLOBALS['table'], false ); echo "\n";