fixed selectbox navigation
This commit is contained in:
@@ -174,9 +174,11 @@ if ($databases_count > 0) {
|
|||||||
|
|
||||||
echo '<form action="./server_databases.php" method="post">' . "\n";
|
echo '<form action="./server_databases.php" method="post">' . "\n";
|
||||||
echo PMA_generate_common_hidden_inputs($_url_params);
|
echo PMA_generate_common_hidden_inputs($_url_params);
|
||||||
echo PMA_pageselector('server_databases.php?', 100,
|
echo PMA_pageselector(
|
||||||
($pos / $GLOBALS['cfg']['MaxDbList']) + 1,
|
'server_databases.php' . PMA_generate_common_url($_url_params) . '&',
|
||||||
$databases_count / $GLOBALS['cfg']['MaxDbList']);
|
$GLOBALS['cfg']['MaxDbList'],
|
||||||
|
floor($pos+1 / $GLOBALS['cfg']['MaxDbList']) + 1,
|
||||||
|
ceil($databases_count / $GLOBALS['cfg']['MaxDbList']));
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
|
||||||
if ($pos + $GLOBALS['cfg']['MaxDbList'] < $databases_count) {
|
if ($pos + $GLOBALS['cfg']['MaxDbList'] < $databases_count) {
|
||||||
|
Reference in New Issue
Block a user