]> git.joonet.de Git - adminer.git/commitdiff
Move 'Create user' above the list of users
authorJakub Vrana <jakub@vrana.cz>
Mon, 20 Feb 2017 15:52:10 +0000 (16:52 +0100)
committerJakub Vrana <jakub@vrana.cz>
Mon, 20 Feb 2017 15:52:10 +0000 (16:52 +0100)
adminer/privileges.inc.php

index 5d184cebbc3d956f1811379e770533d3974152ac..d071461f129a73674f479a00e5dbaa36be082412 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 page_header(lang('Privileges'));
 
+echo '<p class="links"><a href="' . h(ME) . 'user=">' . lang('Create user') . "</a>";
+
 $result = $connection->query("SELECT User, Host FROM mysql." . (DB == "" ? "user" : "db WHERE " . q(DB) . " LIKE Db") . " ORDER BY Host, User");
 $grant = $result;
 if (!$result) {
@@ -25,5 +27,3 @@ if (!$grant || DB != "") {
 
 echo "</table>\n";
 echo "</form>\n";
-
-echo '<p class="links"><a href="' . h(ME) . 'user=">' . lang('Create user') . "</a>";