From: <vv...@us...> - 2012-01-23 22:18:52
|
Revision: 4836 http://web-erp.svn.sourceforge.net/web-erp/?rev=4836&view=rev Author: vvs2012 Date: 2012-01-23 22:18:42 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/AddCustomerTypeNotes.php trunk/Areas.php trunk/AuditTrail.php trunk/BOMs.php trunk/BankAccounts.php trunk/BankMatching.php trunk/COGSGLPostings.php trunk/CreditItemsControlled.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/CustEDISetup.php trunk/CustomerAllocations.php trunk/CustomerBranches.php trunk/CustomerInquiry.php trunk/CustomerReceipt.php trunk/CustomerTypes.php trunk/Customers.php trunk/DeliveryDetails.php trunk/DiscountCategories.php trunk/DiscountMatrix.php trunk/EDIMessageFormat.php trunk/EmailCustTrans.php trunk/ExchangeRateTrend.php trunk/FTP_RadioBeacon.php trunk/Factors.php trunk/FixedAssetItems.php trunk/FixedAssetRegister.php trunk/FixedAssetTransfer.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLAccountCSV.php trunk/GLAccountInquiry.php trunk/GLAccountReport.php trunk/GLAccounts.php trunk/GLBudgets.php trunk/GLProfit_Loss.php trunk/GLTagProfit_Loss.php trunk/GeocodeSetup.php trunk/Locations.php trunk/MRP.php trunk/MRPDemandTypes.php trunk/MRPDemands.php trunk/MRPPlannedWorkOrders.php trunk/MRPReport.php trunk/MRPShortages.php trunk/PDFCustTransListing.php trunk/PDFCustomerList.php trunk/PDFDIFOT.php trunk/PDFLowGP.php trunk/PDFOrderStatus.php trunk/PDFPeriodStockTransListing.php trunk/PDFPriceList.php trunk/PDFPrintLabel.php trunk/PDFStockTransfer.php trunk/PDFSuppTransListing.php trunk/POReport.php trunk/PO_AuthorisationLevels.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_OrderDetails.php trunk/PO_PDFPurchOrder.php trunk/PO_SelectOSPurchOrder.php trunk/PO_SelectPurchOrder.php trunk/PaymentMethods.php trunk/PaymentTerms.php trunk/Payments.php trunk/PcAssignCashToTab.php trunk/PcAuthorizeExpenses.php trunk/PcClaimExpensesFromTab.php trunk/PcReportTab.php trunk/PcTabs.php trunk/PcTypeTabs.php trunk/Prices.php trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/Prices_Customer.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/PurchData.php trunk/RecurringSalesOrders.php trunk/SMTPServer.php trunk/SalesAnalReptCols.php trunk/SalesAnalRepts.php trunk/SalesCategoryPeriodInquiry.php trunk/SalesGLPostings.php trunk/SalesInquiry.php trunk/SalesTopItemsInquiry.php trunk/SalesTypes.php trunk/SelectAsset.php trunk/SelectCreditItems.php trunk/SelectCustomer.php trunk/SelectGLAccount.php trunk/SelectOrderItems.php trunk/SelectSalesOrder.php trunk/SelectSupplier.php trunk/SelectWorkOrder.php trunk/Shipt_Select.php trunk/StockAdjustments.php trunk/StockAdjustmentsControlled.php trunk/StockCategories.php trunk/StockCostUpdate.php trunk/StockCounts.php trunk/StockLocMovements.php trunk/StockLocTransferReceive.php trunk/StockMovements.php trunk/Stocks.php trunk/SuppContractChgs.php trunk/SuppFixedAssetChgs.php trunk/SuppInvGRNs.php trunk/SuppShiptChgs.php trunk/SuppTransGLAnalysis.php trunk/SupplierContacts.php trunk/SupplierCredit.php trunk/SupplierInquiry.php trunk/SupplierInvoice.php trunk/SupplierTransInquiry.php trunk/Suppliers.php trunk/SystemParameters.php trunk/Tax.php trunk/TaxCategories.php trunk/TaxGroups.php trunk/UserSettings.php trunk/WWW_Access.php trunk/WWW_Users.php trunk/WhereUsedInquiry.php trunk/WorkOrderReceive.php trunk/Z_CheckAllocationsFrom.php trunk/Z_CheckDebtorsControl.php trunk/Z_CurrencyDebtorsBalances.php trunk/Z_DataExport.php trunk/Z_MakeNewCompany.php trunk/Z_ReApplyCostToSA.php trunk/Z_SalesIntegrityCheck.php trunk/doc/Change.log Modified: trunk/AddCustomerTypeNotes.php =================================================================== --- trunk/AddCustomerTypeNotes.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/AddCustomerTypeNotes.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -198,7 +198,7 @@ </tr> <tr> <td>'. _('Date').':</td> - <td><input type="text" name="date" class=date alt="'.$_SESSION['DefaultDateFormat'].'" value="'. $_POST['date']. '" size="10" maxlength="10" /></td> + <td><input type="text" name="date" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" value="'. $_POST['date']. '" size="10" maxlength="10" /></td> </tr> <tr> <td>'. _('Priority').':</td> Modified: trunk/Areas.php =================================================================== --- trunk/Areas.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Areas.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -213,7 +213,7 @@ echo '<table class="selection"> <tr> <td>' . _('Area Code') . ':</td> - <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength=3 /></td> + <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength="3"/></td> </tr>'; } Modified: trunk/AuditTrail.php =================================================================== --- trunk/AuditTrail.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/AuditTrail.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -39,9 +39,9 @@ echo '<table class="selection">'; echo '<tr><td>'. _('From Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="1" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value="' .$_POST['FromDate']. '" /></td></tr>'; + <td><input tabindex="1" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value="' .$_POST['FromDate']. '" /></td></tr>'; echo '<tr><td>'. _('To Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="2" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value="' . $_POST['ToDate'] . '" /></td></tr>'; + <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value="' . $_POST['ToDate'] . '" /></td></tr>'; // Show user selections echo '<tr><td>'. _('User ID'). '</td> @@ -159,7 +159,7 @@ } $result = DB_query($sql,$db); - echo '<table border=0 width="98%" class=selection>'; + echo '<table border="0" width="98%" class="selection">'; echo '<tr><th>' . _('Date/Time') . '</th> <th>' . _('User') . '</th> <th>' . _('Type') . '</th> @@ -206,7 +206,7 @@ echo '</tr>'; } } - echo '<tr bgcolor=black> <td colspan="6"></td> </tr>'; + echo '<tr bgcolor="black"> <td colspan="6"></td> </tr>'; } unset($_SESSION['SQLString']); } Modified: trunk/BOMs.php =================================================================== --- trunk/BOMs.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BOMs.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -418,7 +418,7 @@ break; } - echo '<br /><div class=centre><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('Select a Different BOM') . '</a></div><br />'; + echo '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('Select a Different BOM') . '</a></div><br />'; echo '<table class="selection">'; // Display Manufatured Parent Items $sql = "SELECT bom.parent, @@ -834,7 +834,7 @@ '<div class="page_help_text">'. _('Select a manufactured part') . ' (' . _('or Assembly or Kit part') . ') ' . _('to maintain the bill of material for using the options below') . '<br /><font size="1">' . _('Parts must be defined in the stock item entry') . '/' . _('modification screen as manufactured') . ', ' . _('kits or assemblies to be available for construction of a bill of material') .'</div>'. '</font> <br /> <table class="selection" cellpadding="3" colspan="4"> - <tr><td><font size=1>' . _('Enter text extracts in the') . ' <b>' . _('description') . '</b>:</font></td> + <tr><td><font size="1">' . _('Enter text extracts in the') . ' <b>' . _('description') . '</b>:</font></td> <td><input tabindex="1" type="text" name="Keywords" size="20" maxlength="25" /></td> <td><font size="3"><b>' . _('OR') . '</b></font></td> <td><font size="1">' . _('Enter extract of the') . ' <b>' . _('Stock Code') . '</b>:</font></td> Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BankAccounts.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -213,7 +213,7 @@ } elseif ($myrow['invoice']==2) { $DefaultBankAccount=_('Currency Default'); } - printf('<td>%s<br /><font size=2>%s</font></td> + printf('<td>%s<br /><font size="2">%s</font></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -324,9 +324,9 @@ } echo '<tr><td>' . _('Bank Account Name') . ': </td> - <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size=40 maxlength=50 /></td></tr> + <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Account Code') . ': </td> - <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size=40 maxlength=50 /></td></tr> + <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Account Number') . ': </td> <td><input tabindex="3" ' . (in_array('AccountNumber',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountNumber" value="' . $_POST['BankAccountNumber'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Address') . ': </td> Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BankMatching.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -82,7 +82,7 @@ echo '<div class="page_help_text">' . _('Use this screen to match webERP Receipts and Payments to your Bank Statement. Check your bank statement and click the check-box when you find the matching transaction.') . '</div><br />'; -echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; +echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="Type" value="' . $Type . '" />'; Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/COGSGLPostings.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -258,9 +258,9 @@ FROM areas"; $result = DB_query($sql,$db); -echo '<table class=selection> +echo '<table class="selection"> <tr><td>' . _('Area') . ':</td> - <td><select tabindex=1 name="Area"> + <td><select tabindex="1" name="Area"> <option value="AN">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { @@ -281,7 +281,7 @@ </tr> <tr> <td>' . _('Stock Category') . ':</td> - <td><select tabindex=2 name="StkCat"> + <td><select tabindex="2" name="StkCat"> <option value="ANY">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { @@ -303,7 +303,7 @@ </tr> <tr> <td>' . _('Sales Type') . ' / ' . _('Price List') . ':</td> - <td><select tabindex=3 name="SalesType"> + <td><select tabindex="3" name="SalesType"> <option value="AN">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { Modified: trunk/CreditItemsControlled.php =================================================================== --- trunk/CreditItemsControlled.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CreditItemsControlled.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -75,7 +75,7 @@ echo '<br /><a href="' . $rootpath . '/' . $CreditLink . '">'. _('Back to Credit Note Entry'). '</a>'; -echo '<br /><font size=2><b>'. _('Credit of Controlled Item'). ' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('from') .' '. $_SESSION['CreditItems']->CustomerName . '</b></font></div>'; +echo '<br /><font size="2"<b>'. _('Credit of Controlled Item'). ' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('from') .' '. $_SESSION['CreditItems']->CustomerName . '</b></font></div>'; /** vars needed by InputSerialItem : **/ $LocationOut = $_SESSION['CreditItems']->Location; Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CreditStatus.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -248,7 +248,7 @@ echo '<td><input tabindex="3" type="checkbox" checked name="DisallowInvoices" /></td> </tr>'; } else { - echo '<td><input tabindex=3 type="checkbox" name="DisallowInvoices" /></td> + echo '<td><input tabindex="3" type="checkbox" name="DisallowInvoices" /></td> </tr>'; } echo '</table> Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Credit_Invoice.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -262,9 +262,9 @@ echo '<table cellpadding="2" colspan="7" class="selection"><tr>'; echo '<tr><th colspan="13">'; - echo '<div class="centre"><font color=blue size=4><b>' . _('Credit Invoice') . ' ' . $_SESSION['ProcessingCredit'] . '</b> - <b>'.' - ' . $_SESSION['CreditItems']->CustomerName . '</b></font> - <font size=3 color=blue> - ' . _('Credit Note amounts stated in') . ' ' . $_SESSION['CreditItems']->DefaultCurrency . '</div></font>'; + echo '<div class="centre"><b>' . _('Credit Invoice') . ' ' . $_SESSION['ProcessingCredit'] . '</b> + <b>'.' - ' . $_SESSION['CreditItems']->CustomerName . '</b> + - ' . _('Credit Note amounts stated in') . ' ' . $_SESSION['CreditItems']->DefaultCurrency . '</div>'; echo '</th></tr>'; echo '<th>' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> @@ -315,19 +315,19 @@ if ($LnItm->Controlled==1){ - echo '<td><input type="hidden" name="Quantity_' . $LnItm->LineNumber .'" value=' . $LnItm->QtyDispatched . '><a href="' . $rootpath . '/CreditItemsControlled.php?LineNo=' . $LnItm->LineNumber . '&CreditInvoice=Yes">' . $LnItm->QtyDispatched . '</a></td>'; + echo '<td><input type="hidden" name="Quantity_' . $LnItm->LineNumber .'" value="' . $LnItm->QtyDispatched . '"><a href="' . $rootpath . '/CreditItemsControlled.php?LineNo=' . $LnItm->LineNumber . '&CreditInvoice=Yes">' . $LnItm->QtyDispatched . '</a></td>'; } else { - echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Quantity_' . $LnItm->LineNumber .'" maxlength=6 size=6 value=' . $LnItm->QtyDispatched . '></td>'; + echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Quantity_' . $LnItm->LineNumber .'" maxlength="6" size="6" value="' . $LnItm->QtyDispatched . '"></td>'; } $DisplayLineTotal = locale_number_format($LineTotal,$_SESSION['CreditItems']->CurrDecimalPlaces); $j++; - echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Price_' . $LnItm->LineNumber . '" maxlength=12 size=6 value=' . $LnItm->Price . '></td> - <td><input tabindex=' . $j . ' type="text" class="number" name="Discount_' . $LnItm->LineNumber . '" maxlength=3 size=3 value=' . ($LnItm->DiscountPercent * 100) . '></td> + echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Price_' . $LnItm->LineNumber . '" maxlength="12" size="6" value="' . $LnItm->Price . '"></td> + <td><input tabindex=' . $j . ' type="text" class="number" name="Discount_' . $LnItm->LineNumber . '" maxlength="3" size="3" value="' . ($LnItm->DiscountPercent * 100) . '"></td> <td class="number">' . $DisplayLineTotal . '</td>'; /*Need to list the taxes applicable to this line */ @@ -355,7 +355,7 @@ } if (!isset($_POST['ProcessCredit'])) { echo '<input type="text" class="number" name="' . $LnItm->LineNumber . $Tax->TaxCalculationOrder . - '_TaxRate" maxlength=4 size=4 value="' . $Tax->TaxRate*100 . '">'; + '_TaxRate" maxlength="4" size="4" value="' . $Tax->TaxRate*100 . '">'; } $i++; if ($Tax->TaxOnTax ==1){ @@ -380,7 +380,7 @@ <td class="number">' . $DisplayGrossLineTotal . '</td> <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?Delete=' . $LnItm->LineNumber . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this item from the credit?') . '\');">' . _('Delete') . '</a></td></tr>'; - echo '<tr' . $RowStarter . '><td colspan="12"><textarea tabindex=' . $j .' name="Narrative_' . $LnItm->LineNumber . '" cols=100% rows=1>' . $LnItm->Narrative . '</textarea><br /><hr></td></tr>'; + echo '<tr' . $RowStarter . '><td colspan="12"><textarea tabindex=' . $j .' name="Narrative_' . $LnItm->LineNumber . '" cols="100%" rows="1">' . $LnItm->Narrative . '</textarea><br /><hr></td></tr>'; $j++; } } /*end foreach loop displaying the invoice lines to credit */ @@ -875,7 +875,7 @@ $StkMoveNo = DB_Last_Insert_ID($db,'stockmoves','stkmoveno'); /*Insert the StockSerialMovements and update the StockSerialItems for controlled items*/ - //echo "<div align=left><pre>"; var_dump($CreditLine); echo "</pre> </div>"; + //echo "<div align="left"><pre>"; var_dump($CreditLine); echo "</pre> </div>"; if ($CreditLine->Controlled ==1){ foreach($CreditLine->SerialItems as $Item){ /*We need to add the StockSerialItem record and The StockSerialMoves as well */ Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Currencies.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -231,7 +231,7 @@ while ($myrow = DB_fetch_array($result)) { if ($myrow[1]==$FunctionalCurrency){ - echo '<tr bgcolor=#FFbbbb>'; + echo '<tr bgcolor="#FFbbbb">'; } elseif ($k==1){ echo '<tr class="EvenTableRows">'; $k=0; Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustEDISetup.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -97,30 +97,30 @@ <td>' . $myrow['name'] . '</td> </tr>'; echo '<tr><td>'._('Enable Sending of EDI Invoices').':</td> - <td><select tabindex=1 name="EDIInvoices">'; + <td><select tabindex="1" name="EDIInvoices">'; if ($myrow['ediinvoices']==0){ - echo '<option selected value=0>'._('Disabled') . '</option>'; - echo '<option value=1>'._('Enabled'). '</option>'; + echo '<option selected value="0">'._('Disabled') . '</option>'; + echo '<option value="1">'._('Enabled'). '</option>'; } else { - echo '<option value=0>'._('Disabled') . '</option>'; - echo '<option selected value=1>'._('Enabled') . '</option>'; + echo '<option value="0">'._('Disabled') . '</option>'; + echo '<option selected value="1">'._('Enabled') . '</option>'; } echo '</select><a href="' . $rootpath . '/EDIMessageFormat.php?MessageType=INVOIC&PartnerCode=' . $_SESSION['CustomerID'] . '">'._('Create') . '/' . _('Edit Invoice Message Format').'</a></td> </tr>'; echo '<tr><td>'._('Enable Receiving of EDI Orders') . ':</td> - <td><select tabindex=2 name="EDIOrders">'; + <td><select tabindex="2" name="EDIOrders">'; if ($myrow['ediorders']==0){ - echo '<option selected value=0>'._('Disabled') . '</option>'; - echo '<option value=1>'._('Enabled') . '</option>'; + echo '<option selected value="0">'._('Disabled') . '</option>'; + echo '<option value="1">'._('Enabled') . '</option>'; } else { - echo '<option value=0>'._('Disabled') . '</option>'; - echo '<option selected value=1>'._('Enabled') . '</option>'; + echo '<option value="0">'._('Disabled') . '</option>'; + echo '<option selected value="1">'._('Enabled') . '</option>'; } echo '</select></td> @@ -128,10 +128,10 @@ echo '<tr><td>'._('Customer EDI Reference') . ':</td> <td><input ' . (in_array('EDIReference',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=3 type="text" name="EDIReference" size=20 maxlength=20 value="' . $myrow['edireference'] . '"></td></tr>'; + ' tabindex=3 type="text" name="EDIReference" size="20" maxlength="20" value="' . $myrow['edireference'] . '"></td></tr>'; echo '<tr><td>'._('EDI Communication Method') . ':</td> - <td><select tabindex=4 name="EDITransport" >'; + <td><select tabindex="4" name="EDITransport" >'; if ($myrow['editransport']=='email'){ echo '<option selected value="email">'._('Email Attachments') . '</option>'; @@ -145,18 +145,18 @@ echo '<tr><td>'._('FTP Server or Email Address') . ':</td> <td><input ' . (in_array('EDIAddress',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=5 type="text" name="EDIAddress" size=42 maxlength=40 value="' . $myrow['ediaddress'] . '"></td></tr>'; + ' tabindex=5 type="text" name="EDIAddress" size="42" maxlength="40" value="' . $myrow['ediaddress'] . '"></td></tr>'; if ($myrow['editransport']=='ftp'){ echo '<tr><td>'._('FTP Server User Name') . ':</td> - <td><input tabindex=6 type="text" name="EDIServerUser" size=20 maxlength=20 value="' . $myrow['ediserveruser'] . '" /></td></tr>'; + <td><input tabindex="6" type="text" name="EDIServerUser" size="20" maxlength="20" value="' . $myrow['ediserveruser'] . '" /></td></tr>'; echo '<tr><td>'._('FTP Server Password') . ':</td> - <td><input tabindex=7 type="text" name="EDIServerPwd" size=20 maxlength=20 value="' . $myrow['ediserverpwd'] . '" /></td></tr>'; + <td><input tabindex="7" type="text" name="EDIServerPwd" size="20" maxlength="20" value="' . $myrow['ediserverpwd'] . '" /></td></tr>'; } echo '</table> - <br /><div class="centre"><input tabindex=8 type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> + <br /><div class="centre"><input tabindex="8" type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> </form>'; include('includes/footer.inc'); Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerAllocations.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -336,7 +336,7 @@ if (isset($_POST['AllocTrans'])) { // Page called with trans number - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="AllocTrans" value="' . $_POST['AllocTrans'] . '" />'; Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerBranches.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -659,14 +659,14 @@ if (!isset($_POST['EstDeliveryDays'])) { $_POST['EstDeliveryDays']=0; } - echo '<td><input ' .(in_array('EstDeliveryDays',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="11" type="text" class=number name="EstDeliveryDays" size="4" maxlength="2" value='. $_POST['EstDeliveryDays'].' /></td> + echo '<td><input ' .(in_array('EstDeliveryDays',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="11" type="text" class="number" name="EstDeliveryDays" size="4" maxlength="2" value="'. $_POST['EstDeliveryDays'].'" /></td> </tr> <tr> <td>'._('Forward Date After (day in month)').':</td>'; if (!isset($_POST['FwdDate'])) { $_POST['FwdDate']=0; } - echo '<td><input ' .(in_array('FwdDate',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="12" type="text" class=number name="FwdDate" size="4" maxlength="2" value='. $_POST['FwdDate'].' /></td> + echo '<td><input ' .(in_array('FwdDate',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="12" type="text" class="number" name="FwdDate" size="4" maxlength="2" value="'. $_POST['FwdDate'].'" /></td> </tr>'; @@ -814,11 +814,11 @@ <td>'._('Transactions on this branch') . ':</td> <td><select tabindex="20" name="DisableTrans">'; if ($_POST['DisableTrans']==0){ - echo '<option selected value=0>' . _('Enabled') . '</option> - <option value=1>' . _('Disabled') . '</option>'; + echo '<option selected value="0">' . _('Enabled') . '</option> + <option value="1">' . _('Disabled') . '</option>'; } else { - echo '<option selected value=1>' . _('Disabled') . '</option> - <option value=0>' . _('Enabled') . '</option>'; + echo '<option selected value="1">' . _('Disabled') . '</option> + <option value="0">' . _('Enabled') . '</option>'; } echo ' </select></td></tr>'; Modified: trunk/CustomerInquiry.php =================================================================== --- trunk/CustomerInquiry.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerInquiry.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -135,11 +135,11 @@ echo '<table class="selection" width="70%"> <tr> - <th width=20%>' . _('Total Balance') . '</th> - <th width=20%>' . _('Current') . '</th> - <th width=20%>' . _('Now Due') . '</th> - <th width=20%>' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th> - <th width=20%>' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; + <th width="20%">' . _('Total Balance') . '</th> + <th width="20%">' . _('Current') . '</th> + <th width="20%">' . _('Now Due') . '</th> + <th width="20%">' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th> + <th width="20%">' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; echo '<tr> <td class="number">' . locale_number_format($CustomerRecord['balance'],$CustomerRecord['decimalplaces']) . '</td> @@ -152,7 +152,7 @@ echo '<br /> <div class="centre"> - <form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post> + <form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post"> <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />' . _('Show all transactions after') . ': <input tabindex="1" type="text" class="date" alt="' .$_SESSION['DefaultDateFormat']. '" id="datepicker" name="TransAfterDate" value="' . $_POST['TransAfterDate'] . '" maxlength="10" size="12" /> <input tabindex="2" type="submit" name="Refresh Inquiry" value="' . _('Refresh Inquiry') . '" /> Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerReceipt.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -1005,7 +1005,7 @@ ORDER BY tagref"; $result=DB_query($SQL,$db); - echo '<option value=0></option>'; + echo '<option value="0"></option>'; while ($myrow=DB_fetch_array($result)){ if (isset($_POST['tag']) and $_POST['tag']==$myrow['tagref']){ echo '<option selected value=' . $myrow['tagref'] . '>' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerTypes.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -180,7 +180,7 @@ $sql = "SELECT typeid, typename FROM debtortype"; $result = DB_query($sql,$db); - echo '<br /><table class=selection>'; + echo '<br /><table class="selection">'; echo '<tr> <th>' . _('Type ID') . '</th> <th>' . _('Type Name') . '</th> @@ -222,7 +222,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class=selection>'; //Main table + echo '<p><table class="selection">'; //Main table // The user wish to EDIT an existing type Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Customers.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -420,7 +420,7 @@ } if ($SetupErrors>0) { - echo '<br /><div class=centre><a href="'.htmlspecialchars($_SERVER['PHP_SELF']) .'" >'._('Click here to continue').'</a></div>'; + echo '<br /><div class="centre"><a href="'.htmlspecialchars($_SERVER['PHP_SELF']) .'" >'._('Click here to continue').'</a></div>'; include('includes/footer.inc'); exit; } @@ -431,35 +431,35 @@ $DataError =0; - echo '<table class="selection" cellspacing=4> - <tr><td valign=top><table class="selection">'; + echo '<table class="selection" cellspacing="4"> + <tr><td valign="top"><table class="selection">'; /* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one, then provide an input box for the DebtorNo to manually assigned */ if ($_SESSION['AutoDebtorNo']==0) { - echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex=1 type="text" name="DebtorNo" size=11 maxlength=10 /></td></tr>'; + echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex="1" type="text" name="DebtorNo" size="11" maxlength="10" /></td></tr>'; } echo '<tr><td>' . _('Customer Name') . ':</td> - <td><input tabindex=2 type="Text" name="CustName" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="CustName" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Telephone') . ':</td> - <td><input tabindex=2 type="Text" name="Phone" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Phone" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Facsimile') . ':</td> - <td><input tabindex=2 type="Text" name="Fax" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Fax" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Email Address') . ':</td> - <td><input tabindex=2 type="Text" name="Email" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Email" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 1 (Street)') . ':</td> - <td><input tabindex=3 type="Text" name="Address1" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="3" type="Text" name="Address1" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 2 (Suburb/City)') . ':</td> - <td><input tabindex=4 type="Text" name="Address2" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="4" type="Text" name="Address2" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 3 (State/Province)') . ':</td> - <td><input tabindex=5 type="Text" name="Address3" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="5" type="Text" name="Address3" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 4 (Postal Code)') . ':</td> - <td><input tabindex=6 type="Text" name="Address4" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="6" type="Text" name="Address4" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 5') . ':</td> - <td><input tabindex=7 type="Text" name="Address5" size=22 maxlength=20 /></td></tr>'; + <td><input tabindex="7" type="Text" name="Address5" size="22" maxlength="20" /></td></tr>'; echo '<tr><td>' . _('Address Line 6') . ':</td> - <td><input tabindex=8 type="Text" name="Address6" size=17 maxlength=15 /></td></tr>'; + <td><input tabindex="8" type="Text" name="Address6" size="17" maxlength="15" /></td></tr>'; @@ -498,13 +498,13 @@ $DateString = Date($_SESSION['DefaultDateFormat']); echo '<tr><td>' . _('Customer Since') . ' (' . $_SESSION['DefaultDateFormat'] . '):</td> - <td><input tabindex=10 type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size=12 maxlength=10 /></td></tr>'; + <td><input tabindex="10" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size="12" maxlength="10" /></td></tr>'; echo '</table></td> <td><table class="selection"> <tr> <td>' . _('Discount Percent') . ':</td> - <td><input tabindex="11" type="textbox" class="number" name="Discount" value=0 size="5" maxlength="4" /></td> + <td><input tabindex="11" type="textbox" class="number" name="Discount" value="0" size="5" maxlength="4" /></td> </tr> <tr> <td>' . _('Discount Code') . ':</td> @@ -531,7 +531,7 @@ echo '<tr> <td>' . _('Payment Terms') . ':</td> - <td><select tabindex=15 name="PaymentTerms">'; + <td><select tabindex="15" name="PaymentTerms">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['termsindicator'] . '">' . $myrow['terms'] . '</option>'; @@ -597,8 +597,8 @@ <tr> <td>' . _('Invoice Addressing') . ':</td> <td><select tabindex="19" name="AddrInvBranch"> - <option selected value=0>' . _('Address to HO') . '</option> - <option value=1>' . _('Address to Branch') . '</option> + <option selected value="0">' . _('Address to HO') . '</option> + <option value="1">' . _('Address to Branch') . '</option> </select> </td> </tr> @@ -946,11 +946,11 @@ <td>' . _('Require Customer PO Line on SO') . ':</td> <td><select name="CustomerPOLine">'; if ($_POST['CustomerPOLine']==0){ - echo '<option selected value=0>' . _('No') . '</option>'; - echo '<option value=1>' . _('Yes') . '</option>'; + echo '<option selected value="0">' . _('No') . '</option>'; + echo '<option value="1">' . _('Yes') . '</option>'; } else { - echo '<option value=0>' . _('No') . '</option>'; - echo '<option selected value=1>' . _('Yes') . '</option>'; + echo '<option value="0">' . _('No') . '</option>'; + echo '<option selected value="1">' . _('Yes') . '</option>'; } echo '</select></td> </tr>'; @@ -1008,7 +1008,7 @@ ORDER BY contid"; $result = DB_query($sql,$db); - echo '<table class=selection>'; + echo '<table class="selection">'; if (isset($_GET['Modify'])) { echo '<tr> <th>' . _('Name') . '</th> Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DeliveryDetails.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -588,20 +588,20 @@ } else { /*link to print the quotation */ - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotation.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Landscape)') .'</a></td> </tr> </table>'; - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotationPortrait.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Portrait)') .'</a></td> </tr> </table>'; } - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="'. $rootpath .'/SelectOrderItems.php?identifier='.$identifier . '&NewOrder=Yes">'. _('Add Another Sales Order') .'</a></td> @@ -807,7 +807,7 @@ echo '</b> ' . _('Customer Name') . ' :<b> ' . $_SESSION['Items'.$identifier]->CustomerName . '</b></p>'; -echo '<form action="' . $_SERVER['PHP_SELF'] . '?identifier='.$identifier . '" method=post>'; +echo '<form action="' . $_SERVER['PHP_SELF'] . '?identifier='.$identifier . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -943,7 +943,7 @@ $DisplayVolume = number_format($_SESSION['Items'.$identifier]->totalVolume,2); $DisplayWeight = number_format($_SESSION['Items'.$identifier]->totalWeight,2); - echo '<table class=selection><tr> + echo '<table class="selection"><tr> <td>'. _('Total Weight') .':</td> <td>'. $DisplayWeight .'</td> <td>'. _('Total Volume') .':</td> @@ -996,7 +996,7 @@ // The estimated Dispatch date or Delivery date for this order echo '<tr> <td>'. _('Estimated Delivery Date') .':</td> - <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size=15 maxlength=14 name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '" /></td> + <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size="15" maxlength="14" name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '" /></td> </tr>'; // The date when a quote was issued to the customer echo '<tr> @@ -1034,14 +1034,14 @@ </tr> <tr> <td>'. _('Contact Phone Number') .':</td> - <td><input type="text" size=25 maxlength=25 name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" /></td> + <td><input type="text" size="25" maxlength="25" name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" /></td> </tr> <tr> - <td>' . _('Contact Email') . ':</td><td><input type="text" size=40 maxlength=38 name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '" /></td> + <td>' . _('Contact Email') . ':</td><td><input type="text" size="40" maxlength="38" name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '" /></td> </tr> <tr> <td>'. _('Customer Reference') .':</td> - <td><input type="text" size=25 maxlength=25 name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '" /></td> + <td><input type="text" size="25" maxlength="25" name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '" /></td> </tr> <tr> <td>'. _('Comments') .':</td> @@ -1068,11 +1068,11 @@ echo '<tr> <td>'. _('Reprint packing slip') .':</td> <td><select name="ReprintPackingSlip">'; - echo '<option value=0>' . _('Yes') . '</option>'; - echo '<option selected value=1>' . _('No') . '</option>'; + echo '<option value="0">' . _('Yes') . '</option>'; + echo '<option selected value="1">' . _('No') . '</option>'; echo '</select> '. _('Last printed') .': ' . ConvertSQLDate($_SESSION['DatePackingSlipPrinted']) . '</td></tr>'; } else { - echo '<input type="hidden" name="ReprintPackingSlip" value=0 />'; + echo '<input type="hidden" name="ReprintPackingSlip" value="0" />'; } echo '<tr> @@ -1111,11 +1111,11 @@ echo '<tr><td>'. _('Quotation Only') .':</td> <td><select name="Quotation">'; if ($_SESSION['Items'.$identifier]->Quotation==1){ - echo '<option selected value=1>' . _('Yes') . '</option>'; - echo '<option value=0>' . _('No') . '</option>'; + echo '<option selected value="1">' . _('Yes') . '</option>'; + echo '<option value="0">' . _('No') . '</option>'; } else { - echo '<option value=1>' . _('Yes') . '</option>'; - echo '<option selected value=0>' . _('No') . '</option>'; + echo '<option value="1">' . _('Yes') . '</option>'; + echo '<option selected value="0">' . _('No') . '</option>'; } echo '</select></td></tr>'; Modified: trunk/DiscountCategories.php =================================================================== --- trunk/DiscountCategories.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DiscountCategories.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -71,7 +71,7 @@ $sql = "SELECT DISTINCT discountcategory FROM stockmaster WHERE discountcategory <>''"; $result = DB_query($sql, $db); if (DB_num_rows($result) > 0) { - echo '<table class=selection><tr><td>'. _('Discount Category Code') .': </td>'; + echo '<table class="selection"><tr><td>'. _('Discount Category Code') .': </td>'; echo '<td><select name="DiscCat" onChange="ReloadForm(update.select)">'; @@ -100,13 +100,13 @@ echo '<table class="selection"><tr><td>'. _('Discount Category Code') .':</td><td>'; if (isset($_POST['DiscCat'])) { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 value="' . $_POST['DiscCat'] .'" /></td> + echo '<input type="text" name="DiscountCategory" maxlength="2" size="2" value="' . $_POST['DiscCat'] .'" /></td> <td>'._('OR') . '</td> <td></td> <td>'._('OR').'</td> </tr>'; } else { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 /></td> + echo '<input type="text" name="DiscountCategory" maxlength="2" size="2" /></td> <td>' ._('OR') . '</td> <td></td> <td>'._('OR') . '</td> @@ -123,11 +123,11 @@ $_POST['PartDesc']=''; } echo '<tr><td>'. _('Enter Stock Code') .':</td> - <td><input type="text" name="StockID" size=20 maxlength=20 value="' . $_POST['StockID'] . '" /></td> + <td><input type="text" name="StockID" size="20" maxlength="20" value="' . $_POST['StockID'] . '" /></td> <td>'._('Partial code') . ':</td> - <td><input type="text" name="PartID" size=10 maxlength=10 value="' . $_POST['PartID'] . '" /></td> + <td><input type="text" name="PartID" size="10" maxlength="10" value="' . $_POST['PartID'] . '" /></td> <td>' . _('Partial description') . ':</td> - <td><input type="text" name="PartDesc" size=10 value="' . $_POST['PartDesc'] .'" maxlength=10 /></td> + <td><input type="text" name="PartDesc" size="10" value="' . $_POST['PartDesc'] .'" maxlength="10" /></td> <td><input type="submit" name="search" value="' . _('Search') .'" /></td> </tr>'; @@ -155,10 +155,10 @@ } } } else { - echo '<table class=selection> + echo '<table class="selection"> <tr> <td>'._('Assign discount category').'</td>'; - echo '<td><input type="text" name="DiscountCategory" maxlength=2 size=2 /></td>'; + echo '<td><input type="text" name="DiscountCategory" maxlength="2" size="2" /></td>'; echo '<td>'._('to all items in stock category').'</td>'; $sql = "SELECT categoryid, categorydescription Modified: trunk/DiscountMatrix.php =================================================================== --- trunk/DiscountMatrix.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DiscountMatrix.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -95,7 +95,7 @@ echo '<tr><td>' . _('Customer Price List') . ' (' . _('Sales Type') . '):</td><td>'; -echo '<select tabindex=1 name="SalesType">'; +echo '<select tabindex="1" name="SalesType">'; while ($myrow = DB_fetch_array($result)){ if (isset($_POST['SalesType']) and $myrow['typeabbrev']==$_POST['SalesType']){ @@ -129,11 +129,11 @@ echo '<tr> <td>' . _('Quantity Break') . '</td> - <td><input class="number" tabindex=3 ' . (in_array('QuantityBreak',$Errors) ? 'class="inputerror"' : '') .' type="text" name="QuantityBreak" size="10" maxlength="10" /></td> + <td><input class="number" tabindex="3" ' . (in_array('QuantityBreak',$Errors) ? 'class="inputerror"' : '') .' type="text" name="QuantityBreak" size="10" maxlength="10" /></td> </tr> <tr> <td>' . _('Discount Rate') . ' (%):</td> - <td><input class="number" tabindex=4 ' . (in_array('DiscountRate',$Errors) ? 'class="inputerror"' : '') . 'type="text" name="DiscountRate" size="5" maxlength="5" /></td> + <td><input class="number" tabindex="4" ' . (in_array('DiscountRate',$Errors) ? 'class="inputerror"' : '') . 'type="text" name="DiscountRate" size="5" maxlength="5" /></td> </tr> </table> <br /> Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/EDIMessageFormat.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -100,7 +100,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<p><table border=0 width=100%> +echo '<p><table border="0" width="100%"> <p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p>'; @@ -124,7 +124,7 @@ $result = DB_query($sql,$db); echo '<table class="selection">'; - echo '<tr><th colspan="5"><font size=3>' . _('Definition of') . ' ' . $MessageType . ' ' . _('for') . ' ' . $PartnerCode.'</font></th></tr>'; + echo '<tr><th colspan="5"><font size="3">' . _('Definition of') . ' ' . $MessageType . ' ' . _('for') . ' ' . $PartnerCode.'</font></th></tr>'; $TableHeader = '<tr> <th>' . _('Section') . '</th> <th>' . _('Sequence') . '</th> @@ -145,7 +145,7 @@ printf('<td>%s</td> - <td class=number>%s</td> + <td class="number">%s</td> <td>%s</td> <td><a href="%s&SelectedMessageLine=%s">' . _('Edit') . '</a></td> <td><a href="%s&delete=%s">' . _('Delete') . '</a></td> @@ -162,7 +162,7 @@ echo '</table><p>'; if (DB_num_rows($result)==0){ echo '<div class="centre"> - <input tabindex=1 type="submit" name="NewEDIInvMsg" value="' . _('Create New EDI Invoice Message From Default Template') . '" /> + <input tabindex="1" type="submit" name="NewEDIInvMsg" value="' . _('Create New EDI Invoice Message From Default Template') . '" /> </div> <br />'; } @@ -199,7 +199,7 @@ echo '<input type="hidden" name="PartnerCode" value="' . $PartnerCode . '" />'; } -echo '<table class=selection>'; +echo '<table class="selection">'; if ($myrow['messagetype']!='') { echo '<tr><th colspan="2">' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</th></tr>'; @@ -207,7 +207,7 @@ echo '<tr><td>' . _('Section') . ':</td>'; echo '<td>'; -echo '<select tabindex=2 name="Section">'; +echo '<select tabindex="2" name="Section">'; if ($_POST['Section']=='Heading') { echo '<option selected value="Heading">' . _('Heading') . '</option>'; @@ -235,17 +235,17 @@ echo '</td></tr>'; echo '<tr><td>Sequence Number:</td>'; -echo '<td><input tabindex=3 type="text" name=SequenceNo size=3 maxlength=3 value='.$_POST['SequenceNo'].' />'; +echo '<td><input tabindex="3" type="text" name="SequenceNo" size="3" maxlength="3" value='.$_POST['SequenceNo'].' />'; echo '</td></tr>'; echo '<tr><td>' . _('Line Text') . ':' .'</td>'; echo '<td>'; -echo '<input tabindex=4 type="text" name="LineText" size=50 maxlength=50 value='.$_POST['LineText'] .' />'; +echo '<input tabindex="4" type="text" name="LineText" size="50" maxlength="50" value='.$_POST['LineText'] .' />'; echo '</td></tr>'; echo '</table><br />'; if (isset($_GET['SelectedMessageLine'])) { - echo '<div class="centre"><input tabindex=5 type="submit" name="update" value="'. _('Update Information'). '" /></div>'; + echo '<div class="centre"><input tabindex="5" type="submit" name="update" value="'. _('Update Information'). '" /></div>'; } else { - echo '<div class="centre"><input tabindex=5 type="submit" name="submit" value="'. _('Enter Information'). '" /></div>'; + echo '<div class="centre"><input tabindex="5" type="submit" name="submit" value="'. _('Enter Information'). '" /></div>'; } echo '</form>'; Modified: trunk/EmailCustTrans.php =================================================================== --- trunk/EmailCustTrans.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/EmailCustTrans.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -61,7 +61,7 @@ } echo '<tr><td>' . _('Email') . ' ' . $_GET['InvOrCredit'] . ' ' . _('number') . ' ' . $_GET['FromTransNo'] . ' ' . _('to') . ':</td> - <td><input type="text" name="EmailAddr" maxlength=60 size=60 value="' . $EmailAddress . '" /></td> + <td><input type="text" name="EmailAddr" maxlength="60" size="60" value="' . $EmailAddress . '" /></td> </table>'; echo '<br /><div class="centre"><input type="submit" name="DoIt" value="' . _('OK') . '" />'; Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/ExchangeRateTrend.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -21,7 +21,7 @@ // SHOW OUR MAIN INPUT FORM // ************************ - echo '<form method="post" name=update action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" name="update" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('View Currency Trend') . '" alt="" />' . ' ' . _('View Currency Trend') . '</p>'; Modified: trunk/FTP_RadioBeacon.php =================================================================== --- trunk/FTP_RadioBeacon.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FTP_RadioBeacon.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -46,16 +46,16 @@ echo '<table cellpadding="2" colspan="7" width="100%">'; $TableHeader = '<tr> - <td class=tableheader>' . _('Modify') . '</td> - <td class=tableheader>' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> - <td class=tableheader>' . _('Customer') . '</td> - <td class=tableheader>' . _('Branch') . '</td> - <td class=tableheader>' . _('Cust Order') . ' #</td> - <td class=tableheader>' . _('Order Date') . '</td> - <td class=tableheader>' . _('Req Del Date') . '</td> - <td class=tableheader>' . _('Delivery To') . '</td> - <td class=tableheader>' . _('Order Total') . '</td> - <td class=tableheader>' . _('Last Send') . '</td> + <td class="tableheader">' . _('Modify') . '</td> + <td class="tableheader">' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> + <td class="tableheader">' . _('Customer') . '</td> + <td class="tableheader">' . _('Branch') . '</td> + <td class="tableheader">' . _('Cust Order') . ' #</td> + <td class="tableheader">' . _('Order Date') . '</td> + <td class="tableheader">' . _('Req Del Date') . '</td> + <td class="tableheader">' . _('Delivery To') . '</td> + <td class="tableheader">' . _('Order Total') . '</td> + <td class="tableheader">' . _('Last Send') . '</td> </tr>'; echo $TableHeader; @@ -79,16 +79,16 @@ $ModifyPage = $rootpath . 'SelectOrderItems.php?' . SID . '&ModifyOrderNumber=' . $myrow['orderno']; if ($myrow['printedpackingslip'] ==1){ - printf('<td><font size=2><a href="%s">%s</a></font></td> - <td><font color=RED size=2>' . _('Already') . '<br />' . _('Sent') . '</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td class=number><font size=2>%s</font></td> - <td><font size=2>%s</font></td></tr>', + printf('<td><font size="2"><a href="%s">%s</a></font></td> + <td><font color=RED size="2">' . _('Already') . '<br />' . _('Sent') . '</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td class="number"><font size="2">%s</font></td> + <td><font size="2">%s</font></td></tr>', $ModifyPage, $myrow['orderno'], $myrow['name'], @@ -100,16 +100,16 @@ $FormatedOrderValue, $FormatedDateLastSent); } else { - printf('<td><font size=2><a href="%s">%s</a></font></td> - <td><font size=2><a href="%s">' . _('Send') . '</a></font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td class=number><font size=2>%s</font></td> - <td><font size=2>%s</font></td></tr>', + printf('<td><font size="2"><a href="%s">%s</a></font></td> + <td><font size="2"><a href="%s">' . _('Send') . '</a></font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td class="number"><font size="2">%s</font></td> + <td><font size="2">%s</font></td></tr>', $ModifyPage, $myrow['orderno'], $FTPDispatchNote, Modified: trunk/Factors.php =================================================================== --- trunk/Factors.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Factors.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -200,7 +200,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="FactorID" value="' . $FactorID .'" /> - <table class=selection> + <table class="selection"> <input type="hidden" name="New" value="Yes" /> <tr> <td>' . _('Factor company Name') . ':</td> @@ -208,18 +208,18 @@ </tr> <tr> <td>' . _('Address Line 1') . ':</td> - <td><input tabindex=2 type="text" name="Address1" size="42" maxlength="40" value="' . $_POST['Address1'] .'" /></td> + <td><input tabindex="2" type="text" name="Address1" size="42" maxlength="40" value="' . $_POST['Address1'] .'" /></td> </tr> <tr><td>' . _('Address Line 2') . ':</td> - <td><input tabindex=3 type="text" name="Address2" size="42" maxlength="40" value="' . $_POST['Address2'] .'" /></td> + <td><input tabindex="3" type="text" name="Address2" size="42" maxlength="40" value="' . $_POST['Address2'] .'" /></td> </tr> <tr> <td>' . _('Address Line 3') . ':</td> - <td><input tabindex=4 type="text" name="Address3" size="42" maxlength="40" value="' .$_POST['Address3'] .'" /></td> + <td><input tabindex="4" type="text" name="Address3" size="42" maxlength="40" value="' .$_POST['Address3'] .'" /></td> </tr> <tr> <td>' . _('Address Line 4') . ':</td> - <td><input tabindex=5 type="text" name="Address4" size="42" maxlength="40" value="' . $_POST['Address4'].'" /></td> + <td><input tabindex="5" type="text" name="Address4" size="42" maxlength="40" value="' . $_POST['Address4'].'" /></td> </tr> <tr> <td>' . _('Address Line 5') . ':</td> @@ -239,11 +239,11 @@ </tr> <tr> <td>' . _('Fax') . ':</td> - <td><input tabindex="10" type="text" name="Fax" value=0 size="20" maxlength="25" value="' . $_POST['Fax'] .'" /></td> + <td><input tabindex="10" type="text" name="Fax" value="0" size="20" maxlength="25" value="' . $_POST['Fax'] .'" /></td> </tr> <tr> <td>' . _('Email') . ':</td> - <td><input tabindex="11" type="text" name="Email" size="55" maxlength=55 value="' . $_POST['Email'] . '" /></td> + <td><input tabindex="11" type="text" name="Email" size="55" maxlength="55" value="' . $_POST['Email'] . '" /></td> </tr> </table>'; } Modified: trunk/FixedAssetItems.php =================================================================== --- trunk/FixedAssetItems.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetItems.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -381,7 +381,7 @@ $result = DB_Txn_Commit($db); echo '<form name="AssetForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '"> - <table class=selection>'; + <table class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/FixedAssetRegister.php =================================================================== --- trunk/FixedAssetRegister.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetRegister.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -77,7 +77,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<div class="centre">' ._('From') . ':' . $_POST['FromDate'] . ' ' . _('to') . ' ' . $_POST['ToDate'] . '</div>'; echo '<br /> - <table width=80% cellspacing="1" class="selection"> + <table width="80%" cellspacing="1" class="selection"> <tr> <th>' . _('Asset ID') . '</th> <th>' . _('Description') . '</th> @@ -247,7 +247,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<tr> <th>' . _('Asset Category') . '</th> - <td><select name=AssetCategory> + <td><select name="AssetCategory"> <option value="%">' . _('ALL') . '</option>'; while ($myrow = DB_fetch_array($result)) { if (isset($_POST['AssetCategory']) and $myrow['categoryid'] == $_POST['AssetCategory']) { @@ -297,7 +297,7 @@ echo '<tr> <th>' . _(' From Date') . '</th> - <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" maxlength=10 size=11 value="' . $_POST['FromDate'] . '" /></td> + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" maxlength="10" size="11" value="' . $_POST['FromDate'] . '" /></td> </tr> <tr> <th>' . _('To Date ') . '</th> @@ -308,7 +308,7 @@ <div class="centre"> <input type="submit" name="submit" value="' . _('Show Assets') . '" /> <input type="submit" name="pdf" value="' . _('Print as a pdf') . '" /> - <input type="Submit" name = "csv" value= "' . _('Print as CSV') . '" /> + <input type="Submit" name = "csv" value="' . _('Print as CSV') . '" /> </div> </form>'; } Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetTransfer.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -26,7 +26,7 @@ } else { $sql="SELECT categoryid, categorydescription FROM fixedassetcategories"; $result=DB_query($sql, $db); - echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; + echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FormDesigner.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -13,7 +13,7 @@ * given in the object $key */ $FontSizes=FontSizes(); - echo '<td class=number>'._('Font Size').' = '.'</td><td><select name="'.$key['id'].'FontSize">'; + echo '<td class="number">'._('Font Size').' = '.'</td><td><select name="'.$key['id'].'FontSize">'; foreach ($FontSizes as $FontSize) { if ($FontSize==$key->FontSize) { echo '<option selected value="'.$FontSize.'">'.$FontSize.'</option>'; @@ -23,9 +23,9 @@ } echo '</select></td>'; /* Display the X co-ordinate (mm from the left hand side of page) */ - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; /* ... [truncated message content] |