Start implementing conditional Ajax (in results page)
This commit is contained in:
@@ -2201,8 +2201,11 @@ function PMA_pageselector($rows, $pageNow = 1, $nbTotalPage = 1,
|
||||
$pageNowMinusRange = ($pageNow - $range);
|
||||
$pageNowPlusRange = ($pageNow + $range);
|
||||
|
||||
$gotopage = $prompt
|
||||
. ' <select id="pageselector" name="pos" >' . "\n";
|
||||
$gotopage = $prompt . ' <select id="pageselector" ';
|
||||
if ($GLOBALS['cfg']['AjaxEnable']) {
|
||||
$gotopage .= ' class="ajax"';
|
||||
}
|
||||
$gotopage .= ' name="pos" >' . "\n";
|
||||
if ($nbTotalPage < $showAll) {
|
||||
$pages = range(1, $nbTotalPage);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user