bug #3305606 [interface] Show all button wraps on privileges page

This commit is contained in:
Madhura Jayaratne
2011-05-22 09:30:44 +05:30
parent 16a28bbeaa
commit f5eaf8c7d8
2 changed files with 3 additions and 2 deletions

View File

@@ -1159,7 +1159,7 @@ if (!empty($update_privs)) {
$sql_query2 .= ';';
}
if (! PMA_DBI_try_query($sql_query0)) {
// This might fail when the executing user does not have ALL PRIVILEGES himself.
// This might fail when the executing user does not have ALL PRIVILEGES himself.
// See https://sourceforge.net/tracker/index.php?func=detail&aid=3285929&group_id=23067&atid=377408
$sql_query0 = '';
}
@@ -1580,7 +1580,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
echo '<td>' . $tmp_initial . '</td>';
}
}
echo '<td><a href="server_privileges.php?' . $GLOBALS['url_query'] . '&amp;showall=1">[' . __('Show all') . ']</a></td>' . "\n";
echo '<td><a href="server_privileges.php?' . $GLOBALS['url_query'] . '&amp;showall=1" class="nowrap">[' . __('Show all') . ']</a></td>' . "\n";
echo '</tr></table>';
}