diff --git a/ChangeLog b/ChangeLog index ccd348beb..82645e4db 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,9 @@ $Source$ * scripts/upgrade.pl: new script to let unix admins upgrade phpMyadmin with one command and 5 seconds. To be improved, but is working fine here (tm). Based on: http://www.phpmyadmin.net/latest.txt + * server_privileges.php: always display the "Add a new user" link + on the User overview page (no more need to click on [show all] or + an initial before) 2005-05-05 Marc Delisle * libraries/mysql_charsets.lib.php: bug #1186983, missing character diff --git a/server_privileges.php b/server_privileges.php index d8b69d1bc..03f92ebb5 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -1136,8 +1136,25 @@ if (empty($adduser) && empty($checkprivs)) { . '
' . "\n" . ' ' . sprintf($strFlushPrivilegesNote, '', '') . "\n" . '
' . "\n"; + } else { + + unset ($row); + echo '
' . "\n" + . ' ' . "\n" . ' ' + . '
' : 'width="20" nowrap="nowrap" align="center" valign="top">' ). "\n" + . ' ' . $strAddUser . '' . "\n" + . ' ' . "\n" + . '
' . "\n" + . '' . "\n" + . '
' . "\n" + . ' ' . sprintf($strFlushPrivilegesNote, '', '') . "\n" + . '
' . "\n"; } // end if (display overview) - } + + } + + } else { // A user was selected -> display the user's properties