checkboxes

This commit is contained in:
Marc Delisle 2002-05-14 17:18:36 +00:00
parent 4520fd9fdc
commit 23d7154615
3 changed files with 9 additions and 3 deletions

View File

@ -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 color and show coordinates)
(todo: scaling choice)
2002-05-13 Loïc Chapeaux <lolo@phpheaven.net>
* left.php3, libraries/common.lib.php3: fixed xhtml bugs and optimized the

View File

@ -451,9 +451,13 @@ if ( PMA_PHP_INT_VERSION >= 40000
<?php
echo ' ' . $strDisplayPDF . '&nbsp;:<br />' . "\n";
echo ' ' . $strPageNumber . '&nbsp;' . "\n";
echo ' ' . '<input type="text" name="pdf_page_number" size="3" class="textfield" />' . "\n";
echo ' ' . '<input type="text" name="pdf_page_number" size="3" class="textfield" value="1" />' . "\n";
echo ' ' . $strShowGrid . '&nbsp;' . "\n";
echo ' ' . '<input type="checkbox" name="show_grid" />' . "\n";
echo ' ' . $strShowColor . '&nbsp;' . "\n";
echo ' ' . '<input type="checkbox" name="show_color" checked="checked" />' . "\n";
echo ' ' . $strShowTableDimension . '&nbsp;' . "\n";
echo ' ' . '<input type="checkbox" name="show_table_dimension" />' . "\n";
echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' . "\n";
?>
</form>

View File

@ -349,7 +349,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;
$rt = new RT("auto",$pdf_page_number,0,1,$show_grid);
$rt = new RT("auto",$pdf_page_number,$show_table_dimension,$show_color,$show_grid);
?>