#742632 (once again...with feeling :)
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-05-25 Garvin Hicking <me@supergarv.de>
|
||||
* left.php3: Fix #742632 finally: Refresh to main.php3
|
||||
if an empty DB has been selected.
|
||||
|
||||
2003-05-25 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* left.php3: new fix for #742632
|
||||
* lang/polish: update, thanks to Jakub Wilk
|
||||
|
@@ -258,6 +258,10 @@ if (isset($lightm_db) && !empty($lightm_db)) {
|
||||
?>
|
||||
window.parent.frames['phpmain<?php echo $hash; ?>'].location.replace('./<?php echo $cfg['DefaultTabDatabase'] . '?' . PMA_generate_common_url($db, '', '&');?>');
|
||||
<?php
|
||||
} elseif (isset($lightm_db)) {
|
||||
?>
|
||||
window.parent.frames['phpmain<?php echo $hash; ?>'].location.replace('./main.php3?<?php echo PMA_generate_common_url('', '', '&');?>');
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
//-->
|
||||
@@ -356,10 +360,13 @@ echo "\n";
|
||||
if ($num_dbs > 1) {
|
||||
|
||||
// Light mode -> beginning of the select combo for databases
|
||||
// Note: When javascript is active, the frameset will be changed from
|
||||
// within left.php3. With no JS (<noscript>) the whole frameset will
|
||||
// be rebuilt with the new target frame.
|
||||
if ($cfg['LeftFrameLight']) {
|
||||
?>
|
||||
<script type="text/javascript" language="javascript">
|
||||
document.writeln('<form method="post" action="index.php3" name="left" target="_parent">');
|
||||
document.writeln('<form method="post" action="left.php3" name="left" target="nav">');
|
||||
</script>
|
||||
<noscript>
|
||||
<form method="post" action="index.php3" name="left" target="_parent">
|
||||
|
Reference in New Issue
Block a user