Ability to create PDF where all tables have the same width
This commit is contained in:
@@ -6,6 +6,9 @@ $Id$
|
||||
$Source$
|
||||
2002-07-16 Mike Beck <mikebeck@users.sourceforge.net>
|
||||
* 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>
|
||||
* libraries/relation.lib.php3: verbose mode
|
||||
|
@@ -495,7 +495,9 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) {
|
||||
<input type="checkbox" name="show_color" id="show_color_opt" checked="checked" />
|
||||
<label for="show_color_opt"><?php echo $strShowColor; ?></label><br />
|
||||
<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>
|
||||
<input type="submit" value="<?php echo $strGo; ?>" />
|
||||
</form>
|
||||
</li>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -407,4 +407,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -404,4 +404,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -407,4 +407,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -407,4 +407,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strZip = '"zazipov
|
||||
|
||||
// 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
|
||||
?>
|
||||
|
@@ -406,4 +406,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strZip = '"zazipov
|
||||
|
||||
// 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
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -402,4 +402,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -399,4 +399,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -404,4 +404,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -399,4 +399,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -400,4 +400,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -404,4 +404,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -382,4 +382,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -408,4 +408,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -409,4 +409,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -376,4 +376,5 @@ $strYes = '
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -377,4 +377,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $strSearchNeedle = 'Word(s) or value(s) to search for (wildcard: "%"):';//to tra
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -403,4 +403,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -404,4 +404,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -402,4 +402,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -403,4 +403,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -408,4 +408,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -409,4 +409,5 @@ $strXkana = '
|
||||
|
||||
// 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
|
||||
?>
|
||||
|
@@ -409,4 +409,5 @@ $strXkana = '
|
||||
|
||||
// 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
|
||||
?>
|
||||
|
@@ -410,4 +410,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -404,4 +404,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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.';
|
||||
|
||||
$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
|
||||
?>
|
||||
|
@@ -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.';
|
||||
|
||||
$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
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -407,4 +407,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,5 @@ $strCantUseRecodeIconv = 'Can not use iconv nor libiconv nor recode_string funct
|
||||
$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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -398,4 +398,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -399,4 +399,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -402,4 +402,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -405,4 +405,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -406,4 +406,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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -400,4 +400,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $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
|
||||
$strAllTableSameWidth = 'display all Tables with same width?'; //to translate
|
||||
?>
|
||||
|
@@ -402,4 +402,5 @@ $strZip = 'запакувати в "zip"';
|
||||
|
||||
$strMySQLCharset = 'MySQL Charset';
|
||||
$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
|
||||
?>
|
||||
|
@@ -401,4 +401,5 @@ $strZip = '
|
||||
|
||||
$strMySQLCharset = 'MySQL Charset';
|
||||
$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
|
||||
?>
|
||||
|
@@ -140,7 +140,7 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
|
||||
$cfg['Server']['pmadb'] = FALSE;
|
||||
}
|
||||
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>';
|
||||
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 />';
|
||||
|
@@ -266,7 +266,9 @@ if ($cfgRelation['pdfwork']) {
|
||||
<input type="checkbox" name="show_color" id="show_color_opt" checked="checked" />
|
||||
<label for="show_color_opt"><?php echo $strShowColor; ?></label><br />
|
||||
<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>
|
||||
<input type="submit" value="<?php echo $strGo; ?>" />
|
||||
</form>
|
||||
<?php
|
||||
|
@@ -28,27 +28,10 @@ $cfgRelation = PMA_getRelationsParam();
|
||||
* correctly, so it is a good place to see which tables we can and
|
||||
* complain ;-)
|
||||
*/
|
||||
if (!$cfgRelation['relwork']) {
|
||||
echo sprintf($strNotSet, 'relation', 'config.inc.php3') . '<br />' . "\n"
|
||||
. '<a href="./Documentation.html#relation" target="documentation">' . $strDocu . '</a>' . "\n";
|
||||
exit();
|
||||
}
|
||||
|
||||
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();
|
||||
if (!$cfgRelation['allworks']) {
|
||||
echo '<font color="red">' . $strError . '</font><br />';
|
||||
$urltogoto = '<a href="'.$cfg['PmaAbsoluteUri'].'chk_rel.php3?'.$url_query.'">';
|
||||
echo sprintf($strRelationNotWorking,$urltogoto,'</a>');
|
||||
}
|
||||
|
||||
|
||||
@@ -357,6 +340,8 @@ class PMA_RT_Table
|
||||
*/
|
||||
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;
|
||||
|
||||
reset($this->fields);
|
||||
@@ -393,10 +378,13 @@ class PMA_RT_Table
|
||||
*
|
||||
* @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->SetFont($ff, 'B');
|
||||
$pdf->SetTextColor(200);
|
||||
@@ -449,7 +437,7 @@ class PMA_RT_Table
|
||||
*/
|
||||
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;
|
||||
$sql = 'DESCRIBE ' . PMA_backquote($table_name);
|
||||
@@ -465,7 +453,9 @@ class PMA_RT_Table
|
||||
//height and width
|
||||
$this->PMA_RT_Table_setWidth($ff);
|
||||
$this->PMA_RT_Table_setHeight();
|
||||
|
||||
if($rt->tablewidth<$this->width){
|
||||
$rt->tablewidth=$this->width;
|
||||
}
|
||||
//x and y
|
||||
$sql = 'SELECT x, y FROM '
|
||||
. PMA_backquote($cfgRelation['table_coords'])
|
||||
@@ -669,7 +659,8 @@ class PMA_RT
|
||||
var $b_marg = 10;
|
||||
var $l_marg = 10;
|
||||
var $r_marg = 10;
|
||||
|
||||
var $tablewidth;
|
||||
var $same_wide = 0;
|
||||
|
||||
/**
|
||||
* Sets X and Y minimum and maximum for a table cell
|
||||
@@ -783,7 +774,7 @@ class PMA_RT
|
||||
{
|
||||
reset($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
|
||||
|
||||
@@ -828,13 +819,13 @@ class PMA_RT
|
||||
*
|
||||
* @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;;
|
||||
|
||||
// Font face depends on the current language
|
||||
$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
|
||||
$pdf = new PMA_PDF('L');
|
||||
$pdf->title = sprintf($GLOBALS['strPdfDbSchema'], $GLOBALS['db'], $which_rel);
|
||||
@@ -881,7 +872,8 @@ class PMA_RT
|
||||
reset ($alltables);
|
||||
while (list(, $table) = each ($alltables)) {
|
||||
$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;
|
||||
} // end if... else...
|
||||
@@ -924,8 +916,9 @@ if (!isset($pdf_page_number)) {
|
||||
$show_grid = (isset($show_grid) && $show_grid == '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;
|
||||
$all_tab_same_wide = (isset($all_tab_same_wide) && $all_tab_same_wide == 'on') ? 1 : 0;
|
||||
|
||||
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);
|
||||
?>
|
||||
|
Reference in New Issue
Block a user