diff --git a/config.inc.php3 b/config.inc.php3 index 87603827e..5b00e9731 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -70,7 +70,7 @@ $cfgServers[3]['bookmarktable'] = ''; // or set it to 0 to be given a list of servers without logging in // If you have only one server configured, $cfgServerDefault *MUST* be // set to that server. -$cfgServerDefault = 1; // Default server (0 = no default server) +$cfgServerDefault = 1; // Default server (0 = no default server) $cfgServer = ''; unset($cfgServers[0]); @@ -81,13 +81,13 @@ unset($cfgServers[0]); $cfgConfirm = TRUE; $cfgPersistentConnections = FALSE; $cfgShowBlob = FALSE; -$cfgProtectBlob = FALSE; +$cfgProtectBlob = FALSE; $cfgShowSQL = TRUE; $cfgSkipLockedTables = FALSE; // mark used tables, make possible to show // locked tables (since MySQL 3.23.30) $cfgMaxRows = 30; $cfgOrder = 'ASC'; -$cfgOBGzip = TRUE; // GZIP output buffering +$cfgOBGzip = TRUE; // GZIP output buffering $cfgGZipDump = TRUE; // Allow the use of gzip/bzip compression $cfgBZipDump = TRUE; // for dump files @@ -118,11 +118,11 @@ $cfgThBgcolor = '#D3DCE3'; $cfgBgcolorOne = '#CCCCCC'; $cfgBgcolorTwo = '#DDDDDD'; $cfgTextareaCols = 40; -$cfgLimitChars = 50; // max field data length in browse mode $cfgTextareaRows = 7; +$cfgLimitChars = 50; // max field data length in browse mode $cfgModifyDeleteAtLeft = TRUE; $cfgModifyDeleteAtRight = FALSE; -$cfgLeftWidth = 150; // left frame width +$cfgLeftWidth = 150; // left frame width /** diff --git a/db_details.php3 b/db_details.php3 index bd8291311..4976286a3 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -200,8 +200,8 @@ else if (MYSQL_MAJOR_VERSION >= 3.23 && isset($tbl_cache)) { ?> -    - ( ) +    + () diff --git a/left.php3 b/left.php3 index 10de45394..52458d362 100755 --- a/left.php3 +++ b/left.php3 @@ -192,7 +192,7 @@ if ($num_dbs > 1) { echo "\n"; ?> - () + ()
@@ -253,7 +253,7 @@ else if ($num_dbs == 1) { ?>
- () + ()
 [BLOB] ' . "\n"; } else { - if (strlen($row[$i]) > $cfgLimitChars){ - $row[$i] = substr($row[$i],0,$cfgLimitChars) . "..."; + if (strlen($row[$i]) > $GLOBALS['cfgLimitChars']) { + $row[$i] = substr($row[$i], 0, $cfgLimitChars) . '...'; } echo '  ' . htmlspecialchars($row[$i]) . ' ' . "\n"; }