mirror of
https://github.com/vrana/adminer.git
synced 2026-07-11 13:01:35 +02:00
Display comment in title of field
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
/** Show comments of sql structure in more places (mainly where you edit things)
|
||||
* @link https://www.adminer.org/plugins/#use
|
||||
* @author Adam Kuśmierz, http://kusmierz.be/
|
||||
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
|
||||
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
|
||||
*/
|
||||
class AdminerStructComments {
|
||||
|
||||
function fieldName(&$field, $order = 0) {
|
||||
return '<span title="' . Adminer\h($field["full_type"]) . (!empty($field["comment"]) ? ': ' . $field["comment"] : '') . '">' . Adminer\h($field["field"]) . '</span>';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user