diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 418a2cc8..5a31af0b 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -130,7 +130,7 @@ document.getElementById('username').focus(); */ function selectQuery($query) { global $jush; - return "

>> " . h(str_replace("\n", " ", $query)) . " " . lang('Edit') . "" . (is_ajax() ? " #" : "") . "\n"; + return "

>> " . h(str_replace("\n", " ", $query)) . " " . lang('Edit') . "" . (is_ajax() ? " #" : "") . "\n"; } /** Description of a row in a table diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 6c78fa70..683135c1 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -442,7 +442,7 @@ function remove_from_uri($param = "") { * @return string */ function pagination($page, $current) { - return " " . ($page == $current ? $page + 1 : '' . ($page + 1) . ""); + return " " . ($page == $current ? $page + 1 : '' . ($page + 1) . ""); } /** Get file contents from $_FILES diff --git a/adminer/select.inc.php b/adminer/select.inc.php index aa175afc..715a0757 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -377,11 +377,12 @@ if (!$columns) { if (intval($limit) && $found_rows > $limit) { // display first, previous 4, next 4 and last page $max_page = floor(($found_rows - 1) / $limit); - echo '" . lang('Page') . ":" . pagination(0, $page) . ($page > 5 ? " ..." : ""); + echo '" . lang('Page') . ":"; + echo pagination(0, $page) . ($page > 5 ? " ..." : ""); for ($i = max(1, $page - 4); $i < min($max_page, $page + 5); $i++) { echo pagination($i, $page); } - echo ($page + 5 < $max_page ? " ..." : "") . ($exact_count ? pagination($max_page, $page) : ' ' . lang('last') . ""); + echo ($page + 5 < $max_page ? " ..." : "") . ($exact_count ? pagination($max_page, $page) : ' ' . lang('last') . ""); } echo " (" . ($exact_count ? "" : "~ ") . lang('%d row(s)', $found_rows) . ") " . checkbox("all", 1, 0, lang('whole result')) . "\n"; diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index 224246c3..a198d118 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -61,7 +61,7 @@ document.getElementById('username').focus(); if (isset($set)) { echo '

' . lang('New item') . "\n"; } - echo ">>\n"; + echo ">>\n"; if (is_ajax()) { echo "#\n"; }