diff --git a/ChangeLog b/ChangeLog
index efa70dc94..e7c346d0e 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
+2002-01-18 Olivier Müller
+ * left.php3 db_details.php3, index.php3, main.php3, libraries/common.lib.php3:
+ removed the leftlight.php3 file, and put all the code in left.php3: it
+ should be cleaner and "nicer" this way.
+
2002-01-15 Marc Delisle
* read_dump.php3, Documentation.html: support for open_basedir,
thanks to Alessandro Ranellucci for the idea
diff --git a/db_details.php3 b/db_details.php3
index 9c1059e36..472b25f71 100755
--- a/db_details.php3
+++ b/db_details.php3
@@ -37,15 +37,6 @@ if (!isset($is_db) || !$is_db) {
}
} // end if (ensures db exists)
-// Select the file to be displayed
-
-if ($cfgLeftFrameLight) {
- $leftFrame = "leftlight.php3";
-} else {
- $leftFrame = "left.php3";
-}
-
-
// Displays headers
if (!isset($message)) {
$js_to_run = 'functions.js';
@@ -56,8 +47,7 @@ if (!isset($message)) {
?>
; font-size:
';
-} // end if ($num_dbs == 0)
-echo "\n";
-?>
-
-
-
-
-
diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3
index 7db14aa65..c03eb2f3e 100644
--- a/libraries/common.lib.php3
+++ b/libraries/common.lib.php3
@@ -808,16 +808,10 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
function PMA_showMessage($message)
{
- if (isset($GLOBALS['cfgLeftFrameLight']) && $GLOBALS['cfgLeftFrameLight']) {
- $leftFrame = "leftlight.php3";
- } else {
- $leftFrame = "left.php3";
- }
-
// Reloads the navigation frame via JavaScript if required
if (isset($GLOBALS['reload']) && $GLOBALS['reload']) {
echo "\n";
- $reload_url = './' . $leftFrame
+ $reload_url = './left.php3'
. '?lang=' . $GLOBALS['lang']
. '&server=' . $GLOBALS['server']
. ((!empty($GLOBALS['db'])) ? '&db=' . urlencode($GLOBALS['db']) : '');
diff --git a/main.php3 b/main.php3
index 59134c7fa..02d6af3ce 100755
--- a/main.php3
+++ b/main.php3
@@ -26,20 +26,11 @@ if (isset($message)) {
else if (isset($reload) && $reload) {
// Reloads the navigation frame via JavaScript if required
- // Select the file to be displayed
-
- if ($cfgLeftFrameLight) {
- $leftFrame = "leftlight.php3";
- } else {
- $leftFrame = "left.php3";
- }
-
echo "\n";
?>