diff --git a/db.inc.php b/db.inc.php
index 556e37c9..818b6ff4 100644
--- a/db.inc.php
+++ b/db.inc.php
@@ -56,7 +56,7 @@ if (!$result->num_rows) {
echo '
' . htmlspecialchars($name) . " | $row[Engine] | $row[Collation] | ";
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 '' . (strlen($row[$key]) ? '' . ($key == "Rows" && $row["Engine"] == "InnoDB" && $val ? lang('~ %s', $val) : $val) . '' : ' ') . ' | ';
+ echo '' . (strlen($row[$key]) ? '' . str_replace(" ", " ", ($key == "Rows" && $row["Engine"] == "InnoDB" && $val ? lang('~ %s', $val) : $val)) . '' : ' ') . ' | ';
}
echo "" . (strlen(trim($row["Comment"])) ? htmlspecialchars($row["Comment"]) : " ") . " | ";
} else {
diff --git a/functions.js b/functions.js
index b152a676..f9d4e4b5 100644
--- a/functions.js
+++ b/functions.js
@@ -97,9 +97,11 @@ function editing_add_row(button, allowed) {
tags2[i].selectedIndex = tags[i].selectedIndex;
}
tags = row.getElementsByTagName('input');
+ tags2 = row2.getElementsByTagName('input');
for (var i=0; i < tags.length; i++) {
if (tags[i].name == 'auto_increment_col') {
tags[i].value = x;
+ tags2[i].checked = tags[i].checked;
tags[i].checked = false;
}
tags[i].name = tags[i].name.replace(/([0-9.]+)/, x);
diff --git a/include/editing.inc.php b/include/editing.inc.php
index a55e9612..b715d1b9 100644
--- a/include/editing.inc.php
+++ b/include/editing.inc.php
@@ -151,12 +151,11 @@ function edit_fields($fields, $collations, $type = "TABLE", $allowed = 0) {
checked="checked" /> |
>" maxlength="255" /> |
-
\n";
- echo "\n";
- echo "\n";
- echo "\n";
+ echo " | ";
+ echo " ";
+ echo " ";
+ echo " ";
echo " | \n\n";
}
return $column_comments;
diff --git a/todo.txt b/todo.txt
index 0217d9d4..be71d5c0 100644
--- a/todo.txt
+++ b/todo.txt
@@ -11,6 +11,7 @@ Utilize information_schema.USER_PRIVILEGES in Privileges
Highlight SQL textarea - may use external CodePress
Column and table names auto-completition in SQL textarea
Mass editation of individual rows
+IE6 -