diff options
-rw-r--r-- | browse_foreigners.php | 8 | ||||
-rw-r--r-- | libraries/common.lib.php | 6 | ||||
-rw-r--r-- | themes/original/css/theme_left.css.php | 1 |
3 files changed, 12 insertions, 3 deletions
diff --git a/browse_foreigners.php b/browse_foreigners.php index 82187e782b..9b10288f00 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -74,7 +74,13 @@ if (isset($disp_row) && is_array($disp_row)) { '&', $session_max_rows, $pageNow, - $nbTotalPage + $nbTotalPage, + 200, + 5, + 5, + 20, + 10, + $GLOBALS['strPageNumber'] ); } } diff --git a/libraries/common.lib.php b/libraries/common.lib.php index f2ee8556c6..7a75fc2a81 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2021,15 +2021,16 @@ function PMA_buttonOrImage($button_name, $button_class, $image_name, $text, * @param string Near the current page, how many pages should * be considered "nearby" and displayed as * well? + * @param string The prompt to display (sometimes empty) * * @access public * @author Garvin Hicking (pma@supergarv.de) */ function PMA_pageselector($url, $rows, $pageNow = 1, $nbTotalPage = 1, $showAll = 200, $sliceStart = 5, $sliceEnd = 5, $percent = 20, - $range = 10) + $range = 10, $prompt = '') { - $gotopage = $GLOBALS['strPageNumber'] + $gotopage = $prompt . ' <select name="goToPage" onchange="goToUrl(this, \'' . $url . '\');">' . "\n"; if ($nbTotalPage < $showAll) { @@ -2118,6 +2119,7 @@ function PMA_dbPageSelector($databases_count, $pos, $_url_params, $script, $fram if ($GLOBALS['cfg']['MaxDbList'] && $GLOBALS['cfg']['MaxDbList'] < $databases_count) { + echo $GLOBALS['strPageNumber'] . '<br />'; // Move to the beginning or to the previous page if ($pos > 0) { // loic1: patch #474210 from Gosha Sakovich - part 1 diff --git a/themes/original/css/theme_left.css.php b/themes/original/css/theme_left.css.php index eb7f51ce9b..81f4b92a89 100644 --- a/themes/original/css/theme_left.css.php +++ b/themes/original/css/theme_left.css.php @@ -36,6 +36,7 @@ form { display: inline; } +select#select_server, select#lightm_db { width: 100%; } |