"
. (ereg('^(sql|sqlite|pgsql)$', $jush) ? ($jush != "sqlite" ? "
" : "") . "
" : "")
. ($jush == "sql" ? "
" : "")
- . (support("table") ? "
" : "")
- . "
\n";
+ . (support("table") ? "
" : "")
+ . "
\n";
$databases = (support("scheme") ? schemas() : $adminer->databases());
if (count($databases) != 1 && $jush != "sqlite") {
$db = (isset($_POST["target"]) ? $_POST["target"] : (support("scheme") ? $_GET["ns"] : DB));
diff --git a/adminer/edit.inc.php b/adminer/edit.inc.php
index 91ff9844..0046f3e8 100644
--- a/adminer/edit.inc.php
+++ b/adminer/edit.inc.php
@@ -168,7 +168,7 @@ if ($fields) {
) . "' title='Ctrl+Shift+Enter'>\n";
}
}
-echo ($update ? "
\n"
+echo ($update ? "
\n"
: ($_POST || !$fields ? "" : "\n")
);
if (isset($_GET["select"])) {
diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php
index 93eac11e..907900ee 100644
--- a/adminer/include/connect.inc.php
+++ b/adminer/include/connect.inc.php
@@ -47,7 +47,7 @@ function connect_error() {
echo (support("database")
? "
\n"
: ""
);
diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php
index 491117b4..6077b056 100644
--- a/adminer/include/functions.inc.php
+++ b/adminer/include/functions.inc.php
@@ -164,11 +164,10 @@ function select_input($attrs, $options, $value = "", $placeholder = "") {
}
/** Get onclick confirmation
-* @param string JavaScript expression
* @return string
*/
-function confirm($count = "") {
- return " onclick=\"return confirm('" . lang('Are you sure?') . ($count ? " (' + $count + ')" : "") . "');\"";
+function confirm() {
+ return " onclick=\"return confirm('" . lang('Are you sure?') . "');\"";
}
/** Print header for hidden fieldset (close by