Coding standards

This commit is contained in:
Loïc Chapeaux
2002-05-16 21:58:47 +00:00
parent 4b05caa50a
commit bbf33f8cd9
3 changed files with 39 additions and 36 deletions

View File

@@ -436,36 +436,35 @@ echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' . "\n";
</li>
<?php
// is this OK to check for 'class' support?
if ( PMA_PHP_INT_VERSION >= 40000
if (PMA_PHP_INT_VERSION >= 40000
&& (!empty($cfg['Server']['pdf_table_position']))) {
?>
?>
<!-- PDF schema -->
<li>
<form method="post" action="pdf_schema.php3">
<input type="hidden" name="server" value="<?php echo $server; ?>" />
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
<input type="hidden" name="db" value="<?php echo $db; ?>" />
<?php
echo ' ' . $strDisplayPDF . '&nbsp;:<br />' . "\n";
echo ' ' . $strPageNumber . '&nbsp;' . "\n";
echo ' ' . '<input type="text" name="pdf_page_number" size="3" class="textfield" value="1" /> <br />' . "\n";
echo ' ' . '<input type="checkbox" name="show_grid" />' . "\n";
echo ' ' . $strShowGrid . '&nbsp;<br />' . "\n";
echo ' ' . '<input type="checkbox" name="show_color" checked="checked" />' . "\n";
echo ' ' . $strShowColor . '&nbsp;<br />' . "\n";
echo ' ' . '<input type="checkbox" name="show_table_dimension" />' . "\n";
echo ' ' . $strShowTableDimension . '&nbsp;' . "\n";
echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' . "\n";
?>
<?php
echo ' ' . $strDisplayPDF . '&nbsp;:<br />' . "\n";
echo ' ' . $strPageNumber . '&nbsp;' . "\n";
echo ' ' . '<input type="text" name="pdf_page_number" size="3" class="textfield" value="1" /><br />' . "\n";
echo ' ' . '<input type="checkbox" name="show_grid" />' . "\n";
echo ' ' . $strShowGrid . '&nbsp;<br />' . "\n";
echo ' ' . '<input type="checkbox" name="show_color" checked="checked" />' . "\n";
echo ' ' . $strShowColor . '&nbsp;<br />' . "\n";
echo ' ' . '<input type="checkbox" name="show_table_dimension" />' . "\n";
echo ' ' . $strShowTableDimension . '&nbsp;' . "\n";
echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' . "\n";
?>
</form>
</li>
<?php
}
<?php
} // end if
echo "\n" . '</ul>';
echo '</ul>';
/**
* Displays the footer