diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php
index 45ba46d2..4d3be410 100644
--- a/adminer/include/connect.inc.php
+++ b/adminer/include/connect.inc.php
@@ -36,7 +36,7 @@ function connect_error() {
. "
" . lang('Database') . " - " . lang('Refresh') . ""
. " | " . lang('Collation')
. " | " . lang('Tables')
- . " | " . lang('Size') . " - " . lang('Compute') . ""
+ . " | " . lang('Size') . " - " . lang('Compute') . ""
. "\n"
;
@@ -57,7 +57,7 @@ function connect_error() {
echo "\n";
echo (support("database")
? "\n"
: ""
diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php
index 0953e52d..3bd4d0fa 100644
--- a/adminer/include/functions.inc.php
+++ b/adminer/include/functions.inc.php
@@ -119,8 +119,8 @@ function checkbox($name, $value, $checked, $label = "", $onclick = "", $class =
$return = ""
+ . ($onclick ? "" : "")
;
return ($label != "" || $class ? "" : $return);
}
@@ -160,9 +160,10 @@ function optionlist($options, $selected = null, $use_keys = false) {
function html_select($name, $options, $value = "", $onchange = true, $labelled_by = "") {
if ($onchange) {
return "";
+ . ">" . optionlist($options, $value) . ""
+ . (is_string($onchange) ? "" : "")
+ ;
}
$return = "";
foreach ($options as $key => $val) {
diff --git a/adminer/select.inc.php b/adminer/select.inc.php
index 6a8e95b9..ef9d3e48 100644
--- a/adminer/select.inc.php
+++ b/adminer/select.inc.php
@@ -465,7 +465,7 @@ if (!$columns && support("table")) {
);
if ($jush != "simpledb") {
echo '' . lang('Page') . ":";
- echo "\n";
+ echo "\n";
echo pagination(0, $page) . ($page > 5 ? " ..." : "");
for ($i = max(1, $page - 4); $i < min($max_page, $page + 5); $i++) {
echo pagination($i, $page);
|