mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 19:44:00 +02:00
Align numbers to right in select
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1149 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -147,7 +147,13 @@ ORDER BY ORDINAL_POSITION"); //! requires MySQL 5
|
||||
if ($field["full_type"] == "tinyint(1)" && $return != " ") { // bool
|
||||
$return = '<img src="' . ($val ? "../adminer/static/plus.gif" : "../adminer/static/cross.gif") . '" alt="' . h($val) . '">';
|
||||
}
|
||||
return ($link ? "<a href='$link'>$return</a>" : $return);
|
||||
if ($link) {
|
||||
$return = "<a href='$link'>$return</a>";
|
||||
}
|
||||
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>
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
function editVal($val, $field) {
|
||||
|
Reference in New Issue
Block a user