format rowcount in left frame
This commit is contained in:
@@ -28,6 +28,7 @@ $Source$
|
|||||||
- use DROP USER
|
- use DROP USER
|
||||||
- use db_name LIKE REPLACE( mysql.db.Db, \_, _ )
|
- use db_name LIKE REPLACE( mysql.db.Db, \_, _ )
|
||||||
* libraries/grab_globals.lib.php: [XSS] clean $_SERVER variables
|
* 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>
|
2005-10-26 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/french* updates
|
* lang/french* updates
|
||||||
|
4
left.php
4
left.php
@@ -449,7 +449,7 @@ function PMA_displayTableList( $tables, $visible = false,
|
|||||||
echo '<li>' . "\n";
|
echo '<li>' . "\n";
|
||||||
echo '<a title="' . $GLOBALS['strBrowse'] . ': '
|
echo '<a title="' . $GLOBALS['strBrowse'] . ': '
|
||||||
. htmlspecialchars( $table['Comment'] )
|
. htmlspecialchars( $table['Comment'] )
|
||||||
.' (' . $table['Rows'] . ' ' . $GLOBALS['strRows'] . ')"'
|
.' (' . PMA_formatNumber( $table['Rows'], 0 ) . ' ' . $GLOBALS['strRows'] . ')"'
|
||||||
.' id="browse_' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '"'
|
.' id="browse_' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '"'
|
||||||
.' href="sql.php?' . $GLOBALS['common_url_query']
|
.' href="sql.php?' . $GLOBALS['common_url_query']
|
||||||
.'&table=' . urlencode( $table['Name'] )
|
.'&table=' . urlencode( $table['Name'] )
|
||||||
@@ -466,7 +466,7 @@ function PMA_displayTableList( $tables, $visible = false,
|
|||||||
echo ' id="icon_' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '"'
|
echo ' id="icon_' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '"'
|
||||||
.' width="10" height="10" alt="' . $GLOBALS['strBrowse'] . '" /></a>' . "\n"
|
.' width="10" height="10" alt="' . $GLOBALS['strBrowse'] . '" /></a>' . "\n"
|
||||||
.'<a href="' . $href . '" title="' . $table['Comment']
|
.'<a href="' . $href . '" title="' . $table['Comment']
|
||||||
.' (' . $table['Rows'] . ' ' . $GLOBALS['strRows'] . ')"'
|
.' (' . PMA_formatNumber( $table['Rows'], 0 ) . ' ' . $GLOBALS['strRows'] . ')"'
|
||||||
.' id="' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '">'
|
.' id="' . htmlspecialchars( $table_db . '.' . $table['Name'] ) . '">'
|
||||||
. htmlspecialchars( $table['disp_name'] ) . '</a>';
|
. htmlspecialchars( $table['disp_name'] ) . '</a>';
|
||||||
echo '</li>' . "\n";
|
echo '</li>' . "\n";
|
||||||
|
@@ -1874,7 +1874,7 @@ if (typeof(window.parent) != 'undefined'
|
|||||||
$tooltip = (empty($tbl_status['Comment']))
|
$tooltip = (empty($tbl_status['Comment']))
|
||||||
? ''
|
? ''
|
||||||
: $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);
|
PMA_DBI_free_result($result);
|
||||||
$uni_tbl = PMA_jsFormat( $GLOBALS['db'] . '.' . $GLOBALS['table'], false );
|
$uni_tbl = PMA_jsFormat( $GLOBALS['db'] . '.' . $GLOBALS['table'], false );
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
Reference in New Issue
Block a user