';
- echo '';
+ echo ' | ';
echo ' | ';
}
?>
diff --git a/adminer/db.inc.php b/adminer/db.inc.php
index 8a99310a..b93ca700 100644
--- a/adminer/db.inc.php
+++ b/adminer/db.inc.php
@@ -64,7 +64,7 @@ if ($adminer->homepage()) {
}
$doc_link = doc_link(array('sql' => 'show-table-status.html'));
echo "\n";
- echo '';
+ echo '';
echo ' | ' . lang('Table');
echo ' | ' . lang('Engine') . doc_link(array('sql' => 'storage-engines.html'));
echo ' | ' . lang('Collation') . doc_link(array('sql' => 'charset-mysql.html'));
@@ -135,7 +135,7 @@ if ($adminer->homepage()) {
echo (support("copy") ? " " : "");
echo "\n";
}
- echo "\n"; // used by trCheck()
+ echo "\n"; // used by trCheck()
echo "\n";
echo "\n";
}
diff --git a/adminer/dump.inc.php b/adminer/dump.inc.php
index 0dd819a0..14b59889 100644
--- a/adminer/dump.inc.php
+++ b/adminer/dump.inc.php
@@ -169,8 +169,8 @@ $prefixes = array();
if (DB != "") {
$checked = ($TABLE != "" ? "" : " checked");
echo "";
- echo "";
- echo " | ";
+ echo " | ";
+ echo " | ";
echo " | \n";
$views = "";
@@ -178,11 +178,11 @@ if (DB != "") {
foreach ($tables_list as $name => $type) {
$prefix = preg_replace('~_.*~', '', $name);
$checked = ($TABLE == "" || $TABLE == (substr($TABLE, -1) == "%" ? "$prefix%" : $name)); //! % may be part of table name
- $print = " |
---|
" . checkbox("tables[]", $name, $checked, $name, "checkboxClick(event, this); formUncheck('check-tables');", "block");
+ $print = " | " . checkbox("tables[]", $name, $checked, $name, "checkboxClick.call(this, event); formUncheck('check-tables');", "block");
if ($type !== null && !preg_match('~table~i', $type)) {
$views .= "$print\n";
} else {
- echo "$print | \n";
+ echo "$print | \n";
}
$prefixes[$prefix]++;
}
@@ -193,7 +193,7 @@ if (DB != "") {
}
} else {
- echo " | \n";
+ echo " | \n";
$databases = $adminer->databases();
if ($databases) {
foreach ($databases as $db) {
diff --git a/adminer/foreign.inc.php b/adminer/foreign.inc.php
index 07602db4..85779357 100644
--- a/adminer/foreign.inc.php
+++ b/adminer/foreign.inc.php
@@ -67,7 +67,7 @@ $referencable = array_keys(array_filter(table_status('', true), 'fk_support'));
$j = 0;
foreach ($row["source"] as $key => $val) {
echo " | ";
- echo "" . html_select("source[" . (+$key) . "]", array(-1 => "") + $source, $val, ($j == count($row["source"]) - 1 ? "foreignAddRow(this);" : 1), "label-source");
+ echo " | " . html_select("source[" . (+$key) . "]", array(-1 => "") + $source, $val, ($j == count($row["source"]) - 1 ? "foreignAddRow.call(this);" : 1), "label-source");
echo " | " . html_select("target[" . (+$key) . "]", $target, $row["target"][$key], 1, "label-target");
$j++;
}
diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php
index d997384f..dde21082 100644
--- a/adminer/include/adminer.inc.php
+++ b/adminer/include/adminer.inc.php
@@ -309,7 +309,7 @@ focus(qs('#username'));
$select[""] = array();
foreach ($select as $key => $val) {
$val = $_GET["columns"][$key];
- $column = select_input(" name='columns[$i][col]' onchange='" . ($key !== "" ? "selectFieldChange(this.form)" : "selectAddRow(this)") . ";'", $columns, $val["col"]);
+ $column = select_input(" name='columns[$i][col]' onchange='" . ($key !== "" ? "selectFieldChange(this.form)" : "selectAddRow.call(this)") . ";'", $columns, $val["col"]);
echo " " . ($functions || $grouping ? ""
. "($column)" : $column) . " \n";
@@ -342,7 +342,7 @@ focus(qs('#username'));
if (!$val || ("$val[col]$val[val]" != "" && in_array($val["op"], $this->operators))) {
echo "" . select_input(" name='where[$i][col]' onchange='$change_next'", $columns, $val["col"], "(" . lang('anywhere') . ")");
echo html_select("where[$i][op]", $this->operators, $val["op"], $change_next);
- echo " \n";
+ echo "\n";
}
}
echo "\n";
@@ -364,7 +364,7 @@ focus(qs('#username'));
$i++;
}
}
- echo "" . select_input(" name='order[$i]' onchange='selectAddRow(this);'", $columns);
+ echo " " . select_input(" name='order[$i]' onchange='selectAddRow.call(this);'", $columns);
echo checkbox("desc[$i]", 1, false, lang('descending')) . " \n";
echo " \n";
}
@@ -852,7 +852,7 @@ focus(qs('#username'));
foreach ($usernames as $username => $password) {
if ($password !== null) {
if ($first) {
- echo "\n";
+ echo " \n";
$first = false;
}
$dbs = $_SESSION["db"][$vendor][$server][$username];
@@ -924,7 +924,7 @@ bodyLoad('server_info,
DB: " . ($databases
? ""
: ''
@@ -951,7 +951,7 @@ bodyLoad('server_info,
* @return null
*/
function tablesPrint($tables) {
- echo " \n";
+ echo "\n";
foreach ($tables as $table => $status) {
echo '- " . lang('select') . " ";
$name = $this->tableName($status);
diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php
index 061475a1..40074132 100644
--- a/adminer/include/connect.inc.php
+++ b/adminer/include/connect.inc.php
@@ -56,7 +56,7 @@ function connect_error() {
echo "
| | \n";
echo (support("database")
? "\n"
: ""
diff --git a/adminer/include/design.inc.php b/adminer/include/design.inc.php
index 291273c8..2f40866e 100644
--- a/adminer/include/design.inc.php
+++ b/adminer/include/design.inc.php
@@ -39,7 +39,7 @@ document.body.className = document.body.className.replace(/ nojs/, ' js');
var offlineMessage = '';
-
+
- " size="3" onfocus="editingLengthFocus(this);" onchange="editingLengthChange(this);" onkeyup="this.onchange();" aria-labelledby="label-length"> | " size="3" onfocus="editingLengthFocus.call(this);" onchange="editingLengthChange.call(this);" onkeyup="this.onchange();" aria-labelledby="label-length"> | | |