From ae334f43a51174f9ee231f5a0700d4b47391705c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 19 Jan 2002 23:21:59 +0000 Subject: [PATCH] * patch #501282 - JavaScript strict warnings * fix a js bug * use localized strings --- left.php3 | 168 +++++++++++++++++++++++++++--------------------------- 1 file changed, 83 insertions(+), 85 deletions(-) diff --git a/left.php3 b/left.php3 index 27a9c1153..bb7234747 100755 --- a/left.php3 +++ b/left.php3 @@ -194,13 +194,13 @@ echo "\n"; if ($num_dbs > 1) { if ($lightMode) { - echo '
'; - echo ''; - echo ''; - echo '' . "\n"; + echo ' ' . "\n"; + echo ' ' . "\n"; + echo ' ' . "\n"; + echo '
' . "\n"; + + if (!$table_list) { + $table_list = ' ' . $strSelectADb . "\n"; } - if (!empty($num_tables)) { - echo ""; - } else { - echo ""; - } + // Displays the current database name and the list of tables it + // contains + echo $db_name; + echo '
' . "\n"; + echo $table_list; + echo '
' . "\n"; -} // if lightMode - - } // end for $t (db list) - - -if ($lightMode) { - - echo ''; - echo ''; - echo ''; - - if (!$table_list) { - $table_list = "please select a db"; - } - - echo "$db_name
$table_list
"; - -} else { // lightmode == 0 - - ?> + } else { // lightmode == 0 + ?> - 1)