mirror of
https://github.com/vrana/adminer.git
synced 2026-05-06 10:07:05 +02:00
IE6 compatibility
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@681 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -56,7 +56,7 @@ if (!$result->num_rows) {
|
||||
echo '<th><a href="' . htmlspecialchars($SELF) . 'table=' . urlencode($name) . '">' . htmlspecialchars($name) . "</a></th><td>$row[Engine]</td><td>$row[Collation]</td>";
|
||||
foreach (array("Data_length" => "create", "Index_length" => "indexes", "Data_free" => "edit", "Auto_increment" => "create", "Rows" => "select") as $key => $link) {
|
||||
$val = number_format($row[$key], 0, '.', lang(','));
|
||||
echo '<td align="right">' . (strlen($row[$key]) ? '<a href="' . htmlspecialchars("$SELF$link=") . urlencode($name) . '">' . ($key == "Rows" && $row["Engine"] == "InnoDB" && $val ? lang('~ %s', $val) : $val) . '</a>' : ' ') . '</td>';
|
||||
echo '<td align="right">' . (strlen($row[$key]) ? '<a href="' . htmlspecialchars("$SELF$link=") . urlencode($name) . '">' . str_replace(" ", " ", ($key == "Rows" && $row["Engine"] == "InnoDB" && $val ? lang('~ %s', $val) : $val)) . '</a>' : ' ') . '</td>';
|
||||
}
|
||||
echo "<td>" . (strlen(trim($row["Comment"])) ? htmlspecialchars($row["Comment"]) : " ") . "</td>";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user