Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cancel link for multi-edit

  • Loading branch information...
commit 78adfc2e3a433eab16432895549cfb0af945b3b2 1 parent a1f2769
@vrana vrana authored
Showing with 5 additions and 0 deletions.
  1. +3 −0  adminer/edit.inc.php
  2. +2 −0  adminer/lang/cs.inc.php
View
3  adminer/edit.inc.php
@@ -106,5 +106,8 @@
if ($update) {
echo "<input type='submit' name='delete' value='" . lang('Delete') . "' onclick=\"return confirm('" . lang('Are you sure?') . "')" . (isset($_GET["select"]) ? " &amp;&amp; !ajaxForm(this.form, 'delete=1')" : "") . ";\">\n";
}
+if (isset($_GET["select"])) {
+ echo "<a href='" . h($_SERVER["REQUEST_URI"]) . "' onclick='return !ajax(this.href);'>" . lang('Cancel') . "</a>\n";
+}
?>
</form>
View
2  adminer/lang/cs.inc.php
@@ -290,4 +290,6 @@
// function translation used in Editor
'now' => 'teď',
+
+ 'Cancel' => 'Storno',
);
Please sign in to comment.
Something went wrong with that request. Please try again.