diff --git a/adminer/db.inc.php b/adminer/db.inc.php index 1f5c0db5..815f92ce 100644 --- a/adminer/db.inc.php +++ b/adminer/db.inc.php @@ -49,17 +49,35 @@ if ($adminer->homepage()) { search_tables(); } echo "
' . lang('Table') . ' | ' . lang('Engine') . ' | ' . lang('Collation') . ' | ' . lang('Data Length') . ' | ' . lang('Index Length') . ' | ' . lang('Data Free') . ' | ' . lang('Auto Increment') . ' | ' . lang('Rows') . (support("comment") ? ' | ' . lang('Comment') : '') . " | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
'; + echo ' | ' . lang('Table'); + echo ' | ' . lang('Engine'); + echo ' | ' . lang('Collation'); + echo ' | ' . lang('Data Length'); + echo ' | ' . lang('Index Length'); + echo ' | ' . lang('Data Free'); + echo ' | ' . lang('Auto Increment'); + echo ' | ' . lang('Rows'); + echo (support("comment") ? ' | ' . lang('Comment') : ''); + echo " | ||||||||||||
' . checkbox(($view ? "views[]" : "tables[]"), $name, in_array($name, $tables_views, true), "", "formUncheck('check-all');"); - echo ' | ' . h($name) . ''; + echo ' | ' . h($name) . ''; if ($view) { - echo ' | ' . lang('View') . ''; - echo ' | ?'; + echo ' | ' . lang('View') . ''; + echo ' | ?'; } else { - foreach (array("Engine" => "", "Collation" => "", "Data_length" => "create", "Index_length" => "indexes", "Data_free" => "edit", "Auto_increment" => "auto_increment=1&create", "Rows" => "select") as $key => $link) { - echo ($link ? " | ?" : " | "); + foreach (array( + "Engine" => array(), + "Collation" => array(), + "Data_length" => array("create", lang('Alter table')), + "Index_length" => array("indexes", lang('Alter indexes')), + "Data_free" => array("edit", lang('New item')), + "Auto_increment" => array("auto_increment=1&create", lang('Alter table')), + "Rows" => array("select", lang('Select data')), + ) as $key => $link) { + echo ($link ? " | ?" : " | "); } } echo (support("comment") ? " | " : ""); diff --git a/changes.txt b/changes.txt index 3121f17c..5b9dafcd 100644 --- a/changes.txt +++ b/changes.txt @@ -1,4 +1,5 @@ Adminer 3.3.3-dev: +Link titles in database overview Fix trigger export (SQLite) Default trigger statement (SQLite, PostgreSQL) Remove search by expression (PostgreSQL, MS SQL) |