mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 20:01:25 +02:00
Display only first five columns in Editor example
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@919 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -59,9 +59,10 @@ class Adminer {
|
||||
|
||||
/** Field caption used in select and edit
|
||||
* @param array single field returned from fields()
|
||||
* @param int order of column in select
|
||||
* @return string
|
||||
*/
|
||||
function fieldName($field) {
|
||||
function fieldName($field, $order = 0) {
|
||||
return '<span title="' . htmlspecialchars($field["full_type"]) . '">' . htmlspecialchars($field["field"]) . '</span>';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user