From 5e9f703bc71631b98f25e9284458beb5aff92bc3 Mon Sep 17 00:00:00 2001 From: Mike Beck Date: Wed, 12 Jun 2002 13:06:44 +0000 Subject: [PATCH] Now format_sql also finds missing brackets --- ChangeLog | 4 ++++ lang/albanian.inc.php3 | 1 + lang/arabic.inc.php3 | 1 + lang/brazilian_portuguese.inc.php3 | 1 + lang/bulgarian-koi8.inc.php3 | 1 + lang/bulgarian-win1251.inc.php3 | 1 + lang/catala.inc.php3 | 1 + lang/chinese_big5.inc.php3 | 1 + lang/chinese_gb.inc.php3 | 1 + lang/croatian-iso8859-2.inc.php3 | 1 + lang/croatian-win1250.inc.php3 | 1 + lang/czech-iso.inc.php3 | 1 + lang/czech-win1250.inc.php3 | 1 + lang/danish.inc.php3 | 1 + lang/dutch.inc.php3 | 2 ++ lang/english.inc.php3 | 1 + lang/estonian.inc.php3 | 1 + lang/finnish.inc.php3 | 1 + lang/french.inc.php3 | 1 + lang/galician.inc.php3 | 1 + lang/georgian.inc.php3 | 1 + lang/german.inc.php3 | 1 + lang/greek.inc.php3 | 1 + lang/hebrew.inc.php3 | 1 + lang/hungarian.inc.php3 | 1 + lang/indonesian.inc.php3 | 1 + lang/italian.inc.php3 | 1 + lang/japanese-euc.inc.php3 | 1 + lang/japanese-sjis.inc.php3 | 1 + lang/korean.inc.php3 | 1 + lang/latvian.inc.php3 | 1 + lang/lithuanian.inc.php3 | 1 + lang/norwegian.inc.php3 | 1 + lang/polish.inc.php3 | 1 + lang/portuguese.inc.php3 | 1 + lang/romanian.inc.php3 | 1 + lang/russian-koi8.inc.php3 | 1 + lang/russian-win1251.inc.php3 | 1 + lang/serbian-win1250.inc.php3 | 1 + lang/slovak-iso.inc.php3 | 1 + lang/slovak-win1250.inc.php3 | 1 + lang/spanish.inc.php3 | 1 + lang/swedish.inc.php3 | 1 + lang/thai.inc.php3 | 1 + lang/turkish.inc.php3 | 1 + lang/ukrainian-win1251.inc.php3 | 1 + libraries/common.lib.php3 | 35 +++++++++++++++++++++++++----- 47 files changed, 80 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d77ea0a1..0d55497cc 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-06-12 Mike Beck + Syntaxcoloring for SQL - Statements + * config.inc.php3 lines 226-,302- + * libraries/common.lib.php3 lines 34,43,192-,312-,987,1062 2002-06-12 Marc Delisle * lang/dutch.inc.php3 updates, thanks to Ivo Teel diff --git a/lang/albanian.inc.php3 b/lang/albanian.inc.php3 index de44cc9cd..25e30a19a 100644 --- a/lang/albanian.inc.php3 +++ b/lang/albanian.inc.php3 @@ -398,4 +398,5 @@ $strZip = '"kompresuar me zip"'; // To translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/arabic.inc.php3 b/lang/arabic.inc.php3 index 67857eedf..3339442d4 100644 --- a/lang/arabic.inc.php3 +++ b/lang/arabic.inc.php3 @@ -399,4 +399,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/brazilian_portuguese.inc.php3 b/lang/brazilian_portuguese.inc.php3 index 97124db42..d7cb46136 100644 --- a/lang/brazilian_portuguese.inc.php3 +++ b/lang/brazilian_portuguese.inc.php3 @@ -397,4 +397,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/bulgarian-koi8.inc.php3 b/lang/bulgarian-koi8.inc.php3 index 24fc97ed7..e331d7d6d 100644 --- a/lang/bulgarian-koi8.inc.php3 +++ b/lang/bulgarian-koi8.inc.php3 @@ -398,4 +398,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/bulgarian-win1251.inc.php3 b/lang/bulgarian-win1251.inc.php3 index fab117ceb..50e9fce69 100644 --- a/lang/bulgarian-win1251.inc.php3 +++ b/lang/bulgarian-win1251.inc.php3 @@ -398,4 +398,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/catala.inc.php3 b/lang/catala.inc.php3 index 7b3e836ce..6adf4c3bd 100644 --- a/lang/catala.inc.php3 +++ b/lang/catala.inc.php3 @@ -393,4 +393,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/chinese_big5.inc.php3 b/lang/chinese_big5.inc.php3 index d12fe87da..adcc080a2 100644 --- a/lang/chinese_big5.inc.php3 +++ b/lang/chinese_big5.inc.php3 @@ -400,4 +400,5 @@ $strCreatePage = 'Create a new Page'; $strSelectTables = 'Select Tables'; $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/chinese_gb.inc.php3 b/lang/chinese_gb.inc.php3 index 1eb34ba1c..154d0b3ec 100644 --- a/lang/chinese_gb.inc.php3 +++ b/lang/chinese_gb.inc.php3 @@ -400,4 +400,5 @@ $strCreatePage = 'Create a new Page'; $strSelectTables = 'Select Tables'; $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/croatian-iso8859-2.inc.php3 b/lang/croatian-iso8859-2.inc.php3 index 09ec19d98..681591094 100644 --- a/lang/croatian-iso8859-2.inc.php3 +++ b/lang/croatian-iso8859-2.inc.php3 @@ -398,4 +398,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/croatian-win1250.inc.php3 b/lang/croatian-win1250.inc.php3 index 8b69f5969..c3aba0316 100644 --- a/lang/croatian-win1250.inc.php3 +++ b/lang/croatian-win1250.inc.php3 @@ -398,4 +398,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/czech-iso.inc.php3 b/lang/czech-iso.inc.php3 index a57f2e324..96b0713c7 100644 --- a/lang/czech-iso.inc.php3 +++ b/lang/czech-iso.inc.php3 @@ -398,4 +398,5 @@ $strZip = '"zazipov // To translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/czech-win1250.inc.php3 b/lang/czech-win1250.inc.php3 index ab0859b0f..678a7cce0 100644 --- a/lang/czech-win1250.inc.php3 +++ b/lang/czech-win1250.inc.php3 @@ -398,4 +398,5 @@ $strZip = '"zazipov // To translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/danish.inc.php3 b/lang/danish.inc.php3 index f09537864..3e8c765f7 100644 --- a/lang/danish.inc.php3 +++ b/lang/danish.inc.php3 @@ -392,4 +392,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/dutch.inc.php3 b/lang/dutch.inc.php3 index 084ef453b..c6ac09ce2 100644 --- a/lang/dutch.inc.php3 +++ b/lang/dutch.inc.php3 @@ -394,4 +394,6 @@ $strYes = 'Ja'; $strZip = '"Gezipt"'; + +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/english.inc.php3 b/lang/english.inc.php3 index acedf4909..bfe6510bb 100644 --- a/lang/english.inc.php3 +++ b/lang/english.inc.php3 @@ -392,4 +392,5 @@ $strYes = 'Yes'; $strZip = '"zipped"'; +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/estonian.inc.php3 b/lang/estonian.inc.php3 index 27279701b..857e2f51e 100644 --- a/lang/estonian.inc.php3 +++ b/lang/estonian.inc.php3 @@ -393,4 +393,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/finnish.inc.php3 b/lang/finnish.inc.php3 index 4502de636..cafd22470 100644 --- a/lang/finnish.inc.php3 +++ b/lang/finnish.inc.php3 @@ -397,4 +397,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/french.inc.php3 b/lang/french.inc.php3 index 976baba7d..6aee72d57 100644 --- a/lang/french.inc.php3 +++ b/lang/french.inc.php3 @@ -392,4 +392,5 @@ $strYes = 'Oui'; $strZip = '"zippé"'; +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/galician.inc.php3 b/lang/galician.inc.php3 index 26321c26d..d794f45ec 100644 --- a/lang/galician.inc.php3 +++ b/lang/galician.inc.php3 @@ -397,4 +397,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/georgian.inc.php3 b/lang/georgian.inc.php3 index dc64332cd..c5c8e5d74 100644 --- a/lang/georgian.inc.php3 +++ b/lang/georgian.inc.php3 @@ -402,4 +402,5 @@ $strPrimaryKeyHasBeenDropped = 'The primary key has been dropped'; $strPrimaryKeyName = 'The name of the primary key must be... PRIMARY!'; $strPrimaryKeyWarning = '("PRIMARY" must be the name of and only of a primary key!)'; $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/german.inc.php3 b/lang/german.inc.php3 index 839531215..e39712eac 100644 --- a/lang/german.inc.php3 +++ b/lang/german.inc.php3 @@ -401,4 +401,5 @@ $strYes = 'Ja'; $strZip = 'Zip komprimiert'; // To translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/greek.inc.php3 b/lang/greek.inc.php3 index 1fcde234c..2755a030e 100644 --- a/lang/greek.inc.php3 +++ b/lang/greek.inc.php3 @@ -394,4 +394,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/hebrew.inc.php3 b/lang/hebrew.inc.php3 index 6ede4a6ad..072ad200e 100644 --- a/lang/hebrew.inc.php3 +++ b/lang/hebrew.inc.php3 @@ -393,4 +393,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/hungarian.inc.php3 b/lang/hungarian.inc.php3 index 4f69462e5..b5987e61f 100644 --- a/lang/hungarian.inc.php3 +++ b/lang/hungarian.inc.php3 @@ -396,4 +396,5 @@ $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
diff --git a/lang/indonesian.inc.php3 b/lang/indonesian.inc.php3 index 9f0b60633..68ae1adf7 100644 --- a/lang/indonesian.inc.php3 +++ b/lang/indonesian.inc.php3 @@ -395,4 +395,5 @@ $strZip = '"Dikompress dengan Zip"'; // To translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/italian.inc.php3 b/lang/italian.inc.php3 index 43e2aa831..3c1773fd1 100644 --- a/lang/italian.inc.php3 +++ b/lang/italian.inc.php3 @@ -399,4 +399,5 @@ $strYes = ' Si '; $strZip = '"compresso con zip"'; // To translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/japanese-euc.inc.php3 b/lang/japanese-euc.inc.php3 index 41ecdc24e..9882fd434 100644 --- a/lang/japanese-euc.inc.php3 +++ b/lang/japanese-euc.inc.php3 @@ -403,4 +403,5 @@ $strXkana = ' // To translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/japanese-sjis.inc.php3 b/lang/japanese-sjis.inc.php3 index 1f7fd76e2..82b2f6e52 100644 --- a/lang/japanese-sjis.inc.php3 +++ b/lang/japanese-sjis.inc.php3 @@ -402,4 +402,5 @@ $strXkana = ' // To translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/korean.inc.php3 b/lang/korean.inc.php3 index 33b8b3d3a..d0fd66172 100644 --- a/lang/korean.inc.php3 +++ b/lang/korean.inc.php3 @@ -394,4 +394,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/latvian.inc.php3 b/lang/latvian.inc.php3 index f61d016ef..e01747b76 100644 --- a/lang/latvian.inc.php3 +++ b/lang/latvian.inc.php3 @@ -397,4 +397,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/lithuanian.inc.php3 b/lang/lithuanian.inc.php3 index d862b97a8..8de883e1c 100644 --- a/lang/lithuanian.inc.php3 +++ b/lang/lithuanian.inc.php3 @@ -394,4 +394,5 @@ $strZip = '"zip"'; $strNotSet = '%s table not found or not set in %s'; //to translate $strReferentialIntegrity = 'Check referential integrity:'; +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/norwegian.inc.php3 b/lang/norwegian.inc.php3 index c364687ea..e5108795f 100644 --- a/lang/norwegian.inc.php3 +++ b/lang/norwegian.inc.php3 @@ -396,4 +396,5 @@ $strZip = 'Komprimert (zip)'; // To translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/polish.inc.php3 b/lang/polish.inc.php3 index 35ad71de8..f54ae63a3 100644 --- a/lang/polish.inc.php3 +++ b/lang/polish.inc.php3 @@ -394,4 +394,5 @@ $strZip = '".zip"'; $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/portuguese.inc.php3 b/lang/portuguese.inc.php3 index 5ee396895..bd57762f0 100644 --- a/lang/portuguese.inc.php3 +++ b/lang/portuguese.inc.php3 @@ -400,4 +400,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/romanian.inc.php3 b/lang/romanian.inc.php3 index 58052f5b6..6b16debac 100644 --- a/lang/romanian.inc.php3 +++ b/lang/romanian.inc.php3 @@ -394,4 +394,5 @@ $strZip = '"arhivat"'; $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/russian-koi8.inc.php3 b/lang/russian-koi8.inc.php3 index 7415a446a..0d8c5197e 100644 --- a/lang/russian-koi8.inc.php3 +++ b/lang/russian-koi8.inc.php3 @@ -398,4 +398,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/russian-win1251.inc.php3 b/lang/russian-win1251.inc.php3 index d8ad0f2a3..1b9c836fb 100644 --- a/lang/russian-win1251.inc.php3 +++ b/lang/russian-win1251.inc.php3 @@ -398,4 +398,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/serbian-win1250.inc.php3 b/lang/serbian-win1250.inc.php3 index 8e3534973..89f397936 100644 --- a/lang/serbian-win1250.inc.php3 +++ b/lang/serbian-win1250.inc.php3 @@ -399,4 +399,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/slovak-iso.inc.php3 b/lang/slovak-iso.inc.php3 index 5e455deac..6cdbb745f 100644 --- a/lang/slovak-iso.inc.php3 +++ b/lang/slovak-iso.inc.php3 @@ -396,4 +396,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/slovak-win1250.inc.php3 b/lang/slovak-win1250.inc.php3 index 69a72321d..56a993687 100644 --- a/lang/slovak-win1250.inc.php3 +++ b/lang/slovak-win1250.inc.php3 @@ -396,4 +396,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/spanish.inc.php3 b/lang/spanish.inc.php3 index 9a92045fe..69f92fde3 100644 --- a/lang/spanish.inc.php3 +++ b/lang/spanish.inc.php3 @@ -391,4 +391,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/swedish.inc.php3 b/lang/swedish.inc.php3 index 359c8d7dc..be9e18c9b 100644 --- a/lang/swedish.inc.php3 +++ b/lang/swedish.inc.php3 @@ -393,4 +393,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/thai.inc.php3 b/lang/thai.inc.php3 index 5927ca3e1..ae3232af2 100644 --- a/lang/thai.inc.php3 +++ b/lang/thai.inc.php3 @@ -403,4 +403,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/turkish.inc.php3 b/lang/turkish.inc.php3 index 58f24decb..3ddc678ab 100644 --- a/lang/turkish.inc.php3 +++ b/lang/turkish.inc.php3 @@ -393,4 +393,5 @@ $strCreatePage = 'Create a new Page'; //to translate $strSelectTables = 'Select Tables'; //to translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/lang/ukrainian-win1251.inc.php3 b/lang/ukrainian-win1251.inc.php3 index 4fd8a83bd..f2120b16a 100644 --- a/lang/ukrainian-win1251.inc.php3 +++ b/lang/ukrainian-win1251.inc.php3 @@ -393,4 +393,5 @@ $strZip = ' // To translate $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
This might happen if php finds a parse error in it or php cannot find the file.
Please call the configuration file directly using the link below and read the php error message(s) that you recieve. In most cases a quote or a semicolon is missing somewhere.
If you recieve a blank page, everything is fine.'; //to translate $strNotSet = '%s table not found or not set in %s'; //to translate +$strMissingBracket = 'Missing Bracket'; //to translate ?> diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index c24215b1b..43c88f553 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -221,7 +221,9 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} // now split everything by the blanks $_sql_parts=explode(' ',$sql); // start a loop over the parts check each word and put them back into $sql - $sql = ''; + unset($sql); + $s_nr=0; + while (list($_num,$_word) = each($_sql_parts)) { // we might have added to many blanks when checking for = and , // which might lead to empty members in the array @@ -256,18 +258,41 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} } else { if(eregi($_add, $_word)) { $_word = '' . $_word . ''; + } else { + if($_word=='(') { + $_brack_o[]=$s_nr; + } else { + if($_word==')') { + if(isset($_brack_o)){ + unset($_brack_o[count($_brack_o)-1]); + } else { + $_brack_c[]=$s_nr; + } + } + } } } } } } if(!isset($_temp) || strlen($_temp) == 0) { - if($_num != 0 && $_word != '(') { - $sql .= ' '; - } - $sql .= $_word; + $_sql_p[$s_nr] = $_word; + $s_nr++; } } // End while + if(isset($_brack_o)) { + while (list($_num,$elem) = each($_brack_o)) { + $_sql_p[$elem] = '' . $_sql_p[$elem] . ''; + echo '
' . $GLOBALS['strMissingBracket'] . '
'; + } + } + if(isset($_brack_c)) { + while (list($_num,$elem) = each($_brack_c)) { + $_sql_p[$elem] = '' . $_sql_p[$elem] . ''; + echo '
' . $GLOBALS['strMissingBracket'] . '
'; + } + } + $sql = implode(' ',$_sql_p); return $sql; } // End of PMA_format_sql function