Ability to create PDF where all tables have the same width

This commit is contained in:
Mike Beck
2002-07-16 19:10:54 +00:00
parent bb870ba1f6
commit 0243ae4144
86 changed files with 117 additions and 36 deletions

View File

@@ -6,7 +6,10 @@ $Id$
$Source$ $Source$
2002-07-16 Mike Beck <mikebeck@users.sourceforge.net> 2002-07-16 Mike Beck <mikebeck@users.sourceforge.net>
* pdf_pages.php3: if a page is edit it can also be shown * pdf_pages.php3: if a page is edit it can also be shown
* pdf_schema.php3: now it is possible to have all tables
displayed with the same (maximum) width
(feature request 576537)
2002-07-16 Mike Beck <mikebeck@users.sourceforge.net> 2002-07-16 Mike Beck <mikebeck@users.sourceforge.net>
* libraries/relation.lib.php3: verbose mode * libraries/relation.lib.php3: verbose mode
* db_details_structure.php3: show message if relation doesn't work * db_details_structure.php3: show message if relation doesn't work

View File

@@ -495,7 +495,9 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) {
<input type="checkbox" name="show_color" id="show_color_opt" checked="checked" /> <input type="checkbox" name="show_color" id="show_color_opt" checked="checked" />
<label for="show_color_opt"><?php echo $strShowColor; ?></label><br /> <label for="show_color_opt"><?php echo $strShowColor; ?></label><br />
<input type="checkbox" name="show_table_dimension" id="show_table_dim_opt" /> <input type="checkbox" name="show_table_dimension" id="show_table_dim_opt" />
<label for="show_table_dim_opt"><?php echo $strShowTableDimension; ?></label> <label for="show_table_dim_opt"><?php echo $strShowTableDimension; ?></label><br />
<input type="checkbox" name="all_tab_same_wide" id="all_tab_same_wide" />
<label for="all_tab_same_wide"><?php echo $strAllTableSameWidth; ?></label>
&nbsp;&nbsp;<input type="submit" value="<?php echo $strGo; ?>" /> &nbsp;&nbsp;<input type="submit" value="<?php echo $strGo; ?>" />
</form> </form>
</li> </li>

View File

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

View File

@@ -406,4 +406,5 @@ $strZip = '"kompresuar me zip"';
// To translate // To translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -407,4 +407,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -404,4 +404,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

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

View File

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

View File

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

View File

@@ -399,4 +399,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -400,4 +400,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

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

View File

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

View File

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

View File

@@ -399,4 +399,5 @@ $strYes = 'Yes';
$strZip = '"zipped"'; $strZip = '"zipped"';
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -377,4 +377,5 @@ $strYes = 'Ναι';
$strZip = 'συμπίεση «zip»'; $strZip = 'συμπίεση «zip»';
// To translate // To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -400,4 +400,5 @@ $strSearchNeedle = 'Word(s) or value(s) to search for (wildcard: "%"):';//to tra
$strShowGrid = 'Show grid'; //to translate $strShowGrid = 'Show grid'; //to translate
$strShowTableDimension = 'Show dimension of tables'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -403,4 +403,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -404,4 +404,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

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

View File

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

View File

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

View File

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

View File

@@ -409,4 +409,5 @@ $strXkana = '
// To translate // To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -409,4 +409,5 @@ $strXkana = '
// To translate // To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -410,4 +410,5 @@ $strXkana = '全角カナへ変換する'; // convert to X208-kana
// To translate // To translate
$strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -401,4 +401,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -404,4 +404,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -407,4 +407,5 @@ $strCantUseRecodeIconv = 'N
$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.'; $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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -408,4 +408,5 @@ $strCantUseRecodeIconv = 'Não é possível usar <i>iconv</i> nem <i>libiconv</i
$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.'; $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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

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

View File

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

View File

@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -407,4 +407,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
$strMySQLCharset = 'MySQL Charset'; //to translate $strMySQLCharset = 'MySQL Charset'; //to translate
$strComments = 'Comments'; //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 $strRelationNotWorking = 'The additional Features for working with linked Tables have been deactivated. To find out why click %shere%s.'; //to translate
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
?> ?>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -140,7 +140,7 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
$cfg['Server']['pmadb'] = FALSE; $cfg['Server']['pmadb'] = FALSE;
} }
if($verbose==TRUE){ if($verbose==TRUE){
$shit='<font color="red">not OK</font> [ <a href="Documentation.html#%s">Help</a> ]'; $shit='<font color="red">not OK</font> [ <a href="Documentation.html#%s">' . $strDocu . '</a> ]';
$hit ='<font color="green">OK</font>'; $hit ='<font color="green">OK</font>';
echo 'checking PMA Database ...',$cfg['Server']['pmadb'] == FALSE?sprintf($shit,'pmadb'):$hit,'<br />'; 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 'checking relation Table ...',isset($cfgRelation['relation'])?$hit:sprintf($shit,'relation'),'<br />';

View File

@@ -266,7 +266,9 @@ if ($cfgRelation['pdfwork']) {
<input type="checkbox" name="show_color" id="show_color_opt" checked="checked" /> <input type="checkbox" name="show_color" id="show_color_opt" checked="checked" />
<label for="show_color_opt"><?php echo $strShowColor; ?></label><br /> <label for="show_color_opt"><?php echo $strShowColor; ?></label><br />
<input type="checkbox" name="show_table_dimension" id="show_table_dim_opt" /> <input type="checkbox" name="show_table_dimension" id="show_table_dim_opt" />
<label for="show_table_dim_opt"><?php echo $strShowTableDimension; ?></label> <label for="show_table_dim_opt"><?php echo $strShowTableDimension; ?></label><br />
<input type="checkbox" name="all_tab_same_wide" id="all_tab_same_wide" />
<label for="all_tab_same_wide"><?php echo $strAllTableSameWidth; ?></label>
&nbsp;&nbsp;<input type="submit" value="<?php echo $strGo; ?>" /> &nbsp;&nbsp;<input type="submit" value="<?php echo $strGo; ?>" />
</form> </form>
<?php <?php

View File

@@ -28,27 +28,10 @@ $cfgRelation = PMA_getRelationsParam();
* correctly, so it is a good place to see which tables we can and * correctly, so it is a good place to see which tables we can and
* complain ;-) * complain ;-)
*/ */
if (!$cfgRelation['relwork']) { if (!$cfgRelation['allworks']) {
echo sprintf($strNotSet, 'relation', 'config.inc.php3') . '<br />' . "\n" echo '<font color="red">' . $strError . '</font><br />';
. '<a href="./Documentation.html#relation" target="documentation">' . $strDocu . '</a>' . "\n"; $urltogoto = '<a href="'.$cfg['PmaAbsoluteUri'].'chk_rel.php3?'.$url_query.'">';
exit(); echo sprintf($strRelationNotWorking,$urltogoto,'</a>');
}
if (!$cfgRelation['displaywork']) {
echo sprintf($strNotSet, 'table_info', 'config.inc.php3') . '<br />' . "\n"
. '<a href="./Documentation.html#table_info" target="documentation">' . $strDocu . '</a>' . "\n";
exit();
}
if (!isset($cfgRelation['table_coords'])){
echo sprintf($strNotSet, 'table_coords', 'config.inc.php3') . '<br />' . "\n"
. '<a href="./Documentation.html#table_coords" target="documentation">' . $strDocu . '</a>' . "\n";
exit();
}
if (!isset($cfgRelation['pdf_pages'])) {
echo sprintf($strNotSet, 'pdf_page', 'config.inc.php3') . '<br />' . "\n"
. '<a href="./Documentation.html#pdf_pages" target="documentation">' . $strDocu . '</a>' . "\n";
exit();
} }
@@ -357,6 +340,8 @@ class PMA_RT_Table
*/ */
function PMA_RT_Table_setWidth($ff) function PMA_RT_Table_setWidth($ff)
{ {
// this looks buggy to me... does it really work if
// there are fields that require wider cells than the name of the table?
global $pdf; global $pdf;
reset($this->fields); reset($this->fields);
@@ -393,10 +378,13 @@ class PMA_RT_Table
* *
* @see PMA_PDF * @see PMA_PDF
*/ */
function PMA_RT_Table_draw($show_info, $ff) function PMA_RT_Table_draw($show_info, $ff, $same_wide=0)
{ {
global $pdf; global $pdf, $rt;
if(isset($rt->tablewidth)&& $rt->tablewidth>0 && $same_wide==1){
$this->width=$rt->tablewidth;
}
$pdf->PMA_PDF_setXyScale($this->x, $this->y); $pdf->PMA_PDF_setXyScale($this->x, $this->y);
$pdf->SetFont($ff, 'B'); $pdf->SetFont($ff, 'B');
$pdf->SetTextColor(200); $pdf->SetTextColor(200);
@@ -449,7 +437,7 @@ class PMA_RT_Table
*/ */
function PMA_RT_Table($table_name, $ff) function PMA_RT_Table($table_name, $ff)
{ {
global $pdf, $pdf_page_number, $cfgRelation, $db; global $rt, $pdf, $pdf_page_number, $cfgRelation, $db;
$this->table_name = $table_name; $this->table_name = $table_name;
$sql = 'DESCRIBE ' . PMA_backquote($table_name); $sql = 'DESCRIBE ' . PMA_backquote($table_name);
@@ -465,7 +453,9 @@ class PMA_RT_Table
//height and width //height and width
$this->PMA_RT_Table_setWidth($ff); $this->PMA_RT_Table_setWidth($ff);
$this->PMA_RT_Table_setHeight(); $this->PMA_RT_Table_setHeight();
if($rt->tablewidth<$this->width){
$rt->tablewidth=$this->width;
}
//x and y //x and y
$sql = 'SELECT x, y FROM ' $sql = 'SELECT x, y FROM '
. PMA_backquote($cfgRelation['table_coords']) . PMA_backquote($cfgRelation['table_coords'])
@@ -669,7 +659,8 @@ class PMA_RT
var $b_marg = 10; var $b_marg = 10;
var $l_marg = 10; var $l_marg = 10;
var $r_marg = 10; var $r_marg = 10;
var $tablewidth;
var $same_wide = 0;
/** /**
* Sets X and Y minimum and maximum for a table cell * Sets X and Y minimum and maximum for a table cell
@@ -783,7 +774,7 @@ class PMA_RT
{ {
reset($this->tables); reset($this->tables);
while (list(, $table) = each($this->tables)) { while (list(, $table) = each($this->tables)) {
$table->PMA_RT_Table_draw($show_info, $this->ff); $table->PMA_RT_Table_draw($show_info, $this->ff,$this->same_wide);
} }
} // end of the "PMA_RT_drawTables()" method } // end of the "PMA_RT_drawTables()" method
@@ -828,14 +819,14 @@ class PMA_RT
* *
* @see PMA_PDF * @see PMA_PDF
*/ */
function PMA_RT($scale, $which_rel, $show_info = 0, $change_color = 0 , $show_grid = 0) function PMA_RT($scale, $which_rel, $show_info = 0, $change_color = 0 , $show_grid = 0, $all_tab_same_wide = 0)
{ {
global $pdf, $db, $cfgRelation;; global $pdf, $db, $cfgRelation;;
// Font face depends on the current language // Font face depends on the current language
$this->ff = str_replace('"', '', substr($GLOBALS['right_font_family'], 0, strpos($GLOBALS['right_font_family'], ','))); $this->ff = str_replace('"', '', substr($GLOBALS['right_font_family'], 0, strpos($GLOBALS['right_font_family'], ',')));
$this->same_wide = $all_tab_same_wide;
// Initializes a new document // Initializes a new document
$pdf = new PMA_PDF('L'); $pdf = new PMA_PDF('L');
$pdf->title = sprintf($GLOBALS['strPdfDbSchema'], $GLOBALS['db'], $which_rel); $pdf->title = sprintf($GLOBALS['strPdfDbSchema'], $GLOBALS['db'], $which_rel);
$pdf->cMargin = 0; $pdf->cMargin = 0;
@@ -881,7 +872,8 @@ class PMA_RT
reset ($alltables); reset ($alltables);
while (list(, $table) = each ($alltables)) { while (list(, $table) = each ($alltables)) {
$this->tables[$table] = new PMA_RT_Table($table, $this->ff); $this->tables[$table] = new PMA_RT_Table($table, $this->ff);
$this->PMA_RT_setMinMax($this->tables[$table]); $curr_table_obj =&$this->tables[$table];
$this->PMA_RT_setMinMax($curr_table_obj);
} }
$norelations = TRUE; $norelations = TRUE;
} // end if... else... } // end if... else...
@@ -924,8 +916,9 @@ if (!isset($pdf_page_number)) {
$show_grid = (isset($show_grid) && $show_grid == 'on') ? 1 : 0; $show_grid = (isset($show_grid) && $show_grid == 'on') ? 1 : 0;
$show_color = (isset($show_color) && $show_color == 'on') ? 1 : 0; $show_color = (isset($show_color) && $show_color == 'on') ? 1 : 0;
$show_table_dimension = (isset($show_table_dimension) && $show_table_dimension == 'on') ? 1 : 0; $show_table_dimension = (isset($show_table_dimension) && $show_table_dimension == 'on') ? 1 : 0;
$all_tab_same_wide = (isset($all_tab_same_wide) && $all_tab_same_wide == 'on') ? 1 : 0;
PMA_mysql_select_db($db); PMA_mysql_select_db($db);
$rt = new PMA_RT('auto', $pdf_page_number, $show_table_dimension, $show_color, $show_grid); $rt = new PMA_RT('auto', $pdf_page_number, $show_table_dimension, $show_color, $show_grid, $all_tab_same_wide);
?> ?>