From 072da7a52ce8a5097dc9945d42d90ccba5f5106e Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 12 Aug 2005 13:14:06 +0000 Subject: [PATCH] bug #1257106, display problem in the left frame (IE) --- ChangeLog | 1 + footer.inc.php | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1d6340eb45..5aef394ace 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2005-08-12 Marc Delisle * header.inc.php: remove the 'InnoDB free' segment from table comments + * footer.inc.php: bug #1257106, display problem in the left frame (IE) 2005-08-11 Marc Delisle * queryframe.php: shorten the path of db subtree items, diff --git a/footer.inc.php b/footer.inc.php index b0e7647939..d2de583d1c 100644 --- a/footer.inc.php +++ b/footer.inc.php @@ -24,10 +24,12 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) { $tables = PMA_DBI_try_query('SHOW TABLES FROM ' . PMA_backquote($db) . ';', NULL, PMA_DBI_QUERY_STORE); $num_tables = ($tables) ? @PMA_DBI_num_rows($tables) : 0; $common_url_query = PMA_generate_common_url($db); + // if we put a space before the left bracket, it causes a display + // problem in IE if ($num_tables) { - $num_tables_disp = ' (' . $num_tables . ')'; + $num_tables_disp = '(' . $num_tables . ')'; } else { - $num_tables_disp = ' (-)'; + $num_tables_disp = '(-)'; } ?> var forceQueryFrameReload = false; -- 2.11.4.GIT