bug #1404565, left frame refresh on db drop from Databases link in main page
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2006-02-09 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* libraries/mult_submit.inc.php: bug #1404565, left frame refresh on
|
||||||
|
db drop from Databases link in main page
|
||||||
|
|
||||||
2006-02-08 Marc Delisle <lem9@users.sourceforge.net>
|
2006-02-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/Config.class.php: leave the possibility of having a
|
* libraries/Config.class.php: leave the possibility of having a
|
||||||
backslash in the path on non-Windows system, thanks to Michal;
|
backslash in the path on non-Windows system, thanks to Michal;
|
||||||
|
@@ -151,6 +151,7 @@ if ( !empty($submit_mult) && !empty($what)) {
|
|||||||
$full_query .= 'DROP DATABASE '
|
$full_query .= 'DROP DATABASE '
|
||||||
. PMA_backquote(htmlspecialchars(urldecode($sval)))
|
. PMA_backquote(htmlspecialchars(urldecode($sval)))
|
||||||
. ';<br />';
|
. ';<br />';
|
||||||
|
$reload = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'drop_tbl':
|
case 'drop_tbl':
|
||||||
@@ -236,6 +237,9 @@ if ( !empty($submit_mult) && !empty($what)) {
|
|||||||
} else {
|
} else {
|
||||||
echo PMA_generate_common_hidden_inputs();
|
echo PMA_generate_common_hidden_inputs();
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
<input type="hidden" name="reload" value="<?php echo isset($reload) ? PMA_sanitize($reload) : 0; ?>" />
|
||||||
|
<?php
|
||||||
foreach ($selected AS $idx => $sval) {
|
foreach ($selected AS $idx => $sval) {
|
||||||
echo '<input type="hidden" name="selected[]" value="' . htmlspecialchars($sval) . '" />' . "\n";
|
echo '<input type="hidden" name="selected[]" value="' . htmlspecialchars($sval) . '" />' . "\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user