1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

Use AJAX for pagination

This commit is contained in:
Jakub Vrana
2010-10-18 22:39:17 +02:00
parent 388680ac62
commit 6e3c7cba1f
4 changed files with 6 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ document.getElementById('username').focus();
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('Page') . ": " . lang('last') . "'>&gt;&gt;</a>\n";
echo "<a href='" . h(remove_from_uri("page")) . "&amp;page=last' title='" . lang('Page') . ": " . lang('last') . "' onclick='return !ajaxMain(this.href);'>&gt;&gt;</a>\n";
if (is_ajax()) {
echo "<a href='" . h($_SERVER["REQUEST_URI"]) . "'>#</a>\n";
}