add sub-message
This commit is contained in:
@@ -118,13 +118,13 @@ function PMA_tableGrants(&$host_db_result, $dbcheck = FALSE) {
|
||||
$revoke_url = 'sql.php3'
|
||||
. '?' . $url_query
|
||||
. '&sql_query=' . urlencode('REVOKE ' . $priv . ' ON ' . PMA_backquote($db) . '.' . PMA_backquote($table) . ' FROM \'' . $row['User'] . '\'@\'' . $row['Host'] . '\'')
|
||||
. '&zero_rows=' . urlencode(sprintf($GLOBALS['strRevokeMessage'], ' <span style="color: #002E80">' . $row['User'] . '@' . $row['Host'] . '</span>'))
|
||||
. '&zero_rows=' . urlencode(sprintf($GLOBALS['strRevokeMessage'], ' <span style="color: #002E80">' . $row['User'] . '@' . $row['Host'] . '</span>'). '<br />' . $GLOBALS['strRememberReload'])
|
||||
. '&goto=user_details.php3';
|
||||
if ($grantopt) {
|
||||
$revoke_grant_url = 'sql.php3'
|
||||
. '?' . $url_query
|
||||
. '&sql_query=' . urlencode('REVOKE GRANT OPTION ON ' . PMA_backquote($db) . '.' . PMA_backquote($table) . ' FROM \'' . $row['User'] . '\'@\'' . $row['Host'] . '\'')
|
||||
. '&zero_rows=' . urlencode(sprintf($GLOBALS['strRevokeGrantMessage'], ' <span style="color: #002E80">' . $row['User'] . '@' . $row['Host'] . '</span>'))
|
||||
. '&zero_rows=' . urlencode(sprintf($GLOBALS['strRevokeGrantMessage'], ' <span style="color: #002E80">' . $row['User'] . '@' . $row['Host'] . '</span>'). '<br />' . $GLOBALS['strRememberReload'])
|
||||
. '&goto=user_details.php3';
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user