]> git.joonet.de Git - adminer.git/commitdiff
Fix typos after 22a3efe
authorJakub Vrana <jakub@vrana.cz>
Mon, 17 Mar 2025 13:26:56 +0000 (14:26 +0100)
committerJakub Vrana <jakub@vrana.cz>
Mon, 17 Mar 2025 13:28:04 +0000 (14:28 +0100)
adminer/create.inc.php
adminer/include/editing.inc.php

index e02452d6142763c7d39d586d30f119e6de3066ab..84c4271d80174e832c08ce96f0e297c24d4109f0 100644 (file)
@@ -188,7 +188,7 @@ if (support("columns") || $TABLE == "") {
                echo "<datalist id='collations'>" . optionlist($collations) . "</datalist>";
                echo (preg_match("~sqlite|mssql~", JUSH) ? "" : "<input list='collations' name='Collation' value='" . h($row["Collation"]) . "' placeholder='(" . lang('collation') . ")'>");
        }
-       echo "<input type='submit' value='<?php echo lang('Save'); ?>'>\n";
+       echo "<input type='submit' value='" . lang('Save') . "'>\n";
 }
 
 if (support("columns")) {
@@ -198,7 +198,7 @@ if (support("columns")) {
        echo "</table>\n";
        echo script("editFields();");
        echo "</div>\n<p>\n";
-       echo lang('Auto Increment') . "<input type='number' name='Auto_increment' class='size' value='" . h($row["Auto_increment"]) . "'>\n";
+       echo lang('Auto Increment') . "<input type='number' name='Auto_increment' class='size' value='" . h($row["Auto_increment"]) . "'>\n";
        echo checkbox("defaults", 1, ($_POST ? $_POST["defaults"] : get_setting("defaults")), lang('Default values'), "columnShow(this.checked, 5)", "jsonly");
        $comments = ($_POST ? $_POST["comments"] : get_setting("comments"));
        echo (support("comment")
index 998787a5c7fe207a1cf6dc8aedacbf83e348b7c6..342ead48fb2a1f89ad82e9439f9b01212dfc5700 100644 (file)
@@ -357,7 +357,7 @@ function edit_fields($fields, $collations, $type = "TABLE", $foreign_keys = arra
                echo "<tr" . ($display ? "" : " style='display: none;'") . ">\n";
                echo ($type == "PROCEDURE" ? "<td>" . html_select("fields[$i][inout]", explode("|", $driver->inout), $field["inout"]) : "") . "<th>";
                if ($display) {
-                       echo "<input name='fields[$][field]' value='" . h($field["field"]) . "' data-maxlength='64' autocapitalize='off' aria-labelledby='label-name'>\n";
+                       echo "<input name='fields[$i][field]' value='" . h($field["field"]) . "' data-maxlength='64' autocapitalize='off' aria-labelledby='label-name'>\n";
                }
                echo "<input type='hidden' name='fields[$i][orig]' value='" . h($orig) . "'>";
                edit_type("fields[$i]", $field, $collations, $foreign_keys);