Display default column value in tooltip (thanks to bene)
This commit is contained in:
parent
00342a1532
commit
ea4eba4761
|
@ -17,7 +17,7 @@ if ($fields) {
|
||||||
echo "<table cellspacing='0'>\n";
|
echo "<table cellspacing='0'>\n";
|
||||||
echo "<thead><tr><th>" . lang('Column') . "<td>" . lang('Type') . (support("comment") ? "<td>" . lang('Comment') : "") . "</thead>\n";
|
echo "<thead><tr><th>" . lang('Column') . "<td>" . lang('Type') . (support("comment") ? "<td>" . lang('Comment') : "") . "</thead>\n";
|
||||||
foreach ($fields as $field) {
|
foreach ($fields as $field) {
|
||||||
echo "<tr" . odd() . "><th>" . h($field["field"]);
|
echo "<tr" . odd() . "><th title='" . h($field["default"] !== "" ? $field["default"] : " ") . "'>" . h($field["field"]);
|
||||||
echo "<td>" . h($field["full_type"]) . ($field["null"] ? " <i>NULL</i>" : "") . ($field["auto_increment"] ? " <i>" . lang('Auto Increment') . "</i>" : "");
|
echo "<td>" . h($field["full_type"]) . ($field["null"] ? " <i>NULL</i>" : "") . ($field["auto_increment"] ? " <i>" . lang('Auto Increment') . "</i>" : "");
|
||||||
echo (support("comment") ? "<td>" . nbsp($field["comment"]) : "");
|
echo (support("comment") ? "<td>" . nbsp($field["comment"]) : "");
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
|
|
@ -3,6 +3,8 @@ Use Esc to disable in-place edit
|
||||||
Highlight SQL code in textarea
|
Highlight SQL code in textarea
|
||||||
Append new index with auto index selection (bug #3282127)
|
Append new index with auto index selection (bug #3282127)
|
||||||
Bit type default value
|
Bit type default value
|
||||||
|
Display foreign key name in tooltip
|
||||||
|
Display default column value in tooltip
|
||||||
Pagination support (Oracle)
|
Pagination support (Oracle)
|
||||||
Autocomplete for big foreign keys (Editor)
|
Autocomplete for big foreign keys (Editor)
|
||||||
Display name of the referenced record in PostgreSQL (Editor)
|
Display name of the referenced record in PostgreSQL (Editor)
|
||||||
|
|
Loading…
Reference in a new issue