mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 03:24:01 +02:00
Load long texts for inline-edit by AJAX
Display link to current page only under AJAX
This commit is contained in:
@@ -62,7 +62,9 @@ document.getElementById('username').focus();
|
||||
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($_SERVER["REQUEST_URI"]) . "'>#</a>\n";
|
||||
if (is_ajax()) {
|
||||
echo "<a href='" . h($_SERVER["REQUEST_URI"]) . "'>#</a>\n";
|
||||
}
|
||||
}
|
||||
|
||||
function backwardKeys($table, $tableName) {
|
||||
|
Reference in New Issue
Block a user