diff --git a/ChangeLog b/ChangeLog index 4863ecf19..90f50ae5f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -4,7 +4,13 @@ phpMyAdmin - Changelog $Id$ $Source$ - +2002-06-14 Mike Beck + * tbl_qbe: Bugfixing + - Don't try to use a generated SQL Statement without + a SELECT (if none of the Columns is marked as display + this could happen) + - if no LEFT JOINS are generated make sure that the + array containing tablenames is unique 2002-06-12 Alexander M. Turek * lang/turkish.inc.php3: Updates, thanks again to Bora Alioglu . diff --git a/config.inc.php3 b/config.inc.php3 index a5e2558fa..add2cea55 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -51,7 +51,9 @@ $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only // It may also be an array // of db-names $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname -$cfg['Servers'][$i]['bookmarkdb'] = ''; // Bookmark db - leave blank for no bookmark support + +$cfg['Servers'][$i]['pmadb'] = ''; // Database used for Relation, Bookmark and PDF Features + // - leave blank for no support $cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table - leave blank for no bookmark support $cfg['Servers'][$i]['relation'] = ''; // table to describe the relation between links (see doc) // - leave blank for no relation-links support @@ -59,6 +61,8 @@ $cfg['Servers'][$i]['table_info'] = ''; // table to describe the dis // - leave blank for no display fields support $cfg['Servers'][$i]['table_coords'] = ''; // table to describe the tables position for the PDF // schema - leave blank for no PDF schema support +$cfg['Servers'][$i]['column_comments']=''; // table to store columncomments + // - leave blank if you don't want to use this $cfg['Servers'][$i]['pdf_pages'] = ''; // table to describe pages of relationpdf $cfg['Servers'][$i]['AllowDeny']['order'] // Host authentication order, leave blank to not use = ''; diff --git a/lang/albanian.inc.php3 b/lang/albanian.inc.php3 index 25e30a19a..f4263b139 100644 --- a/lang/albanian.inc.php3 +++ b/lang/albanian.inc.php3 @@ -399,4 +399,5 @@ $strZip = '"kompresuar me 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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/arabic.inc.php3 b/lang/arabic.inc.php3 index 3339442d4..b7a9bffcd 100644 --- a/lang/arabic.inc.php3 +++ b/lang/arabic.inc.php3 @@ -400,4 +400,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/brazilian_portuguese.inc.php3 b/lang/brazilian_portuguese.inc.php3 index d7cb46136..6724554d0 100644 --- a/lang/brazilian_portuguese.inc.php3 +++ b/lang/brazilian_portuguese.inc.php3 @@ -398,4 +398,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/bulgarian-koi8.inc.php3 b/lang/bulgarian-koi8.inc.php3 index e331d7d6d..b4e66bf18 100644 --- a/lang/bulgarian-koi8.inc.php3 +++ b/lang/bulgarian-koi8.inc.php3 @@ -399,4 +399,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/bulgarian-win1251.inc.php3 b/lang/bulgarian-win1251.inc.php3 index 50e9fce69..096ae6ce6 100644 --- a/lang/bulgarian-win1251.inc.php3 +++ b/lang/bulgarian-win1251.inc.php3 @@ -399,4 +399,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/catala.inc.php3 b/lang/catala.inc.php3 index 6adf4c3bd..06df67747 100644 --- a/lang/catala.inc.php3 +++ b/lang/catala.inc.php3 @@ -394,4 +394,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/chinese_big5.inc.php3 b/lang/chinese_big5.inc.php3 index adcc080a2..f4c3df5e5 100644 --- a/lang/chinese_big5.inc.php3 +++ b/lang/chinese_big5.inc.php3 @@ -401,4 +401,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/chinese_gb.inc.php3 b/lang/chinese_gb.inc.php3 index 154d0b3ec..281c82fba 100644 --- a/lang/chinese_gb.inc.php3 +++ b/lang/chinese_gb.inc.php3 @@ -401,4 +401,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/croatian-iso8859-2.inc.php3 b/lang/croatian-iso8859-2.inc.php3 index 681591094..93878bcbf 100644 --- a/lang/croatian-iso8859-2.inc.php3 +++ b/lang/croatian-iso8859-2.inc.php3 @@ -399,4 +399,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/croatian-win1250.inc.php3 b/lang/croatian-win1250.inc.php3 index c3aba0316..37d5e369c 100644 --- a/lang/croatian-win1250.inc.php3 +++ b/lang/croatian-win1250.inc.php3 @@ -399,4 +399,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/czech-iso.inc.php3 b/lang/czech-iso.inc.php3 index 96b0713c7..16296f914 100644 --- a/lang/czech-iso.inc.php3 +++ b/lang/czech-iso.inc.php3 @@ -399,4 +399,5 @@ $strZip = '"zazipov $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/czech-win1250.inc.php3 b/lang/czech-win1250.inc.php3 index 678a7cce0..84ad41e38 100644 --- a/lang/czech-win1250.inc.php3 +++ b/lang/czech-win1250.inc.php3 @@ -399,4 +399,5 @@ $strZip = '"zazipov $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/danish.inc.php3 b/lang/danish.inc.php3 index 3e8c765f7..b4ee8e8b2 100644 --- a/lang/danish.inc.php3 +++ b/lang/danish.inc.php3 @@ -393,4 +393,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/dutch.inc.php3 b/lang/dutch.inc.php3 index 4027ba6b4..459481e66 100644 --- a/lang/dutch.inc.php3 +++ b/lang/dutch.inc.php3 @@ -396,4 +396,5 @@ $strZip = '"Gezipt"'; // To translate $strMissingBracket = 'Missing Bracket'; //to translate +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/english.inc.php3 b/lang/english.inc.php3 index 4523df1b3..efba255dd 100644 --- a/lang/english.inc.php3 +++ b/lang/english.inc.php3 @@ -392,4 +392,5 @@ $strWrongUser = 'Wrong username/password. Access denied.'; $strYes = 'Yes'; $strZip = '"zipped"'; +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/estonian.inc.php3 b/lang/estonian.inc.php3 index 857e2f51e..d04eb2d76 100644 --- a/lang/estonian.inc.php3 +++ b/lang/estonian.inc.php3 @@ -394,4 +394,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/finnish.inc.php3 b/lang/finnish.inc.php3 index cafd22470..349360d7d 100644 --- a/lang/finnish.inc.php3 +++ b/lang/finnish.inc.php3 @@ -398,4 +398,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/french.inc.php3 b/lang/french.inc.php3 index 6aee72d57..5f867d184 100644 --- a/lang/french.inc.php3 +++ b/lang/french.inc.php3 @@ -393,4 +393,5 @@ $strYes = 'Oui'; $strZip = '"zippé"'; $strMissingBracket = 'Missing Bracket'; //to translate +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/galician.inc.php3 b/lang/galician.inc.php3 index d794f45ec..9a9d56698 100644 --- a/lang/galician.inc.php3 +++ b/lang/galician.inc.php3 @@ -398,4 +398,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/georgian.inc.php3 b/lang/georgian.inc.php3 index c5c8e5d74..28fbdb67f 100644 --- a/lang/georgian.inc.php3 +++ b/lang/georgian.inc.php3 @@ -403,4 +403,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/german.inc.php3 b/lang/german.inc.php3 index 6b1c0df25..a60039dd7 100644 --- a/lang/german.inc.php3 +++ b/lang/german.inc.php3 @@ -400,6 +400,5 @@ $strWrongUser = 'Falscher Benutzername/Kennwort. Zugriff verweigert.'; $strYes = 'Ja'; $strZip = 'Zip komprimiert'; - -// To translate +$strHaveToShow = 'Bitte wählen Sie mindestens eine anzuzeigende Spalte'; ?> diff --git a/lang/greek.inc.php3 b/lang/greek.inc.php3 index 2755a030e..53cf8bbd2 100644 --- a/lang/greek.inc.php3 +++ b/lang/greek.inc.php3 @@ -395,4 +395,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/hebrew.inc.php3 b/lang/hebrew.inc.php3 index 072ad200e..9540a0bda 100644 --- a/lang/hebrew.inc.php3 +++ b/lang/hebrew.inc.php3 @@ -394,4 +394,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/hungarian.inc.php3 b/lang/hungarian.inc.php3 index b5987e61f..eb575eb99 100644 --- a/lang/hungarian.inc.php3 +++ b/lang/hungarian.inc.php3 @@ -397,4 +397,5 @@ $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
diff --git a/lang/indonesian.inc.php3 b/lang/indonesian.inc.php3 index 68ae1adf7..754277cec 100644 --- a/lang/indonesian.inc.php3 +++ b/lang/indonesian.inc.php3 @@ -396,4 +396,5 @@ $strZip = '"Dikompress dengan 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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/italian.inc.php3 b/lang/italian.inc.php3 index 3c1773fd1..6f2178977 100644 --- a/lang/italian.inc.php3 +++ b/lang/italian.inc.php3 @@ -400,4 +400,5 @@ $strZip = '"compresso con zip"'; // To translate $strMissingBracket = 'Missing Bracket'; //to translate +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/japanese-euc.inc.php3 b/lang/japanese-euc.inc.php3 index 9882fd434..e2bc44c66 100644 --- a/lang/japanese-euc.inc.php3 +++ b/lang/japanese-euc.inc.php3 @@ -404,4 +404,5 @@ $strXkana = ' $strNotSet = '%s table not found or not set in %s'; //to translate $strMissingBracket = 'Missing Bracket'; //to translate +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/japanese-sjis.inc.php3 b/lang/japanese-sjis.inc.php3 index 82b2f6e52..4e3a77347 100644 --- a/lang/japanese-sjis.inc.php3 +++ b/lang/japanese-sjis.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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/korean.inc.php3 b/lang/korean.inc.php3 index d0fd66172..8e26f94bc 100644 --- a/lang/korean.inc.php3 +++ b/lang/korean.inc.php3 @@ -395,4 +395,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/latvian.inc.php3 b/lang/latvian.inc.php3 index e01747b76..f0b39bd2c 100644 --- a/lang/latvian.inc.php3 +++ b/lang/latvian.inc.php3 @@ -398,4 +398,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/lithuanian.inc.php3 b/lang/lithuanian.inc.php3 index 8de883e1c..2d97785c8 100644 --- a/lang/lithuanian.inc.php3 +++ b/lang/lithuanian.inc.php3 @@ -395,4 +395,5 @@ $strNotSet = '%s table not found or not set in %s'; //to translate $strReferentialIntegrity = 'Check referential integrity:'; $strMissingBracket = 'Missing Bracket'; //to translate +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/norwegian.inc.php3 b/lang/norwegian.inc.php3 index e5108795f..c57e05ab6 100644 --- a/lang/norwegian.inc.php3 +++ b/lang/norwegian.inc.php3 @@ -397,4 +397,5 @@ $strZip = 'Komprimert (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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/polish.inc.php3 b/lang/polish.inc.php3 index f54ae63a3..fc3b8591f 100644 --- a/lang/polish.inc.php3 +++ b/lang/polish.inc.php3 @@ -395,4 +395,5 @@ $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
diff --git a/lang/portuguese.inc.php3 b/lang/portuguese.inc.php3 index bd57762f0..3a88d8d20 100644 --- a/lang/portuguese.inc.php3 +++ b/lang/portuguese.inc.php3 @@ -401,4 +401,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/romanian.inc.php3 b/lang/romanian.inc.php3 index 6b16debac..5c889bd4d 100644 --- a/lang/romanian.inc.php3 +++ b/lang/romanian.inc.php3 @@ -395,4 +395,5 @@ $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!
diff --git a/lang/russian-koi8.inc.php3 b/lang/russian-koi8.inc.php3 index 0d8c5197e..0a81ea4ce 100644 --- a/lang/russian-koi8.inc.php3 +++ b/lang/russian-koi8.inc.php3 @@ -399,4 +399,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/russian-win1251.inc.php3 b/lang/russian-win1251.inc.php3 index 1b9c836fb..914125159 100644 --- a/lang/russian-win1251.inc.php3 +++ b/lang/russian-win1251.inc.php3 @@ -399,4 +399,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/serbian-win1250.inc.php3 b/lang/serbian-win1250.inc.php3 index 89f397936..0683fb19f 100644 --- a/lang/serbian-win1250.inc.php3 +++ b/lang/serbian-win1250.inc.php3 @@ -400,4 +400,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/slovak-iso.inc.php3 b/lang/slovak-iso.inc.php3 index 0b9971948..c4be730b9 100644 --- a/lang/slovak-iso.inc.php3 +++ b/lang/slovak-iso.inc.php3 @@ -398,4 +398,5 @@ $strStructPropose = 'Propose table structure'; $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 $strMissingBracket = 'Missing Bracket'; //to translate +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/slovak-win1250.inc.php3 b/lang/slovak-win1250.inc.php3 index 56a993687..c52fcc67f 100644 --- a/lang/slovak-win1250.inc.php3 +++ b/lang/slovak-win1250.inc.php3 @@ -397,4 +397,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/spanish.inc.php3 b/lang/spanish.inc.php3 index 69f92fde3..7b95788f3 100644 --- a/lang/spanish.inc.php3 +++ b/lang/spanish.inc.php3 @@ -392,4 +392,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/swedish.inc.php3 b/lang/swedish.inc.php3 index be9e18c9b..13d3ae6c3 100644 --- a/lang/swedish.inc.php3 +++ b/lang/swedish.inc.php3 @@ -394,4 +394,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/thai.inc.php3 b/lang/thai.inc.php3 index ae3232af2..52500744c 100644 --- a/lang/thai.inc.php3 +++ b/lang/thai.inc.php3 @@ -404,4 +404,5 @@ $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/turkish.inc.php3 b/lang/turkish.inc.php3 index ea3e32c6b..ea1de55e8 100644 --- a/lang/turkish.inc.php3 +++ b/lang/turkish.inc.php3 @@ -394,4 +394,5 @@ $strZip = '"ziplenmi $strStructPropose = 'Propose table structure'; // just no translation for $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 $strMissingBracket = 'Missing Bracket'; //to translate +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/lang/ukrainian-win1251.inc.php3 b/lang/ukrainian-win1251.inc.php3 index f2120b16a..0888b1bdd 100644 --- a/lang/ukrainian-win1251.inc.php3 +++ b/lang/ukrainian-win1251.inc.php3 @@ -394,4 +394,5 @@ $strZip = ' $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 +$strHaveToShow = 'You have to choose at least one Column to display'; //to translate ?> diff --git a/tbl_qbe.php3 b/tbl_qbe.php3 index 2a1904b90..acb9ccec9 100755 --- a/tbl_qbe.php3 +++ b/tbl_qbe.php3 @@ -13,7 +13,7 @@ require('./libraries/common.lib.php3'); /** * A query has been submitted -> executes it, else displays the headers */ -if (isset($submit_sql)) { +if (isset($submit_sql) && eregi('^SELECT',$encoded_sql_query)) { $goto = 'db_details.php3'; $zero_rows = htmlspecialchars($strSuccess); $sql_query = urldecode($encoded_sql_query); @@ -26,7 +26,9 @@ if (isset($submit_sql)) { include('./header.inc.php3'); } - +if(isset($submit_sql) && !eregi('^SELECT',$encoded_sql_query)) { + echo '

' . $strHaveToShow . '

'; +} /** * Initializes some variables */ @@ -896,6 +898,17 @@ if (isset($Field) && count($Field) > 0) { } // end rel work and $alltabs > 0 if (empty($qry_from) && count($alltabs)) { + // there might be more than one mentioning of the table in here + // as array_unique is only PHP4 we have to do this by hand + $_temp = array(); + while (list($k, $v) = each ($alltabs)) { + $_temp[$v] = 1; + } + unset($alltabs); + $alltabs = array(); + while (list($k, $v) = each ($_temp)) { + $alltabs[] = $k; + } $qry_from = implode(', ', $alltabs); }