Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Link last page above data in select

  • Loading branch information...
commit f7069c7e5db8fcd81ce1e91dc9cf7c5e3c62acfd 1 parent 9ef397a
@vrana authored
View
2  adminer/include/adminer.inc.php
@@ -123,7 +123,7 @@ function backwardKeysPrint($backwardKeys, $row) {
*/
function selectQuery($query) {
global $jush;
- return "<p><code class='jush-$jush'>" . h(str_replace("\n", " ", $query)) . "</code> <a href='" . h(ME) . "sql=" . urlencode($query) . "'>" . lang('Edit') . "</a>\n";
+ return "<p><a href='" . h(remove_from_uri("page")) . "&amp;page=last' title='" . lang('last') . "'>&gt;&gt;</a> <code class='jush-$jush'>" . h(str_replace("\n", " ", $query)) . "</code> <a href='" . h(ME) . "sql=" . urlencode($query) . "'>" . lang('Edit') . "</a>\n";
}
/** Description of a row in a table
View
1  changes.txt
@@ -13,6 +13,7 @@ Autofocus username in login form
Disable spellchecking in SQL textareas
Display auto_increment value of inserted item
Allow disabling auto_increment value export
+Link last page above data in select
Link table names in SQL queries
Japanese translation
Defer table information in database overview to JavaScript (performance)
View
1  editor/include/adminer.inc.php
@@ -57,6 +57,7 @@ function selectLinks($tableStatus, $set = "") {
if (isset($set)) {
echo '<p class="tabs"><a href="' . h(ME . 'edit=' . urlencode($TABLE) . $set) . '">' . lang('New item') . "</a>\n";
}
+ echo "<a href='" . h(remove_from_uri("page")) . "&amp;page=last' title='" . lang('last') . "'>&gt;&gt;</a>\n";
}
function backwardKeys($table, $tableName) {
Please sign in to comment.
Something went wrong with that request. Please try again.