]> git.joonet.de Git - adminer.git/commitdiff
Display column collation in tooltip (thanks to bene)
authorJakub Vrana <jakub@vrana.cz>
Wed, 1 Jun 2011 15:05:09 +0000 (17:05 +0200)
committerJakub Vrana <jakub@vrana.cz>
Wed, 1 Jun 2011 15:05:09 +0000 (17:05 +0200)
adminer/table.inc.php
changes.txt

index 516b0bf1110f708810ef0d66d719f3eeadbd1efc..021e34723be1f7492243ac52f685503d9bf62fc9 100644 (file)
@@ -18,7 +18,7 @@ if ($fields) {
        echo "<thead><tr><th>" . lang('Column') . "<td>" . lang('Type') . (support("comment") ? "<td>" . lang('Comment') : "") . "</thead>\n";
        foreach ($fields as $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 title='" . h($field["collation"]) . "'>" . 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 "\n";
        }
index 53a020c3ec6df29fb0edfb6220a19d1f73214532..ba71092fc87dc384558e4e89338893cc38c71c65 100644 (file)
@@ -5,6 +5,7 @@ Append new index with auto index selection (bug #3282127)
 Bit type default value
 Display foreign key name in tooltip
 Display default column value in tooltip
+Display column collation in tooltip
 Pagination support (Oracle)
 Autocomplete for big foreign keys (Editor)
 Display name of the referenced record in PostgreSQL (Editor)