]> git.joonet.de Git - adminer.git/commitdiff
Add class to use in designs
authorJakub Vrana <jakub@vrana.cz>
Tue, 6 Feb 2018 07:47:13 +0000 (08:47 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 6 Feb 2018 07:47:28 +0000 (08:47 +0100)
adminer/select.inc.php
adminer/static/default.css

index 5a3cf6d11dab16eb6a80f17312cde0e04381200b..328602d3c77621a57f6b81775910eb58dc6053c8 100644 (file)
@@ -383,7 +383,10 @@ if (!$columns && support("table")) {
                                        }
                                        $unique_idf .= "&" . ($val !== null ? urlencode("where[" . bracket_escape($key) . "]") . "=" . urlencode($val) : "null%5B%5D=" . urlencode($key));
                                }
-                               echo "<tr" . odd() . ">" . (!$group && $select ? "" : "<td>" . checkbox("check[]", substr($unique_idf, 1), in_array(substr($unique_idf, 1), (array) $_POST["check"]), "", "this.form['all'].checked = false; formUncheck('all-page');") . ($is_group || information_schema(DB) ? "" : " <a href='" . h(ME . "edit=" . urlencode($TABLE) . $unique_idf) . "'>" . lang('edit') . "</a>"));
+                               echo "<tr" . odd() . ">" . (!$group && $select ? "" : "<td>"
+                                       . checkbox("check[]", substr($unique_idf, 1), in_array(substr($unique_idf, 1), (array) $_POST["check"]), "", "this.form['all'].checked = false; formUncheck('all-page');")
+                                       . ($is_group || information_schema(DB) ? "" : " <a href='" . h(ME . "edit=" . urlencode($TABLE) . $unique_idf) . "' class='edit'>" . lang('edit') . "</a>")
+                               );
 
                                foreach ($row as $key => $val) {
                                        if (isset($names[$key])) {
index 898f272430cf5aad0b54e2b04e6fa70ddee02865..41835061e78dacc001407035d507d129fe423f44 100644 (file)
@@ -62,6 +62,7 @@ input.wayoff { left: -1000px; position: absolute; }
 .links a { white-space: nowrap; margin-right: 20px; }
 .logout { margin-top: .5em; position: absolute; top: 0; right: 0; }
 .loadmore { margin-left: 1ex; }
+/* .edit used in designs */
 #menu { position: absolute; margin: 10px 0 0; padding: 0 0 30px 0; top: 2em; left: 0; width: 19em; }
 #menu p, #tables { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
 #tables li{ list-style: none; }