Skip to content
Browse files

Save bytes

  • Loading branch information...
1 parent 241fc4e commit ae845256133ca119e046d0e6c3655627766684e5 @vrana committed Jan 30, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 adminer/db.inc.php
View
5 adminer/db.inc.php
@@ -56,9 +56,8 @@
echo '<td colspan="6"><a href="' . h(ME) . "view=" . urlencode($name) . '">' . lang('View') . '</a>';
echo '<td align="right"><a href="' . h(ME) . "select=" . urlencode($name) . '">?</a>';
} else {
- echo "<td id='Engine-" . h($name) . "'>&nbsp;<td id='Collation-" . h($name) . "'>&nbsp;";
- foreach (array("Data_length" => "create", "Index_length" => "indexes", "Data_free" => "edit", "Auto_increment" => "auto_increment=1&create", "Rows" => "select") as $key => $link) {
- echo "<td align='right'><a href='" . h(ME . "$link=") . urlencode($name) . "' id='$key-" . h($name) . "'>?</a>";
+ foreach (array("Engine" => "", "Collation" => "", "Data_length" => "create", "Index_length" => "indexes", "Data_free" => "edit", "Auto_increment" => "auto_increment=1&create", "Rows" => "select") as $key => $link) {
+ echo ($link ? "<td align='right'><a href='" . h(ME . "$link=") . urlencode($name) . "' id='$key-" . h($name) . "'>?</a>" : "<td id='$key-" . h($name) . "'>&nbsp;");
}
}
echo (support("comment") ? "<td id='Comment-" . h($name) . "'>&nbsp;" : "");

0 comments on commit ae84525

Please sign in to comment.
Something went wrong with that request. Please try again.