show grid
This commit is contained in:
@@ -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<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* left.php3, libraries/common.lib.php3: fixed xhtml bugs and optimized the
|
||||
|
@@ -452,6 +452,8 @@ if ( PMA_PHP_INT_VERSION >= 40000
|
||||
echo ' ' . $strDisplayPDF . ' :<br />' . "\n";
|
||||
echo ' ' . $strPageNumber . ' ' . "\n";
|
||||
echo ' ' . '<input type="text" name="pdf_page_number" size="3" class="textfield" />' . "\n";
|
||||
echo ' ' . $strShowGrid . ' ' . "\n";
|
||||
echo ' ' . '<input type="checkbox" name="show_grid" />' . "\n";
|
||||
echo ' ' . ' <input type="submit" value="' . $strGo . '" />' . "\n";
|
||||
?>
|
||||
</form>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -360,4 +360,5 @@ $strConfigureTableCoord = 'Les coordonn
|
||||
$strScaleFactorSmall = 'Veuillez augmenter l\'<27>chelle car le sch<63>ma d<>borde la page ';
|
||||
$strDisplayPDF = 'Afficher le sch<63>ma en PDF';
|
||||
$strPageNumber = 'Page n<>:';
|
||||
$strShowGrid = 'Afficher la grille';
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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
|
||||
?>
|
||||
|
@@ -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);
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user