mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 19:13:59 +02:00
Date format hint
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@977 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -315,6 +315,9 @@ ORDER BY ORDINAL_POSITION"); //! requires MySQL 5
|
||||
if ($field["full_type"] == "tinyint(1)") { // bool
|
||||
return '<input type="checkbox" value="' . h($value ? $value : 1) . '"' . ($value ? ' checked' : '') . "$attrs>";
|
||||
}
|
||||
if (ereg('date|timestamp', $field["type"])) {
|
||||
return "<input value='" . h($value) . "'$attrs> (" . lang('yyyy-mm-dd') . ")"; //! maxlength
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user