Fix bug #3188444 (part 2) - DB-specific privileges and Ajax
This commit is contained in:

committed by
Michal Čihař

parent
752a31414d
commit
16ff0aed79
@@ -2161,7 +2161,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
|
||||
. '</form>' . "\n";
|
||||
} else {
|
||||
// check the privileges for a particular database.
|
||||
echo '<table id="tablespecificuserrights" class="data">' . "\n"
|
||||
echo '<form id="usersForm"><table id="tablespecificuserrights" class="data">' . "\n"
|
||||
. '<caption class="tblHeaders">' . "\n"
|
||||
. PMA_getIcon('b_usrcheck.png')
|
||||
. ' ' . sprintf(__('Users having access to "%s"'), '<a href="' . $GLOBALS['cfg']['DefaultTabDatabase'] . '?' . PMA_generate_common_url($checkprivs) . '">' . htmlspecialchars($checkprivs) . '</a>') . "\n"
|
||||
@@ -2309,7 +2309,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
|
||||
. ' </tr>' . "\n";
|
||||
}
|
||||
echo '</tbody>' . "\n"
|
||||
. '</table>' . "\n";
|
||||
. '</table></form>' . "\n";
|
||||
|
||||
// Offer to create a new user for the current database
|
||||
echo '<fieldset id="fieldset_add_user">' . "\n"
|
||||
|
Reference in New Issue
Block a user