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:
@@ -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")) . "&page=last' title='" . lang('Page') . ": " . lang('last') . "'>>></a>\n";
|
||||
echo "<a href='" . h(remove_from_uri("page")) . "&page=last' title='" . lang('Page') . ": " . lang('last') . "' onclick='return !ajaxMain(this.href);'>>></a>\n";
|
||||
if (is_ajax()) {
|
||||
echo "<a href='" . h($_SERVER["REQUEST_URI"]) . "'>#</a>\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user