mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Don't copy tables (to the same database) by AJAX
This commit is contained in:
@@ -80,7 +80,7 @@ if ($adminer->homepage()) {
|
|||||||
echo "<p>" . lang('Move to other database') . ": ";
|
echo "<p>" . lang('Move to other database') . ": ";
|
||||||
echo ($databases ? html_select("target", $databases, $db) : '<input name="target" value="' . h($db) . '">');
|
echo ($databases ? html_select("target", $databases, $db) : '<input name="target" value="' . h($db) . '">');
|
||||||
echo " <input type='submit' name='move' value='" . lang('Move') . "' onclick='eventStop(event);'>";
|
echo " <input type='submit' name='move' value='" . lang('Move') . "' onclick='eventStop(event);'>";
|
||||||
echo (support("copy") ? " <input type='submit' name='copy' value='" . lang('Copy') . "'>" : "");
|
echo (support("copy") ? " <input type='submit' name='copy' value='" . lang('Copy') . "' onclick='eventStop(event);'>" : "");
|
||||||
echo "\n";
|
echo "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user