This commit is contained in:
Alexander M. Turek
2005-03-30 18:17:40 +00:00
parent c75c76833a
commit 59bdd7f0b4
2 changed files with 9 additions and 3 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2005-03-30 Alexander M. Turek <me@derrabus.de>
* server_databases.php: Bug #1172782 (Don't allow to drop
information_schema).
2005-03-30 Marc Delisle <lem9@users.sourceforge.net> 2005-03-30 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: Patch #1164699, clarification about PmaAbsoluteURI, * Documentation.html: Patch #1164699, clarification about PmaAbsoluteURI,
thanks to Isaac Bennetch - ibennetch thanks to Isaac Bennetch - ibennetch

View File

@@ -237,9 +237,11 @@ if (count($statistics) > 0) {
$total_calc['tot_sz'] += $current['tot_sz']; $total_calc['tot_sz'] += $current['tot_sz'];
echo ' <tr>' . "\n"; echo ' <tr>' . "\n";
if ($is_superuser || $cfg['AllowUserDropDatabase']) { if ($is_superuser || $cfg['AllowUserDropDatabase']) {
echo ' <td bgcolor="' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '">' . "\n" echo ' <td bgcolor="' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '">' . "\n";
. ' <input type="checkbox" name="selected_db[]" title="' . htmlspecialchars($current['db_name']) . '" value="' . htmlspecialchars($current['db_name']) . '" ' . (empty($checkall) ? '' : 'checked="checked" ') . '/>' . "\n" if (PMA_MYSQL_INT_VERSION < 50002 || $current['db_name'] != 'information_schema') {
. ' </td>' . "\n"; echo ' <input type="checkbox" name="selected_db[]" title="' . htmlspecialchars($current['db_name']) . '" value="' . htmlspecialchars($current['db_name']) . '" ' . (empty($checkall) ? '' : 'checked="checked" ') . '/>' . "\n";
}
echo ' </td>' . "\n";
} }
echo ' <td bgcolor="' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '">' . "\n" echo ' <td bgcolor="' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '">' . "\n"
. ' <a onclick="reload_window(\'' . urlencode($current['db_name']) . '\'); return true;" href="' . $cfg['DefaultTabDatabase'] . '?' . $url_query . '&amp;db=' . urlencode($current['db_name']) . '" title="' . sprintf($strJumpToDB, htmlspecialchars($current['db_name'])) . '">' . "\n" . ' <a onclick="reload_window(\'' . urlencode($current['db_name']) . '\'); return true;" href="' . $cfg['DefaultTabDatabase'] . '?' . $url_query . '&amp;db=' . urlencode($current['db_name']) . '" title="' . sprintf($strJumpToDB, htmlspecialchars($current['db_name'])) . '">' . "\n"