diff --git a/ChangeLog b/ChangeLog index 573eb972c..3411ac5af 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,7 +10,7 @@ $Source$ Documentation.html: new feature: pdf schema output, thanks to Maxime Delorme (delorme.maxime at free.fr) and to Olivier Plathey (www.fpdf.org) - (todo: checkboxes for grid, color and show coordinates) + (todo: checkboxes for color and show coordinates) 2002-05-13 Loïc Chapeaux * left.php3, libraries/common.lib.php3: fixed xhtml bugs and optimized the diff --git a/db_details_structure.php3 b/db_details_structure.php3 index 0d3b3ac2c..0cc5dc908 100644 --- a/db_details_structure.php3 +++ b/db_details_structure.php3 @@ -452,6 +452,8 @@ if ( PMA_PHP_INT_VERSION >= 40000 echo ' ' . $strDisplayPDF . ' :
' . "\n"; echo ' ' . $strPageNumber . ' ' . "\n"; echo ' ' . '' . "\n"; +echo ' ' . $strShowGrid . ' ' . "\n"; +echo ' ' . '' . "\n"; echo ' ' . ' ' . "\n"; ?> diff --git a/lang/arabic.inc.php3 b/lang/arabic.inc.php3 index 0dcb7fdc5..364d57f5c 100644 --- a/lang/arabic.inc.php3 +++ b/lang/arabic.inc.php3 @@ -366,4 +366,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/brazilian_portuguese.inc.php3 b/lang/brazilian_portuguese.inc.php3 index 4dfdfb672..5da852c46 100644 --- a/lang/brazilian_portuguese.inc.php3 +++ b/lang/brazilian_portuguese.inc.php3 @@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/bulgarian-koi8.inc.php3 b/lang/bulgarian-koi8.inc.php3 index f5ef37847..28141d486 100644 --- a/lang/bulgarian-koi8.inc.php3 +++ b/lang/bulgarian-koi8.inc.php3 @@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/bulgarian-win1251.inc.php3 b/lang/bulgarian-win1251.inc.php3 index 94151a6b9..f75187184 100644 --- a/lang/bulgarian-win1251.inc.php3 +++ b/lang/bulgarian-win1251.inc.php3 @@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/catala.inc.php3 b/lang/catala.inc.php3 index a107cc670..732302131 100644 --- a/lang/catala.inc.php3 +++ b/lang/catala.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/chinese_big5.inc.php3 b/lang/chinese_big5.inc.php3 index 197a31bd5..fb364b195 100644 --- a/lang/chinese_big5.inc.php3 +++ b/lang/chinese_big5.inc.php3 @@ -363,4 +363,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/chinese_gb.inc.php3 b/lang/chinese_gb.inc.php3 index 9f8d6e350..13164d141 100644 --- a/lang/chinese_gb.inc.php3 +++ b/lang/chinese_gb.inc.php3 @@ -363,4 +363,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/croatian-iso8859-2.inc.php3 b/lang/croatian-iso8859-2.inc.php3 index 269a651de..71d1675c9 100644 --- a/lang/croatian-iso8859-2.inc.php3 +++ b/lang/croatian-iso8859-2.inc.php3 @@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/croatian-win1250.inc.php3 b/lang/croatian-win1250.inc.php3 index 4687d6e51..932965d19 100644 --- a/lang/croatian-win1250.inc.php3 +++ b/lang/croatian-win1250.inc.php3 @@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/czech-iso.inc.php3 b/lang/czech-iso.inc.php3 index 8709255be..8e350b245 100644 --- a/lang/czech-iso.inc.php3 +++ b/lang/czech-iso.inc.php3 @@ -361,4 +361,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/czech-win1250.inc.php3 b/lang/czech-win1250.inc.php3 index a1dfaad61..a5ebbc265 100644 --- a/lang/czech-win1250.inc.php3 +++ b/lang/czech-win1250.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/danish.inc.php3 b/lang/danish.inc.php3 index 8da1eca73..df7d20c6a 100644 --- a/lang/danish.inc.php3 +++ b/lang/danish.inc.php3 @@ -359,4 +359,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/dutch.inc.php3 b/lang/dutch.inc.php3 index a0f422393..b40a52c63 100644 --- a/lang/dutch.inc.php3 +++ b/lang/dutch.inc.php3 @@ -359,4 +359,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/english.inc.php3 b/lang/english.inc.php3 index 08273d565..e1300b0d4 100644 --- a/lang/english.inc.php3 +++ b/lang/english.inc.php3 @@ -358,4 +358,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/estonian.inc.php3 b/lang/estonian.inc.php3 index 2ec9128ac..7b30c964c 100644 --- a/lang/estonian.inc.php3 +++ b/lang/estonian.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/finnish.inc.php3 b/lang/finnish.inc.php3 index 0b1b05bdb..9a53b6069 100644 --- a/lang/finnish.inc.php3 +++ b/lang/finnish.inc.php3 @@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/french.inc.php3 b/lang/french.inc.php3 index 3ca1d00ff..ce70566d4 100644 --- a/lang/french.inc.php3 +++ b/lang/french.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Les coordonn $strScaleFactorSmall = 'Veuillez augmenter l\'échelle car le schéma déborde la page '; $strDisplayPDF = 'Afficher le schéma en PDF'; $strPageNumber = 'Page n°:'; +$strShowGrid = 'Afficher la grille'; ?> diff --git a/lang/galician.inc.php3 b/lang/galician.inc.php3 index 83be0890e..c91ae0b02 100644 --- a/lang/galician.inc.php3 +++ b/lang/galician.inc.php3 @@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/georgian.inc.php3 b/lang/georgian.inc.php3 index 0e11d649f..69c09f8f3 100644 --- a/lang/georgian.inc.php3 +++ b/lang/georgian.inc.php3 @@ -369,4 +369,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/german.inc.php3 b/lang/german.inc.php3 index 349460f9e..1d837c10a 100644 --- a/lang/german.inc.php3 +++ b/lang/german.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/greek.inc.php3 b/lang/greek.inc.php3 index 6b93cfd18..b4e4d0ae6 100644 --- a/lang/greek.inc.php3 +++ b/lang/greek.inc.php3 @@ -361,4 +361,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/hebrew.inc.php3 b/lang/hebrew.inc.php3 index 9e94603ed..79c9d16c3 100644 --- a/lang/hebrew.inc.php3 +++ b/lang/hebrew.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/hungarian.inc.php3 b/lang/hungarian.inc.php3 index bc11852ee..d499f1439 100644 --- a/lang/hungarian.inc.php3 +++ b/lang/hungarian.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/indonesian.inc.php3 b/lang/indonesian.inc.php3 index 74c418848..d405608f1 100644 --- a/lang/indonesian.inc.php3 +++ b/lang/indonesian.inc.php3 @@ -359,4 +359,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/italian.inc.php3 b/lang/italian.inc.php3 index 37a30d4cc..12a8720b0 100644 --- a/lang/italian.inc.php3 +++ b/lang/italian.inc.php3 @@ -366,4 +366,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/japanese-euc.inc.php3 b/lang/japanese-euc.inc.php3 index bb61a673e..affb974af 100644 --- a/lang/japanese-euc.inc.php3 +++ b/lang/japanese-euc.inc.php3 @@ -369,4 +369,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/japanese-sjis.inc.php3 b/lang/japanese-sjis.inc.php3 index 29b8d9c0b..0a74902e9 100644 --- a/lang/japanese-sjis.inc.php3 +++ b/lang/japanese-sjis.inc.php3 @@ -369,4 +369,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/korean.inc.php3 b/lang/korean.inc.php3 index 9bf23b3bd..a5a6958a4 100644 --- a/lang/korean.inc.php3 +++ b/lang/korean.inc.php3 @@ -361,4 +361,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/latvian.inc.php3 b/lang/latvian.inc.php3 index b4855dc66..ce89f551e 100644 --- a/lang/latvian.inc.php3 +++ b/lang/latvian.inc.php3 @@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/lithuanian.inc.php3 b/lang/lithuanian.inc.php3 index 622803c89..77cc002be 100644 --- a/lang/lithuanian.inc.php3 +++ b/lang/lithuanian.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/norwegian.inc.php3 b/lang/norwegian.inc.php3 index 5bf54314a..86d98952c 100644 --- a/lang/norwegian.inc.php3 +++ b/lang/norwegian.inc.php3 @@ -364,4 +364,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/polish.inc.php3 b/lang/polish.inc.php3 index 867b24a73..12f964fae 100644 --- a/lang/polish.inc.php3 +++ b/lang/polish.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/portuguese.inc.php3 b/lang/portuguese.inc.php3 index 004912c5d..82d37453b 100644 --- a/lang/portuguese.inc.php3 +++ b/lang/portuguese.inc.php3 @@ -367,4 +367,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/romanian.inc.php3 b/lang/romanian.inc.php3 index f3061125a..a08279db9 100644 --- a/lang/romanian.inc.php3 +++ b/lang/romanian.inc.php3 @@ -361,4 +361,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/russian-koi8.inc.php3 b/lang/russian-koi8.inc.php3 index b8ddc3826..806fc8da9 100644 --- a/lang/russian-koi8.inc.php3 +++ b/lang/russian-koi8.inc.php3 @@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/russian-win1251.inc.php3 b/lang/russian-win1251.inc.php3 index c2431e185..0f5f4f7b2 100644 --- a/lang/russian-win1251.inc.php3 +++ b/lang/russian-win1251.inc.php3 @@ -365,4 +365,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/serbian-win1250.inc.php3 b/lang/serbian-win1250.inc.php3 index f5f8e3094..06a79d236 100644 --- a/lang/serbian-win1250.inc.php3 +++ b/lang/serbian-win1250.inc.php3 @@ -366,4 +366,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/slovak-iso.inc.php3 b/lang/slovak-iso.inc.php3 index ea699eef6..c303de665 100644 --- a/lang/slovak-iso.inc.php3 +++ b/lang/slovak-iso.inc.php3 @@ -363,4 +363,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/slovak-win1250.inc.php3 b/lang/slovak-win1250.inc.php3 index c0c294ab8..46b88ee39 100644 --- a/lang/slovak-win1250.inc.php3 +++ b/lang/slovak-win1250.inc.php3 @@ -363,4 +363,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/spanish.inc.php3 b/lang/spanish.inc.php3 index 921107d7e..5b7433cbd 100644 --- a/lang/spanish.inc.php3 +++ b/lang/spanish.inc.php3 @@ -358,4 +358,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/swedish.inc.php3 b/lang/swedish.inc.php3 index 3b6d692f1..57c537e2d 100644 --- a/lang/swedish.inc.php3 +++ b/lang/swedish.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/thai.inc.php3 b/lang/thai.inc.php3 index b634e4e6f..f96f10040 100644 --- a/lang/thai.inc.php3 +++ b/lang/thai.inc.php3 @@ -367,4 +367,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/turkish.inc.php3 b/lang/turkish.inc.php3 index b44e75582..82dea3000 100644 --- a/lang/turkish.inc.php3 +++ b/lang/turkish.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/lang/ukrainian-win1251.inc.php3 b/lang/ukrainian-win1251.inc.php3 index 1f1559272..e6226552d 100644 --- a/lang/ukrainian-win1251.inc.php3 +++ b/lang/ukrainian-win1251.inc.php3 @@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Please configure the coordinates for table %s'; //to $strScaleFactorSmall = 'The scale factor is too small to fit the schema on one page'; //to translate $strDisplayPDF = 'Display PDF schema'; //to translate $strPageNumber = 'Page number:'; //to translate +$strShowGrid = 'Show grid'; //to translate ?> diff --git a/pdf_schema.php3 b/pdf_schema.php3 index afa866f17..be7aded3b 100644 --- a/pdf_schema.php3 +++ b/pdf_schema.php3 @@ -347,9 +347,9 @@ class rt_table { if (!isset($pdf_page_number)){ $pdf_page_number = 1; } -if (!isset($show_grid)){ - $show_grid = 0; -} + +$show_grid = (isset($show_grid) && $show_grid=='on')? 1:0; + $rt = new RT("auto",$pdf_page_number,0,1,$show_grid); ?>