From 585509434265c5187f18a4a46cb255c688c309da Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 16 Jul 2007 13:21:37 +0000 Subject: [PATCH] hint user that the table list is larger, thanks to Juergen Wind --- navigation.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/navigation.php b/navigation.php index 0c8730246..9bd89fc06 100644 --- a/navigation.php +++ b/navigation.php @@ -287,12 +287,17 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) { * or the pos of tables. */ $table_list = PMA_getTableList($GLOBALS['db'], null, 0, $cfg['MaxTableList']); - if (count($table_list) > 0) { + $count_table_list = count($table_list); + if ($count_table_list > 0) { PMA_displayTableList($table_list, true, '', $GLOBALS['db']); + // hint user that the table list is larger, until the todo is done + if ($count_table_list == $GLOBALS['cfg']['MaxTableList']) { + echo '  ( 1 .. ', $GLOBALS['cfg']['MaxTableList'], ' / ', PMA_getTableCount($GLOBALS['db']), ' )'; + } } else { echo $GLOBALS['strNoTablesFound']; } - unset($table_list); + unset($table_list, $count_table_list); } elseif ($GLOBALS['cfg']['LeftFrameLight']) { echo '

' . $GLOBALS['strSelectADb'] . '

' . "\n"; } else {