mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +02:00
Align dates (Editor)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1245 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -159,6 +159,8 @@ ORDER BY ORDINAL_POSITION");
|
||||
}
|
||||
if (!$link && $field["full_type"] != "tinyint(1)" && ereg('int|float|double|decimal', $field["type"])) {
|
||||
$return = "<div class='number'>$return</div>"; // Firefox doesn't support <colgroup>
|
||||
} elseif (ereg('date', $field["type"])) {
|
||||
$return = "<div class='datetime'>$return</div>";
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user