From e9f6b79705e414bcfa8a590340ae819436cd6f57 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 12 Jun 2008 20:00:23 +0000 Subject: [PATCH] remove old hint for number of tables --- navigation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/navigation.php b/navigation.php index 80bff4cab..88292e27b 100644 --- a/navigation.php +++ b/navigation.php @@ -327,6 +327,7 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) { $table_list = PMA_getTableList($GLOBALS['db'], null, $tpos, $cfg['MaxTableList']); if (! empty($table_list)) { $table_count = PMA_getTableCount($GLOBALS['db']); + // upper table list paginator if (count($table_list) <= $GLOBALS['cfg']['MaxTableList'] && $table_count > $GLOBALS['cfg']['MaxTableList']) { $_url_params = array( 'tpos' => 'true', @@ -336,9 +337,8 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) { PMA_listNavigator($table_count, $tpos, $_url_params, 'navigation.php', 'frame_navigation', $GLOBALS['cfg']['MaxTableList']); } PMA_displayTableList($table_list, true, '', $GLOBALS['db']); - // hint user that the table list is larger + // lower table list paginator if (count($table_list) <= $GLOBALS['cfg']['MaxTableList'] && $table_count > $GLOBALS['cfg']['MaxTableList']) { - echo '  ( ', $tpos, ' .. ', ($tpos+$GLOBALS['cfg']['MaxTableList']), ' / ', $table_count, ' )'; PMA_listNavigator($table_count, $tpos, $_url_params, 'navigation.php', 'frame_navigation', $GLOBALS['cfg']['MaxTableList']); } } else {