From: <rc...@us...> - 2013-10-04 16:42:42
|
Revision: 6343 http://sourceforge.net/p/web-erp/reponame/6343 Author: rchacon Date: 2013-10-04 16:42:37 +0000 (Fri, 04 Oct 2013) Log Message: ----------- Fixes Letter_Landscape mismatch between FormDesigner.php and PDFStarter.php. Modified Paths: -------------- trunk/FormDesigner.php trunk/includes/PDFStarter.php Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2013-10-03 06:42:40 UTC (rev 6342) +++ trunk/FormDesigner.php 2013-10-04 16:42:37 UTC (rev 6343) @@ -157,7 +157,7 @@ } echo '<p class="page_title_text"><img src="'.$RootPath.'/css/'.$Theme.'/images/reports.png" title="' . _('Form Design') . '" alt="" />' . ' ' . _('Form Design') . '<br />' . $FormDesign['name'] . '</p>'; echo '<div class="page_help_text">' . _('Enter the changes that you want in the form layout below.') . '<br /> '. _('All measurements are in points') . '.</div><br />'; -$Papers=array('A4_Landscape', 'A4_Portrait', 'A5_Landscape', 'A5_Portrait', 'A3_Landscape', 'A3_Portrait', 'letter_Portrait', 'letter_Landscape', 'legal_Portrait', 'legal_Landscape'); // Possible paper sizes/orientations +$Papers=array('A4_Landscape', 'A4_Portrait', 'A5_Landscape', 'A5_Portrait', 'A3_Landscape', 'A3_Portrait', 'letter_Portrait', 'Letter_Landscape', 'legal_Portrait', 'legal_Landscape'); // Possible paper sizes/orientations echo '<form method="post" id="Form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '">'; echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/includes/PDFStarter.php =================================================================== --- trunk/includes/PDFStarter.php 2013-10-03 06:42:40 UTC (rev 6342) +++ trunk/includes/PDFStarter.php 2013-10-04 16:42:37 UTC (rev 6343) @@ -119,7 +119,7 @@ $Right_Margin = 36; // Half inch = 72/2 break; - case 'letter_landscape': + case 'Letter_Landscape': // 279mm x 216mm $DocumentPaper = 'LETTER'; $DocumentOrientation ='L'; |