From a469510ae2521ba2a140d7df9fcfdcbe671398ee Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Tue, 26 Aug 2003 18:59:35 +0000 Subject: [PATCH] Hey, don't always forget to update the config revision, guys! --- ChangeLog | 9 ++++++--- libraries/common.lib.php3 | 14 +++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index b223d6ad2..7ed9d76c6 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,19 +5,22 @@ phpMyAdmin - Changelog $Id$ $Source$ -2003-08-25 Michal Cihar +2003-08-26 Alexander M. Turek + * libraries/common.lib.php3: Backwards compatibility. + +2003-08-26 Michal Cihar * config.inc.php3, lang/*, libraries/config_import.lib.php3, libraries/display_export.lib.php3, libraries/export/latex.php3: Improved LaTeX export (patch #777451). 2003-08-25 Michal Cihar * lang/czech: Updated. - + 2003-08-25 Marc Delisle * tbl_relations.php3, tbl_properties_table_info.php3, /lang: InnoDB relations (for now, same db, only one index column, and no ON DELETE or ON UPDATE clauses) - + 2003-08-25 Alexander M. Turek * tbl_rename.php3: After renaming a table, move back to tbl_properties_operations.php3 instead of tbl_properties.php3. diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index 53095a4aa..44cef732a 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -135,7 +135,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} * Includes compatibility code for older config.inc.php3 revisions * if necessary */ - if (!isset($cfg['FileRevision']) || (int) substr($cfg['FileRevision'], 13, 3) < 197) { + if (!isset($cfg['FileRevision']) || (int) substr($cfg['FileRevision'], 13, 3) < 199) { include('./libraries/config_import.lib.php3'); } @@ -348,7 +348,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} function PMA_formatSql($parsed_sql, $unparsed_sql = '') { global $cfg; - + // Check that we actually have a valid set of parsed data // well, not quite // first check for the SQL parser having hit an error @@ -508,7 +508,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} . '' . "\n"; echo PMA_showMySQLDocu('Error-returns', 'Error-returns'); - + if (!empty($back_url) && $exit) { echo ' · [' . $GLOBALS['strBack'] . ']'; } @@ -1586,8 +1586,8 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} return array($return_value, $unit); } // end of the 'PMA_formatByteDown' function - - + + /** * Extracts ENUM / SET options from a type definition string * @@ -1779,7 +1779,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} list($eachvar, $eachval) = explode('=', $query_pair); $link_or_button .= ' ' . "\n"; } // end while - + if (stristr($message, '' . "\n" . '' . "\n"; @@ -1888,7 +1888,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} /** * Function added to avoid path disclosures. * Called by each script that needs parameters, it displays - * an error message and, by defaults, stops the execution. + * an error message and, by defaults, stops the execution. * * @param array The names of the parameters needed by the calling * script.