diff --git a/browse_foreigners.php b/browse_foreigners.php index 82187e782..9b10288f0 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 f2ee8556c..7a75fc2a8 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 . '