no selected page number

This commit is contained in:
Marc Delisle
2006-04-13 17:12:52 +00:00
parent 951ea7cdfa
commit 422712289a
2 changed files with 5 additions and 2 deletions

View File

@@ -5,7 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2006-04-12 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2006-04-13 Marc Delisle <lem9@users.sourceforge.net>
* server_databases.php: need brackets for correct calculation of page
2006-04-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* server_databases.php, libraries/database_interface.lib.php: * server_databases.php, libraries/database_interface.lib.php:
disable table stats for MySQL 5 by default disable table stats for MySQL 5 by default
* server_databases.php: * server_databases.php:

View File

@@ -177,7 +177,7 @@ if ($databases_count > 0) {
echo PMA_pageselector( echo PMA_pageselector(
'server_databases.php' . PMA_generate_common_url($_url_params) . '&', 'server_databases.php' . PMA_generate_common_url($_url_params) . '&',
$GLOBALS['cfg']['MaxDbList'], $GLOBALS['cfg']['MaxDbList'],
floor($pos+1 / $GLOBALS['cfg']['MaxDbList']) + 1, floor(($pos + 1) / $GLOBALS['cfg']['MaxDbList']) + 1,
ceil($databases_count / $GLOBALS['cfg']['MaxDbList'])); ceil($databases_count / $GLOBALS['cfg']['MaxDbList']));
echo '</form>'; echo '</form>';