mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 12:00:41 +02:00
Driver specific view detection
This commit is contained in:
@@ -86,7 +86,7 @@ document.getElementById('username').focus();
|
||||
function selectLinks($tableStatus, $set = "") {
|
||||
echo '<p class="tabs">';
|
||||
$links = array("select" => lang('Select data'), "table" => lang('Show structure'));
|
||||
if (eregi("view", $tableStatus["Engine"])) {
|
||||
if (is_view($tableStatus)) {
|
||||
$links["view"] = lang('Alter view');
|
||||
} else {
|
||||
$links["create"] = lang('Alter table');
|
||||
|
Reference in New Issue
Block a user