Don't display server choice here, if also in left frame (RFE #984153).

This commit is contained in:
Michal Čihař
2004-10-21 15:52:39 +00:00
parent 4892148d1d
commit b0468dce56
2 changed files with 6 additions and 2 deletions

View File

@@ -18,6 +18,8 @@ $Source$
* mult_submits.inc.php, tbl_properties_structure.php: Allow index creating
on multiple fields (RFE #990136).
* db_operations.php: Duplicate create new table dialog (see RFE #808029).
* main.php: Don't display server choice here, if also in left frame (RFE
#984153).
2004-10-20 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php: there was already a tip icon in our collection,

View File

@@ -147,8 +147,10 @@ if (($server > 0) && isset($mode) && ($mode == 'reload')) {
/**
* Displays the MySQL servers choice form
*/
$show_server_left = FALSE;
include('./libraries/select_server.lib.php');
if (!$cfg['LeftDisplayServers']) {
$show_server_left = FALSE;
include('./libraries/select_server.lib.php');
}
// neted table needed
?>