From fee31e73c1fe5cbfaaf9bb729c65c29f4108dc94 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 4 Apr 2013 18:45:54 -0700 Subject: [PATCH] Display help cursor over documentation links --- adminer/include/editing.inc.php | 4 +++- adminer/static/default.css | 1 + adminer/user.inc.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index bf24bda6..2db781e4 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -49,7 +49,9 @@ function select($result, $connection2 = null, $href = "", $orgtables = array()) } $types[$j] = $field->type; $name = h($name); - echo "name != $orgname ? " title='" . h(($orgtable != "" ? "$orgtable." : "") . $orgname) . "'" : "") . ">" . ($href ? "$name" : $name); + echo "name != $orgname ? " title='" . h(($orgtable != "" ? "$orgtable." : "") . $orgname) . "'" : "") . ">" + . ($href ? "$name" : $name) + ; } echo "\n"; } diff --git a/adminer/static/default.css b/adminer/static/default.css index 99bc09f2..b5e769f6 100644 --- a/adminer/static/default.css +++ b/adminer/static/default.css @@ -46,6 +46,7 @@ input[type=image] { vertical-align: middle; } .sqlarea { width: 98%; } .icon { width: 18px; height: 18px; } .size { width: 6ex; } +.help { cursor: help; } .pages { position: fixed; bottom: 0; left: 21em; padding: 5px; background: #ddf; border: 1px solid #999; } #menu { position: absolute; margin: 10px 0 0; padding: 0 0 30px 0; top: 2em; left: 0; width: 19em; } #menu p { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; } diff --git a/adminer/user.inc.php b/adminer/user.inc.php index 7d7f24e5..cdf4360c 100644 --- a/adminer/user.inc.php +++ b/adminer/user.inc.php @@ -129,7 +129,7 @@ if ($_POST) { \n"; -echo "" . lang('Privileges') . ""; +echo "" . lang('Privileges') . ""; $i = 0; foreach ($grants as $object => $grant) { echo '' . ($object != "*.*" ? "" : "*.*"); //! separate db, table, columns, PROCEDURE|FUNCTION, routine