1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-17 20:01:25 +02:00

Show type by field name (thanks to Jakub Sochor)

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@810 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-07-13 14:53:59 +00:00
parent 473c3a2adb
commit cb2c957148
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ function adminer_table_name($row) {
* @return string
*/
function adminer_field_name($fields, $key) {
return call_adminer('field_name', htmlspecialchars($key), $fields, $key);
return call_adminer('field_name', '<span title="' . htmlspecialchars($fields[$key]["full_type"]) . '">' . htmlspecialchars($key) . '</span>', $fields, $key);
}
/** Links after select heading