mirror of
https://github.com/vrana/adminer.git
synced 2026-03-06 12:31:45 +01:00
Use
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@667 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -162,7 +162,7 @@ foreach (array(
|
||||
$name = '"grants[' . $i . '][' . htmlspecialchars(strtoupper($privilege)) . ']"';
|
||||
$value = $grant[strtoupper($privilege)];
|
||||
if ($context == "Server Admin" && $object != (isset($grants["*.*"]) ? "*.*" : "")) {
|
||||
echo "<td></td>";
|
||||
echo "<td> </td>";
|
||||
} elseif (isset($_GET["grant"])) {
|
||||
echo "<td><select name=$name><option></option><option value='1'" . ($value ? " selected='selected'" : "") . ">" . lang('Grant') . "</option><option value='0'" . ($value == "0" ? " selected='selected'" : "") . ">" . lang('Revoke') . "</option></select></td>";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user