mirror of
https://github.com/vrana/adminer.git
synced 2025-08-24 15:12:51 +02:00
Move <p>
This commit is contained in:
@@ -463,7 +463,6 @@ if (!$columns && support("table")) {
|
|||||||
|
|
||||||
echo "<div class='footer'><div>\n";
|
echo "<div class='footer'><div>\n";
|
||||||
if (($rows || $page) && !is_ajax()) {
|
if (($rows || $page) && !is_ajax()) {
|
||||||
echo "<p>\n";
|
|
||||||
$exact_count = true;
|
$exact_count = true;
|
||||||
if ($_GET["page"] != "last") {
|
if ($_GET["page"] != "last") {
|
||||||
if ($limit == "" || (count($rows) < $limit && ($rows || !$page))) {
|
if ($limit == "" || (count($rows) < $limit && ($rows || !$page))) {
|
||||||
@@ -480,6 +479,7 @@ if (!$columns && support("table")) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($limit != "" && ($found_rows === false || $found_rows > $limit || $page)) {
|
if ($limit != "" && ($found_rows === false || $found_rows > $limit || $page)) {
|
||||||
|
echo "<p>\n";
|
||||||
// display first, previous 4, next 4 and last page
|
// display first, previous 4, next 4 and last page
|
||||||
$max_page = ($found_rows === false
|
$max_page = ($found_rows === false
|
||||||
? $page + (count($rows) >= $limit ? 2 : 1)
|
? $page + (count($rows) >= $limit ? 2 : 1)
|
||||||
|
Reference in New Issue
Block a user