Coding standards
This commit is contained in:
@@ -436,36 +436,35 @@ echo ' ' . ' <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 . ' :<br />' . "\n";
|
||||
echo ' ' . $strPageNumber . ' ' . "\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 . ' <br />' . "\n";
|
||||
echo ' ' . '<input type="checkbox" name="show_color" checked="checked" />' . "\n";
|
||||
echo ' ' . $strShowColor . ' <br />' . "\n";
|
||||
echo ' ' . '<input type="checkbox" name="show_table_dimension" />' . "\n";
|
||||
echo ' ' . $strShowTableDimension . ' ' . "\n";
|
||||
echo ' ' . ' <input type="submit" value="' . $strGo . '" />' . "\n";
|
||||
?>
|
||||
<?php
|
||||
echo ' ' . $strDisplayPDF . ' :<br />' . "\n";
|
||||
echo ' ' . $strPageNumber . ' ' . "\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 . ' <br />' . "\n";
|
||||
echo ' ' . '<input type="checkbox" name="show_color" checked="checked" />' . "\n";
|
||||
echo ' ' . $strShowColor . ' <br />' . "\n";
|
||||
echo ' ' . '<input type="checkbox" name="show_table_dimension" />' . "\n";
|
||||
echo ' ' . $strShowTableDimension . ' ' . "\n";
|
||||
echo ' ' . ' <input type="submit" value="' . $strGo . '" />' . "\n";
|
||||
?>
|
||||
</form>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
<?php
|
||||
} // end if
|
||||
|
||||
echo "\n" . '</ul>';
|
||||
|
||||
echo '</ul>';
|
||||
|
||||
/**
|
||||
* Displays the footer
|
||||
|
Reference in New Issue
Block a user