give the user an easy way to test why relationstuff is not working

page chk_rel is accessible from db_details_structure
warning there can be disabled in config.inc.php3
This commit is contained in:
Mike Beck
2002-07-16 17:34:46 +00:00
parent 41cf38c0dc
commit 262c7c9613
86 changed files with 176 additions and 33 deletions

View File

@@ -5,7 +5,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>phpMyAdmin 2.3.0-rc4 - Documentation</title>
<title>phpMyAdmin 2.3.0-rc3 - Documentation</title>
<style type="text/css">
<!--
.navigation {
@@ -74,7 +74,7 @@
<body bgcolor="#FFFFFF">
<a name="top"></a>
<h1>phpMyAdmin 2.3.0-rc4 Documentation</h1>
<h1>phpMyAdmin 2.3.0-rc3 Documentation</h1>
<!-- TOP MENU -->
@@ -417,6 +417,19 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<br /><br />
</dd>
<dt><b>$cfg['PmaNoRelation_DisableWarning']</b> bool</dt>
<dd>
Starting with version 2.3.0 phpMyAdmin offers a lot of features
to work with master / foreign - tables. These features require the
PMA Administrator to set up a special Database for PMA.
(see <a href="#pmadb">$cfg['Servers'][$i]['pmadb']</a>) Its Contents
and use will be explained further down. If you tried to set this up and
it does not work for you have a look on the Structure page of one Database
where you would like to use it. You will find a link that will analyze
why those features have been disabled.<br />
If you do not want to use those features set this variable to TRUE
to stop this Message from appearing.<br /><br />
</dd>
<dt><b>$cfg['Servers']</b> array</dt>
<dd>
Since version 1.4.2, phpMyAdmin supports the administration of multiple
@@ -554,6 +567,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<br /><br />
</dd>
<a name="pmadb"></a>
<dt><b>$cfg['Servers'][$i]['pmadb']</b> string</dt>
<dd>
Starting with version 2.3.0 phpMyAdmin offers a lot of features
@@ -777,7 +791,9 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<br /><br />
</dd>
<dt><b>$cfg['Servers'][$i]['column_comments']</b> string</dt>
<dt>
<a name="col_com"></a>
<b>$cfg['Servers'][$i]['column_comments']</b> string</dt>
<dd>
Since release 2.3.0 you can store comments to describe each column
for each table. These will then be shown on the &quot;printview&quot;.
@@ -1360,7 +1376,10 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<a class="navigation" href="#faqmultiuser">Multi-user</a> &nbsp;-&nbsp;
<a class="navigation" href="#faqbrowsers">Browsers</a> &nbsp;-&nbsp;
<a class="navigation" href="#faqusing">Usage tips</a> &nbsp;-&nbsp;
<a class="navigation" href="#faqproject">Project</a>
<a class="navigation" href="#faqproject">Project</a> &nbsp;-&nbsp;
<a class="navigation" href="#faqsyntaxcoloring">Syntax coloring</a>
<a name="faqserver"></a>
<h3>[Server]</h3>
@@ -1569,15 +1588,17 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
</p>
<p>
<b>I'm running MySQL&nbsp;&lt;=&nbsp;4.0.1 having
<tt>lower_case_table_names</tt> set to 1. If I create a new table with a
capital letter in its name it is changed to lowercase as it should. But
if I try to DROP this table MySQL is unable to find the corresponding
file.</b>
<b>I'm running MySQL&nbsp;4.0.1 on a Windows&nbsp;NT machine. Each time I
create a table the table name is changed to lowercase.</b>
<br />
This is a bug of MySQL&nbsp;&lt;=&nbsp;4.0.1. Please upgrade to at least
MySQL&nbsp;4.0.2 or turn off your <tt>lower_case_table_names</tt>
directive.
This seems to be a bug of MySQL&nbsp;4.0.1 because it also appears when
using the MySQL commandline. Currently we only know about its appearance on
Windows&nbsp;NT systems, but it is possible that it appears on other
systems, too.<br />
If you encounter this bug together with another OS and/or MySQL version or
you know how to work around it, please post a message into
<a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=540671&amp;group_id=23067&amp;atid=377408" target="_blank">
our bug tracker</a> at SourceForge.
</p>
<p>
@@ -2118,7 +2139,6 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<br />
No, it's MySQL that is doing <a class="navigation" href="http://www.mysql.com/doc/S/i/Silent_column_changes.html">silent column type changing</a>.
</p>
<a name="underscore"></a>
<p>
<b>My database has an underscore in it's name, and when I grant privileges
@@ -2136,18 +2156,6 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<b>What is the curious symbol &oslash; in the table statistics?</b><br />
It means &quot;average&quot;.
</p>
<a name="faqexport"></a>
<p>
<b>I want to understand some Export options.</b><br />
&quot;Complete inserts&quot; adds the column names on every INSERT command,
for better documentation (but resulting file is bigger).<br />
&quot;Extended inserts&quot; provides a shorter dump file by using only
once the INSERT verb and the table name.<br />
&quot;Enclose table and field names with backquotes&quot; ensures that
field and table names formed with special characters are protected.<br />
</p>
<a name="faqproject"></a>
<h3>[phpMyAdmin project]</h3>
<p>

19
chk_rel.php3 Normal file
View File

@@ -0,0 +1,19 @@
<?php
/* $Id$ */
/**
* Gets some core libraries
*/
require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
include('./db_details_common.php3');
require('./libraries/relation.lib.php3');
/**
* Gets the relation settings
*/
$cfgRelation = PMA_getRelationsParam(TRUE);
echo "\n";
require('./footer.inc.php3');
?>

View File

@@ -12,9 +12,7 @@
/**
* Sets the php error reporting - Please do not change this line!
*/
if (!isset($old_error_reporting)) {
error_reporting(E_ALL);
}
$old_error_rep = error_reporting(E_ALL);
/**
@@ -43,6 +41,11 @@ $cfg['PmaAbsoluteUri'] = '';
*/
$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
/**
* Disable the default warning that is displayed on the DB Details Structure page if
* any of the required Tables for the relationfeatures could not be found
*/
$cfg['PmaNoRelation_DisableWarning'] = FALSE;
/**
* Server(s) configuration
@@ -236,9 +239,7 @@ $cfg['DefaultCharset'] = 'iso-8859-1';
// Allow charset recoding of MySQL queries, must be also enabled in language
// file to make harder using other language files than unicode.
// Default value is FALSE to avoid problems on servers without the iconv
// extension and where dl() is not supported
$cfg['AllowAnywhereRecoding'] = FALSE;
$cfg['AllowAnywhereRecoding'] = TRUE;
// Force: always use this language - must be defined in
// libraries/select_lang.lib.php3
@@ -462,6 +463,13 @@ if ($cfg['UseSyntaxColoring']) {
set_magic_quotes_runtime(0);
/**
* Restore old error_reporting mode - do not change either!
*/
error_reporting($old_error_rep);
unset($old_error_rep);
/**
* File Revision - do not change either!
*/

View File

@@ -31,6 +31,7 @@ require('./libraries/relation.lib.php3');
$cfgRelation = PMA_getRelationsParam();
/**
* Displays the tables list
*/
@@ -448,6 +449,12 @@ echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' . "\n";
</li>
<?php
if($num_tables>0 && !$cfgRelation['allworks'] && $cfg['PmaNoRelation_DisableWarning'] == FALSE){
echo '<font color="red">' . $strError . '</font><br />';
$urltogoto = '<a href="'.$cfg['PmaAbsoluteUri'].'chk_rel.php3?'.$url_query.'">';
echo sprintf($strRelationNotWorking,$urltogoto,'</a>');
}
// is this OK to check for 'class' support?
if ($cfgRelation['pdfwork'] && $num_tables > 0) {
$takeaway = $url_query . '&amp;table=' . urlencode($table);
@@ -457,7 +464,7 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) {
<a href="pdf_pages.php3?<?php echo $takeaway; ?>"><?php echo $strEditPDFPages; ?></a>
</li>
<!-- PDF schema -->
<!-- PDF schema -->
<?php
// We only show this if we find something in the new pdf_pages table
$test_query = 'SELECT * FROM ' . PMA_backquote($cfgRelation['pdf_pages'])

View File

@@ -404,4 +404,5 @@ $strZip = '"kompresuar me zip"';
// To translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strZip = '"kompresuar me zip"';
// To translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -406,4 +406,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -403,4 +403,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strYes = 'Si';
$strZip = '"comprimit amb zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strYes = 'Si';
$strZip = '"comprimit amb zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -406,4 +406,5 @@ $strYes = ' 是 ';
$strZip = '"zipped"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strYes = '
$strZip = '"zipped"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -406,4 +406,5 @@ $strYes = '是';
$strZip = '"zipped"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strYes = '
$strZip = '"zipped"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strYes = 'Ano';
$strZip = '"zazipov<6F>no"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strYes = 'Ano';
$strZip = '"zazipováno"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strYes = 'Ano';
$strZip = '"zazipov<6F>no"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -398,4 +398,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strYes = 'Ja';
$strZip = '"Gezipt"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -401,4 +401,5 @@ $strYes = 'Ja';
$strZip = '"Gezipt"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -397,4 +397,5 @@ $strYes = 'Yes';
$strZip = '"zipped"';
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -398,4 +398,5 @@ $strYes = 'Yes';
$strZip = '"zipped"';
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strYes = 'Jah';
$strZip = '"zipitud"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strYes = 'Jah';
$strZip = '"zipitud"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -402,4 +402,5 @@ $strYes = 'Kyll
$strZip = '"zip-pakattu"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -403,4 +403,5 @@ $strYes = 'Kyllä';
$strZip = '"zip-pakattu"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -398,4 +398,5 @@ $strYes = 'Oui';
$strZip = '"zipp<70>"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strYes = 'Oui';
$strZip = '"zippé"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -403,4 +403,5 @@ $strYes = 'Si';
$strZip = 'comprimido no formato "zipped"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strYes = 'Si';
$strZip = 'comprimido no formato "zipped"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -381,4 +381,5 @@ $strWithChecked = 'მონიშნულებთან:';
$strWrongUser = 'არასწორი სახელი/პაროლი. მიმართვა ბლოკირებულია';
$strYes = 'კი';
$strZip = '"zip-ში შეკუმშვა"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -407,4 +407,5 @@ $strYes = 'Ja';
$strZip = 'Zip komprimiert';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -408,4 +408,5 @@ $strYes = 'Ja';
$strZip = 'Zip komprimiert';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -375,4 +375,5 @@ $strWrongUser = '
$strYes = '<27><><EFBFBD>';
$strZip = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>zip<69>';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -376,4 +376,5 @@ $strWrongUser = 'Λανθασμένο όνομα χρήστη/κωδικός π
$strYes = 'Ναι';
$strZip = 'συμπίεση «zip»';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one p
$strSearchNeedle = 'Word(s) or value(s) to search for (wildcard: "%"):';//to translate
$strShowGrid = 'Show grid'; //to translate
$strShowTableDimension = 'Show dimension of tables'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -402,4 +402,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -403,4 +403,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -401,4 +401,5 @@ $strYes = 'Ya';
$strZip = '"Dikompress dengan Zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -402,4 +402,5 @@ $strYes = 'Ya';
$strZip = '"Dikompress dengan Zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -406,4 +406,5 @@ $strZip = '"compresso con zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -407,4 +407,5 @@ $strZip = '"compresso con zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -408,4 +408,5 @@ $strKanjiEncodConvert = '
$strXkana = '<27><><EFBFBD>ѥ<EFBFBD><D1A5>ʤ<EFBFBD><CAA4>Ѵ<EFBFBD><D1B4><EFBFBD><EFBFBD><EFBFBD>'; // convert to X208-kana
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -408,4 +408,5 @@ $strKanjiEncodConvert = '
$strXkana = '<27>S<EFBFBD>p<EFBFBD>J<EFBFBD>i<EFBFBD>֕ϊ<D695><CF8A><EFBFBD><EFBFBD><EFBFBD>'; // convert to X208-kana
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -409,4 +409,5 @@ $strKanjiEncodConvert = '漢字コード変換'; // kanji code convert
$strXkana = '全角カナへ変換する'; // convert to X208-kana
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -403,4 +403,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strYes = 'Taip';
$strZip = '"zip"';
//to translate:
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strYes = 'Taip';
$strZip = '"zip"';
//to translate:
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -403,4 +403,5 @@ $strZip = 'Komprimert (zip)';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strZip = 'Komprimert (zip)';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strYes = 'Tak';
$strZip = '".zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strYes = 'Tak';
$strZip = '".zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -406,4 +406,5 @@ $strMissingBracket = 'Falta de par
$strCantUseRecodeIconv = 'N<>o <20> poss<73>vel usar <i>iconv</i> nem <i>libiconv</i> nem a fun<75><6E>o <i>recode_string</i> enquanto a extens<6E>o reportar que est<73> ligada. Confira a configura<72><61>o do seu php.';
$strCantLoadRecodeIconv = 'N<>o <20> poss<73>vel carregar <i>iconv</i> ou recodificar a extens<6E>o necess<73>ria para a convers<72>o do Mapa de Caracteres, configure o php de modo a permitir utilizar estas extens<6E>es ou desligue a convers<72>o do mapa de caracteres no phpmyadmin.';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -407,4 +407,5 @@ $strMissingBracket = 'Falta de parêntesis recto';
$strCantUseRecodeIconv = 'Não é possível usar <i>iconv</i> nem <i>libiconv</i> nem a função <i>recode_string</i> enquanto a extensão reportar que está ligada. Confira a configuração do seu php.';
$strCantLoadRecodeIconv = 'Não é possível carregar <i>iconv</i> ou recodificar a extensão necessária para a conversão do Mapa de Caracteres, configure o php de modo a permitir utilizar estas extensões ou desligue a conversão do mapa de caracteres no phpmyadmin.';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strYes = 'Da';
$strZip = '"arhivat"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strYes = 'Da';
$strZip = '"arhivat"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -406,4 +406,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strCantLoadRecodeIconv = 'Can not load iconv or recode extension needed for cha
$strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string function while extension reports to be loaded. Check your php configuration.'; //to translate
$strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //to translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strZip = '"zo zipovan
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strZip = '"zo zipované"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strZip = '"zo zipovan
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -397,4 +397,5 @@ $strYes = 'Si';
$strZip = '"comprimido con zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -398,4 +398,5 @@ $strYes = 'Si';
$strZip = '"comprimido con zip"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strZip = '"zippad"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -401,4 +401,5 @@ $strZip = '"zippad"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -404,4 +404,5 @@ $strYes = '
$strZip = '"<22>١<EFBFBD>պ<EFBFBD>Ѵ<EFBFBD><D1B4><EFBFBD><EFBFBD> (zip)"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -405,4 +405,5 @@ $strYes = 'ใช่';
$strZip = '"ถูกบีบอัดอยู่ (zip)"';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -399,4 +399,5 @@ $strYes = 'Evet';
$strZip = '"ziplenmi<6D>"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strYes = 'Evet';
$strZip = '"ziplenmiş"';
// To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -401,4 +401,5 @@ $strZip = 'запакувати в "zip"';
// To translate
$strMySQLCharset = 'MySQL Charset';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -400,4 +400,5 @@ $strZip = '
// To translate
$strMySQLCharset = 'MySQL Charset';
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
?>

View File

@@ -70,7 +70,7 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
*
* @author Mike Beck <mikebeck@users.sourceforge.net>
*/
function PMA_getRelationsParam()
function PMA_getRelationsParam($verbose=FALSE)
{
global $cfg, $server, $err_url_0, $db, $table;
@@ -79,6 +79,7 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
$cfgRelation['displaywork'] = FALSE;
$cfgRelation['pdfwork'] = FALSE;
$cfgRelation['commwork'] = FALSE;
$cfgRelation['allworks'] = FALSE;
// No server selected -> no bookmark table
// we return the array with the FALSEs in it,
@@ -129,11 +130,30 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
}
} // end if
if($cfgRelation['relwork'] == TRUE && $cfgRelation['displaywork'] == TRUE
&& $cfgRelation['pdfwork'] == TRUE && $cfgRelation['commwork'] == TRUE){
$cfgRelation['allworks'] = TRUE;
}
if ($tab_rs) {
mysql_free_result($tab_rs);
} else {
$cfg['Server']['pmadb'] = FALSE;
}
if($verbose==TRUE){
$shit='<font color="red">not OK</font> [ <a href="Documentation.html#%s">Help</a> ]';
$hit ='<font color="green">OK</font>';
echo 'checking PMA Database ...',$cfg['Server']['pmadb'] == FALSE?sprintf($shit,'pmadb'):$hit,'<br />';
echo 'checking relation Table ...',isset($cfgRelation['relation'])?$hit:sprintf($shit,'relation'),'<br />';
echo '<b>',$cfgRelation['relwork']==TRUE?'General Relationfeatures enabled':'General Relationfeatures disabled','</b><br />';
echo 'checking table_info ...',$cfgRelation['displaywork'] == FALSE?sprintf($shit,'table_info'):$hit,'<br />';
echo '<b>',$cfgRelation['displaywork']==TRUE?'Displayfeatures enabled':'Displayfeatures disabled','</b><br />';
echo 'checking table_coords ...',isset($cfgRelation['table_coords'])?$hit:sprintf($shit,'table_coords'),'<br />';
echo 'checking pdf_pages ...',isset($cfgRelation['pdf_pages'])?$hit:sprintf($shit,'table_coords'),'<br />';
echo '<b>',$cfgRelation['pdfwork']==TRUE?'Creation of PDFs enabled':'Creation of PDFs disabled','</b><br />';
echo 'checking column_comments ...',isset($cfgRelation['column_comments'])?$hit:sprintf($shit,'col_com'),'<br />';
echo '<b>',$cfgRelation['commwork']==TRUE?'Displaying Column Comments enabled':'Displaying Column Comments disabled','</b><br />';
}
return $cfgRelation;
} // end of the 'PMA_getRelationsParam()' function