mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 10:34:01 +02:00
Use password input for _md5 and _sha1 fields (Editor)
This commit is contained in:
@@ -415,6 +415,9 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
|
||||
if (ereg('date|timestamp', $field["type"])) {
|
||||
return "<input value='" . h($value) . "'$attrs> (" . lang('[yyyy]-mm-dd') . ")"; //! maxlength
|
||||
}
|
||||
if (eregi('_(md5|sha1)$', $field["field"])) {
|
||||
return "<input type='password' value='" . h($value) . "'$attrs>";
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user