mirror of
https://github.com/vrana/adminer.git
synced 2025-08-24 15:12:51 +02:00
Editor: Display field comment's text inside [] only in edit form
This commit is contained in:
@@ -626,6 +626,16 @@ focus(document.getElementById('username'));
|
||||
return "";
|
||||
}
|
||||
|
||||
/** Get hint for edit field
|
||||
* @param string table name
|
||||
* @param array single field from fields()
|
||||
* @param string
|
||||
* @return string
|
||||
*/
|
||||
function editHint($table, $field, $value) {
|
||||
return "";
|
||||
}
|
||||
|
||||
/** Process sent input
|
||||
* @param array single field from fields()
|
||||
* @param string
|
||||
|
@@ -920,6 +920,7 @@ function input($field, $value, $function) {
|
||||
. "$attrs>"
|
||||
;
|
||||
}
|
||||
echo $adminer->editHint($_GET["edit"], $field, $value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user