diff --git a/ChangeLog b/ChangeLog index 0a6893943..6050b8d0e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -6,8 +6,10 @@ $Id$ $Source$ 2002-05-25 Loïc Chapeaux - * libraries/common.lib.php3: fixed a PHP3 bug, warnings and coding - standards. + * libraries/common.lib.php3: + - fixed a PHP3 bug and warnings; + - optimized a bit; + - coding standards. * lang/english.inc.php3; lang/french.inc.php3: sorted. * header.inc.php3: enforce relative url in CSS. * tbl_relation.php3: diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index 67428c034..27bfaf473 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -921,6 +921,12 @@ if (typeof(document.getElementById) != 'undefined' @@ -953,15 +959,19 @@ if (typeof(document.getElementById) != 'undefined' $edit_target = ''; } if ($edit_target == 'tbl_properties.php3') { - $edit_link = '' . $GLOBALS['strEdit'] . ''; + $edit_link = '' . $GLOBALS['strEdit'] . ''; } else if ($edit_target != '') { - $edit_link = '' . $GLOBALS['strEdit'] . ''; + $edit_link = '' . $GLOBALS['strEdit'] . ''; } // Want to have the query explained (Mike Beck 2002-05-22) // but do not explain an explain (lem9) if (!eregi('^EXPLAIN[[:space:]]+', $GLOBALS['sql_query'])) { - $explain_link = '[' . $GLOBALS['strExplain'] . '] '; } else { $explain_link = ''; @@ -969,15 +979,15 @@ if (typeof(document.getElementById) != 'undefined' // Also we would like to get the SQL formed in some nice // php-code (Mike Beck 2002-05-22) if (!empty($GLOBALS['show_as_php'])) { - $php_link = '' . $GLOBALS['strNoPhp'] . ''; } else { - $php_link = '' . $GLOBALS['strPhp'] . ''; } - } + } // end if (prepare links) // Displays the message echo ' ' . $GLOBALS['strSQLQuery'] . ' :';