db view: add Privileges tab, and server view: add a back link to the db while checking privileges

This commit is contained in:
Marc Delisle
2005-05-08 10:53:56 +00:00
parent 8e34b8e8b1
commit a6a0822ed0
2 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,12 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-05-08 Marc Delisle <lem9@users.sourceforge.net>
* db_details_links.php: patch #1196806, add a Privileges tab
in db view, thanks to Herman van Rink - helmo
* server_privileges.php: add a back link to the db on which
we are checking privileges
2005-05-08 Olivier Mueller <om@omnis.ch>
* scripts/upgrade.pl: new script to let unix admins upgrade phpMyadmin
with one command and 5 seconds. To be improved, but is working fine

View File

@@ -1438,7 +1438,7 @@ if (empty($adduser) && empty($checkprivs)) {
// check the privileges for a particular database.
echo '<h2>' . "\n"
. ($cfg['PropertiesIconic'] ? '<img src="' . $pmaThemeImage . 'b_usrcheck.png" width="16" height="16" border="0" hspace="2" align="middle" />' : '' )
. ' ' . sprintf($strUsersHavingAccessToDb, htmlspecialchars($checkprivs)) . "\n"
. ' ' . sprintf($strUsersHavingAccessToDb, '<a href="' . $GLOBALS['cfg']['DefaultTabDatabase'] . '?' . PMA_generate_common_url($checkprivs) . '">' . htmlspecialchars($checkprivs) . '</a>') . "\n"
. '</h2>' . "\n"
. '<table border="0" cellpadding="2" cellspacing="1">' . "\n"
. ' <tr>' . "\n"