]> git.joonet.de Git - adminer.git/commitdiff
Move <p>
authorJakub Vrana <jakub@vrana.cz>
Fri, 9 Feb 2018 22:05:21 +0000 (23:05 +0100)
committerJakub Vrana <jakub@vrana.cz>
Fri, 9 Feb 2018 22:05:21 +0000 (23:05 +0100)
adminer/select.inc.php

index cf569a9f7f2dca8ed4afe5bd648c3b8305902276..932beecb62ebe6f7c6fae1df3df63667a644d91d 100644 (file)
@@ -463,7 +463,6 @@ if (!$columns && support("table")) {
 
                echo "<div class='footer'><div>\n";
                if (($rows || $page) && !is_ajax()) {
-                       echo "<p>\n";
                        $exact_count = true;
                        if ($_GET["page"] != "last") {
                                if ($limit == "" || (count($rows) < $limit && ($rows || !$page))) {
@@ -480,6 +479,7 @@ if (!$columns && support("table")) {
                        }
 
                        if ($limit != "" && ($found_rows === false || $found_rows > $limit || $page)) {
+                               echo "<p>\n";
                                // display first, previous 4, next 4 and last page
                                $max_page = ($found_rows === false
                                        ? $page + (count($rows) >= $limit ? 2 : 1)