From fb923f851afa595332e2d6ee6516590bf6f358e4 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Thu, 3 Nov 2005 17:50:09 +0000 Subject: [PATCH] fixed some rtl lang issues --- ChangeLog | 2 ++ left.php | 56 +++++++++++++++++++++++++--------------- libraries/common.lib.php | 11 +++++--- 3 files changed, 44 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3691e1f50..c979d0a4e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,8 @@ $Source$ fixed different font sizes * footer.inc.php, libraries/dbg/*: use $GLOBALS as this scripts can be included from inside a function + * left.php, libraries/common.lib.php: + fixed some rtl lang issues 2005-11-02 Michal Čihař * config.default.php: This is not a configuration file. diff --git a/left.php b/left.php index 4ddec556e..4ff3e955d 100644 --- a/left.php +++ b/left.php @@ -6,18 +6,13 @@ */ /** - * Gets the variables sent to this script, retains the db name that may have - * been defined as startup option and include a core library + * Gets a core script and starts output buffering work */ -require_once('./libraries/grab_globals.lib.php'); +require_once('./libraries/common.lib.php'); // free the session file, for the other frames to be loaded session_write_close(); -/** - * Gets a core script and starts output buffering work - */ -require_once('./libraries/common.lib.php'); require_once('./libraries/ob.lib.php'); if ($GLOBALS['cfg']['OBGzip']) { $ob_mode = PMA_outBufferModeGet(); @@ -160,8 +155,7 @@ if ( $num_dbs === 0 ) { .'' . "\n"; unset( $_location ); } -?> - +?> diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 60a4b133c..ebe96841c 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -898,9 +898,12 @@ function PMA_getDbList() { */ function PMA_getHtmlSelectDb( $selected = '' ) { $dblist = PMA_getDbList(); - $return = '