User can select paper size for pdf (RFE #631551).

This commit is contained in:
Michal Čihař
2003-06-06 13:16:42 +00:00
parent 79e30f11d8
commit d6134e0d28
96 changed files with 138 additions and 7 deletions

View File

@@ -620,9 +620,21 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) {
<select name="orientation">
<option value="L"><?php echo $strLandscape;?></option>
<option value="P"><?php echo $strPortrait;?></option>
</select>
&nbsp;&nbsp;<input type="submit" value="<?php echo $strGo; ?>" />
</form>
</select><br />
<?php echo $strPaperSize; ?>
<select name="paper">
<?php
while (list($key,$val) = each($cfg['PDFPageSizes'])) {
echo '<option value="' . $val . '"';
if ($val == $cfg['PDFDefaultPageSize']) {
echo ' selected="selected"';
}
echo ' >' . $val . '</option>' . "\n";
}
?>
</select><br />
&nbsp;&nbsp;<input type="submit" value="<?php echo $strGo; ?>" />
</form>
</li>
<?php
} // end if