Bugfixing tbl_qbe:
array with tablenames should be unique SQL without a select will not work
This commit is contained in:
@@ -4,7 +4,13 @@ phpMyAdmin - Changelog
|
||||
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-06-14 Mike Beck <mikebeck@users.sourceforge.net>
|
||||
* 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 <rabus@users.sourceforge.net>
|
||||
* lang/turkish.inc.php3: Updates, thanks again to
|
||||
Bora Alioglu <bora@risc01.ktu.edu.tr>.
|
||||
|
@@ -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
|
||||
= '';
|
||||
|
@@ -399,4 +399,5 @@ $strZip = '"kompresuar me zip"';
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -398,4 +398,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -394,4 +394,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $strSelectTables = 'Select Tables';
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $strSelectTables = 'Select Tables';
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strZip = '"zazipov
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strZip = '"zazipov
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -393,4 +393,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -394,4 +394,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -398,4 +398,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -393,4 +393,5 @@ $strYes = 'Oui';
|
||||
$strZip = '"zipp<70>"';
|
||||
|
||||
$strMissingBracket = 'Missing Bracket'; //to translate
|
||||
$strHaveToShow = 'You have to choose at least one Column to display'; //to translate
|
||||
?>
|
||||
|
@@ -398,4 +398,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -403,4 +403,5 @@ $strPrimaryKeyName = 'The name of the primary key must be... PRIMARY!';
|
||||
$strPrimaryKeyWarning = '("PRIMARY" <b>must</b> be the name of and <b>only of</b> a primary key!)';
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -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';
|
||||
?>
|
||||
|
@@ -395,4 +395,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -394,4 +394,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -397,4 +397,5 @@ $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br
|
||||
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -396,4 +396,5 @@ $strZip = '"Dikompress dengan Zip"';
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -404,4 +404,5 @@ $strXkana = '
|
||||
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -403,4 +403,5 @@ $strXkana = '
|
||||
// To translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -395,4 +395,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -398,4 +398,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -395,4 +395,5 @@ $strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -397,4 +397,5 @@ $strZip = 'Komprimert (zip)';
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -395,4 +395,5 @@ $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br
|
||||
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -395,4 +395,5 @@ $strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br
|
||||
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -398,4 +398,5 @@ $strStructPropose = 'Propose table structure';
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />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
|
||||
?>
|
||||
|
@@ -397,4 +397,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -392,4 +392,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -394,4 +394,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -404,4 +404,5 @@ $strSelectTables = 'Select Tables'; //to translate
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
@@ -394,4 +394,5 @@ $strZip = '"ziplenmi
|
||||
$strStructPropose = 'Propose table structure'; // just no translation for
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />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
|
||||
?>
|
||||
|
@@ -394,4 +394,5 @@ $strZip = '
|
||||
$strConfigFileError = 'phpMyAdmin was unable to read your configuration file!<br />This might happen if php finds a parse error in it or php cannot find the file.<br />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.<br />If you recieve a blank page, everything is fine.'; //to translate
|
||||
$strNotSet = '<b>%s</b> 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
|
||||
?>
|
||||
|
17
tbl_qbe.php3
17
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 '<p class="warning">' . $strHaveToShow . '</p>';
|
||||
}
|
||||
/**
|
||||
* 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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user