From 491187ed77497cd7c851d89616a318afc60a155e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?=
Date: Mon, 16 Oct 2006 07:43:48 +0000
Subject: [PATCH] Rename left.php to navigation.php and modify all calls to
that. Only config variables are kept as Left*.
---
ChangeLog | 6 ++++++
Documentation.html | 4 ++--
index.php | 4 ++--
js/querywindow.js | 4 ++--
libraries/common.lib.php | 4 ++--
left.php => navigation.php | 20 ++++++++++----------
scripts/setup.php | 10 +++++-----
7 files changed, 29 insertions(+), 23 deletions(-)
rename left.php => navigation.php (97%)
diff --git a/ChangeLog b/ChangeLog
index 850236759..6c6316306 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,12 @@ phpMyAdmin - ChangeLog
$Id$
$HeadURL$
+2006-10-16 Michal Čihař
+ * left.php, navigation.php, scripts/setup.php, js/querywindow.js,
+ Documentation.html, index.php, libraries/common.lib.php: Rename left.php
+ to navigation.php and modify all calls to that. Only config variables
+ are kept as Left*.
+
2006-10-14 Marc Delisle
* export.php, db_details_export.php: bug #1541189, views are not displayed
in export list;
diff --git a/Documentation.html b/Documentation.html
index 865683b6f..32747434b 100644
--- a/Documentation.html
+++ b/Documentation.html
@@ -2253,7 +2253,7 @@ ALTER TABLE `pma_column_comments`
time there is no better fix): remove or comment the DOCTYPE
declarations (2 lines) from the scripts libraries/header.inc.php,
libraries/header_printview.inc.php, index.php,
- left.php and libraries/common.lib.php.
+ navigation.php and libraries/common.lib.php.
This problem is known to happen when the server is running Turck MMCache
but upgrading MMCache to version 2.3.21 solves the problem.
diff --git a/index.php b/index.php
index 44681a8d5..d40d60187 100644
--- a/index.php
+++ b/index.php
@@ -144,7 +144,7 @@ if ($GLOBALS['text_dir'] === 'ltr') {
?>" rows="*" id="mainFrameset">
diff --git a/js/querywindow.js b/js/querywindow.js
index 3d090b625..dfd2a0f3b 100644
--- a/js/querywindow.js
+++ b/js/querywindow.js
@@ -38,7 +38,7 @@ function setDb(new_db) {
}
/**
- * sets current selected table (called from left.php)
+ * sets current selected table (called from navigation.php)
*
* @param string table name
*/
@@ -80,7 +80,7 @@ function refreshMain(url) {
}
function refreshNavigation() {
- goTo('left.php?server=' + server +
+ goTo('navigation.php?server=' + server +
'&db=' + db +
'&table=' + table +
'&lang=' + lang +
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index eb113fcd4..7fc3a8483 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -1201,7 +1201,7 @@ if (!defined('PMA_MINIMUM_COMMON')) {
// Reloads the navigation frame via JavaScript if required
if (isset($GLOBALS['reload']) && $GLOBALS['reload']) {
echo "\n";
- $reload_url = './left.php?' . PMA_generate_common_url((isset($GLOBALS['db']) ? $GLOBALS['db'] : ''), '', '&');
+ $reload_url = './navigation.php?' . PMA_generate_common_url((isset($GLOBALS['db']) ? $GLOBALS['db'] : ''), '', '&');
?>