format rowcount in left frame

This commit is contained in:
Sebastian Mendel
2005-10-27 17:09:59 +00:00
parent 2d6e0f00d8
commit 4e097c02e9
3 changed files with 4 additions and 3 deletions

View File

@@ -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 <lem9@users.sourceforge.net>
* lang/french* updates

View File

@@ -449,7 +449,7 @@ function PMA_displayTableList( $tables, $visible = false,
echo '<li>' . "\n";
echo '<a title="' . $GLOBALS['strBrowse'] . ': '
. htmlspecialchars( $table['Comment'] )
.' (' . $table['Rows'] . ' ' . $GLOBALS['strRows'] . ')"'
.' (' . PMA_formatNumber( $table['Rows'], 0 ) . ' ' . $GLOBALS['strRows'] . ')"'
.' id="browse_' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '"'
.' href="sql.php?' . $GLOBALS['common_url_query']
.'&amp;table=' . urlencode( $table['Name'] )
@@ -466,7 +466,7 @@ function PMA_displayTableList( $tables, $visible = false,
echo ' id="icon_' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '"'
.' width="10" height="10" alt="' . $GLOBALS['strBrowse'] . '" /></a>' . "\n"
.'<a href="' . $href . '" title="' . $table['Comment']
.' (' . $table['Rows'] . ' ' . $GLOBALS['strRows'] . ')"'
.' (' . PMA_formatNumber( $table['Rows'], 0 ) . ' ' . $GLOBALS['strRows'] . ')"'
.' id="' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '">'
. htmlspecialchars( $table['disp_name'] ) . '</a>';
echo '</li>' . "\n";

View File

@@ -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";