From: <vv...@us...> - 2012-01-22 22:18:01
|
Revision: 4835 http://web-erp.svn.sourceforge.net/web-erp/?rev=4835&view=rev Author: vvs2012 Date: 2012-01-22 22:17:50 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Added quotes and missing closing tags in multiple files Modified Paths: -------------- trunk/Areas.php trunk/BOMListing.php trunk/BankAccounts.php trunk/BankMatching.php trunk/COGSGLPostings.php trunk/ConfirmDispatch_Invoice.php trunk/CreditItemsControlled.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/CustEDISetup.php trunk/CustomerAllocations.php trunk/CustomerTransInquiry.php trunk/Customers.php trunk/DailyBankTransactions.php trunk/DeliveryDetails.php trunk/DiscountCategories.php trunk/EDIMessageFormat.php trunk/EmailConfirmation.php trunk/FTP_RadioBeacon.php trunk/Factors.php trunk/FixedAssetItems.php trunk/FixedAssetRegister.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLAccountCSV.php trunk/GLAccounts.php trunk/GLBalanceSheet.php trunk/GLBudgets.php trunk/GLProfit_Loss.php trunk/GLTags.php trunk/GLTrialBalance.php trunk/GeocodeSetup.php trunk/GoodsReceivedControlled.php trunk/InventoryPlanningPrefSupplier.php trunk/Locations.php trunk/MRPCalendar.php trunk/MRPDemands.php trunk/MRPPlannedWorkOrders.php trunk/PDFBankingSummary.php trunk/PDFCustomerList.php trunk/PDFDIFOT.php trunk/PDFDeliveryDifferences.php trunk/PDFOrdersInvoiced.php trunk/PDFPeriodStockTransListing.php trunk/PDFPickingList.php trunk/PDFPrintLabel.php trunk/PDFStockCheckComparison.php trunk/PDFStockLocTransfer.php trunk/PDFStockTransfer.php trunk/PDFSuppTransListing.php trunk/POReport.php trunk/PO_AuthorisationLevels.php trunk/PO_AuthoriseMyOrders.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_OrderDetails.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/PeriodsInquiry.php trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/Prices_Customer.php trunk/PrintCustStatements.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/RecurringSalesOrders.php trunk/ReorderLevelLocation.php trunk/ReverseGRN.php trunk/SalesAnalReptCols.php trunk/SalesAnalRepts.php trunk/SalesCategories.php trunk/SalesGLPostings.php trunk/SalesGraph.php trunk/SalesInquiry.php trunk/SalesTopItemsInquiry.php trunk/SalesTypes.php trunk/SecurityTokens.php trunk/SelectAsset.php trunk/SelectCompletedOrder.php trunk/SelectCreditItems.php trunk/SelectCustomer.php trunk/SelectOrderItems.php trunk/SelectProduct.php trunk/SelectSalesOrder.php trunk/SelectSupplier.php trunk/SelectWorkOrder.php trunk/Shipments.php trunk/ShiptsList.php trunk/StockCheck.php trunk/StockCounts.php trunk/StockDispatch.php trunk/StockLocTransferReceive.php trunk/Stocks.php trunk/SuppCreditGRNs.php trunk/SuppInvGRNs.php trunk/SupplierAllocations.php trunk/SupplierContacts.php trunk/SupplierCredit.php trunk/SupplierTenders.php trunk/SupplierTypes.php trunk/Suppliers.php trunk/SystemParameters.php trunk/TaxAuthorities.php trunk/UnitsOfMeasure.php trunk/UserSettings.php trunk/WWW_Access.php trunk/WWW_Users.php trunk/WorkOrderCosting.php trunk/WorkOrderIssue.php trunk/WorkOrderReceive.php trunk/WorkOrderStatus.php trunk/Z_ChangeStockCategory.php trunk/Z_DataExport.php trunk/Z_ImportChartOfAccounts.php trunk/Z_ImportFixedAssets.php trunk/Z_ImportStocks.php trunk/Z_MakeNewCompany.php trunk/Z_ReApplyCostToSA.php trunk/Z_ReverseSuppPaymentRun.php trunk/Z_UpdateChartDetailsBFwd.php trunk/Z_Upgrade3.10.php trunk/Z_Upgrade_3.04-3.05.php trunk/Z_Upgrade_3.05-3.06.php trunk/Z_Upgrade_3.07-3.08.php trunk/Z_Upgrade_3.08-3.09.php trunk/Z_Upgrade_3.09-3.10.php trunk/Z_Upgrade_3.10-3.11.php trunk/Z_UploadForm.php trunk/Z_poAddLanguage.php trunk/Z_poEditLangHeader.php trunk/Z_poEditLangRemaining.php trunk/Z_poRebuildDefault.php trunk/doc/Change.log trunk/index.php Modified: trunk/Areas.php =================================================================== --- trunk/Areas.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Areas.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -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/BOMListing.php =================================================================== --- trunk/BOMListing.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BOMListing.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -117,7 +117,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<tr><td>' . _('From Inventory Part Code') . ':' . '</font></td> - <td><input tabindex="1" type="text" name="FromCriteria" size="20" maxlength="20" value="1"></td> + <td><input tabindex="1" type="text" name="FromCriteria" size="20" maxlength="20" value="1" /></td> </tr>'; echo '<tr><td>' . _('To Inventory Part Code') . ':' . '</td> @@ -126,7 +126,7 @@ echo '</table> - <br /><div class="centre"><input tabindex="3" type="submit" name="PrintPDF" value="' . _('Print PDF') . '"></div>'; + <br /><div class="centre"><input tabindex="3" type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /></div>'; echo '<script>defaultControl(document.forms[0].FromCriteria);</script>'; } include('includes/footer.inc');; Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BankAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -276,8 +276,8 @@ $_POST['CurrCode'] = $myrow['currcode']; $_POST['DefAccount'] = $myrow['invoice']; - echo '<input type="hidden" name="SelectedBankAccount" value="' . $SelectedBankAccount . '">'; - echo '<input type="hidden" name="AccountCode" value="' . $_POST['AccountCode'] . '">'; + echo '<input type="hidden" name="SelectedBankAccount" value="' . $SelectedBankAccount . '" />'; + echo '<input type="hidden" name="AccountCode" value="' . $_POST['AccountCode'] . '" />'; echo '<table class="selection"> <tr><td>' . _('Bank Account GL Code') . ':</td> <td>' . $_POST['AccountCode'] . '</td> @@ -324,13 +324,13 @@ } 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> + <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> - <td><input tabindex="4" ' . (in_array('BankAddress',$Errors) ? 'class="inputerror"' : '' ) .' type="Text" name="BankAddress" value="' . $_POST['BankAddress'] . '" size="40" maxlength="50"></td></tr> + <td><input tabindex="4" ' . (in_array('BankAddress',$Errors) ? 'class="inputerror"' : '' ) .' type="Text" name="BankAddress" value="' . $_POST['BankAddress'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Currency Of Account') . ': </td> <td><select tabindex="5" name="CurrCode">'; @@ -388,7 +388,7 @@ echo '</select></td>'; echo '</tr></table><br /> - <div class="centre"><input tabindex="7" type="submit" name="submit" value="'. _('Enter Information') .'"></div>'; + <div class="centre"><input tabindex="7" type="submit" name="submit" value="'. _('Enter Information') .'" /></div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BankMatching.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -90,7 +90,7 @@ echo '<table class="selection"> <tr> <td align="left">' . _('Bank Account') . ':</td> - <td colspan=3><select tabindex="1" name="BankAccount">'; + <td colspan="3"><select tabindex="1" name="BankAccount">'; $sql = "SELECT accountcode, bankaccountname FROM bankaccounts"; $resultBankActs = DB_query($sql,$db); Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/COGSGLPostings.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -248,7 +248,7 @@ $_POST['StkCat'] = $myrow['stkcat']; $_POST['SalesType'] = $myrow['salestype']; - echo '<input type="hidden" name="SelectedCOGSPostingID" value="' . $SelectedCOGSPostingID . '">'; + echo '<input type="hidden" name="SelectedCOGSPostingID" value="' . $SelectedCOGSPostingID . '" />'; } //end of if $SelectedCOGSPostingID only do the else when a new record is being entered Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/ConfirmDispatch_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -327,13 +327,13 @@ if (isset($_POST['ProcessInvoice'])) { echo '<td class="number">' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</td>'; } else { - echo '<td class="number"><input type="hidden" name="' . $LnItm->LineNumber . '_QtyDispatched" value="' . $LnItm->QtyDispatched . '"><a href="' . $rootpath .'/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">' .locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</a></td>'; + echo '<td class="number"><input type="hidden" name="' . $LnItm->LineNumber . '_QtyDispatched" value="' . $LnItm->QtyDispatched . '" /><a href="' . $rootpath .'/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">' .locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</a></td>'; } } else { if (isset($_POST['ProcessInvoice'])) { echo '<td class="number">' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</td>'; } else { - echo '<td class="number"><input tabindex="'.$j.'" type="text" class="number" name="' . $LnItm->LineNumber . '_QtyDispatched" maxlength="12" size="12" value="' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '"></td>'; + echo '<td class="number"><input tabindex="'.$j.'" type="text" class="number" name="' . $LnItm->LineNumber . '_QtyDispatched" maxlength="12" size="12" value="' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '" /></td>'; } } $DisplayDiscountPercent = locale_number_format($LnItm->DiscountPercent*100,2) . '%'; @@ -476,7 +476,7 @@ OR $_POST['ChargeFreightCost']==0)) { echo '<td colspan="2" class="number">'. _('Charge Freight Cost inc Tax').'</td> - <td><input tabindex='.$j.' type="text" class="number" size="10" maxlength="12" name="ChargeFreightCost" value="0"></td>'; + <td><input tabindex='.$j.' type="text" class="number" size="10" maxlength="12" name="ChargeFreightCost" value="0" /></td>'; $_SESSION['Items'.$identifier]->FreightCost=0; } else { echo '<td colspan="2" class="number">'. _('Charge Freight Cost inc Tax').'</td>'; @@ -1613,9 +1613,9 @@ echo '<br /><div class="centre">'; if ($_SESSION['InvoicePortraitFormat']==0){ - echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTrans.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Landscape') . ')</a><br /><br />'; + echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTrans.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Landscape') . ')</a><br /><br />'; } else { - echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTransPortrait.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Portrait') . ')</a><br /><br />'; + echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTransPortrait.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Portrait') . ')</a><br /><br />'; } echo '<a href="'.$rootpath.'/SelectSalesOrder.php">'. _('Select another order for invoicing'). '</a><br /><br />'; echo '<a href="'.$rootpath.'/SelectOrderItems.php?NewOrder=Yes">'._('Sales Order Entry').'</a></div><br />'; @@ -1635,12 +1635,12 @@ echo '<table class="selection"> <tr> <td>' ._('Date On Invoice'). ':</td> - <td><input tabindex='.$j.' type="text" maxlength="10" size="15" name="DispatchDate" value="'.$DefaultDispatchDate.'" id="datepicker" alt="'.$_SESSION['DefaultDateFormat'].'" class="date"></td> + <td><input tabindex='.$j.' type="text" maxlength="10" size="15" name="DispatchDate" value="'.$DefaultDispatchDate.'" id="datepicker" alt="'.$_SESSION['DefaultDateFormat'].'" class="date" /></td> </tr>'; $j++; echo '<tr> <td>' . _('Consignment Note Ref'). ':</td> - <td><input tabindex='.$j.' type="text" maxlength="15" size="15" name="Consignment" value="' . $_POST['Consignment'] . '"></td> + <td><input tabindex='.$j.' type="text" maxlength="15" size="15" name="Consignment" value="' . $_POST['Consignment'] . '" /></td> </tr>'; $j++; echo '<tr> Modified: trunk/CreditItemsControlled.php =================================================================== --- trunk/CreditItemsControlled.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CreditItemsControlled.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -70,7 +70,7 @@ echo '<div class="centre">'; if ($CreditLink == 'Credit_Invoice.php'){ - echo '<input type="hidden" name="CreditInvoice" value="Yes">'; + echo '<input type="hidden" name="CreditInvoice" value="Yes" />'; } echo '<br /><a href="' . $rootpath . '/' . $CreditLink . '">'. _('Back to Credit Note Entry'). '</a>'; Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CreditStatus.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -240,7 +240,7 @@ echo '<tr> <td>'. _('Description') .':</td> <td><input ' . (in_array('ReasonDescription',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=2 type="text" name="ReasonDescription" VALUE="'. $_POST['ReasonDescription'] .'" size="28" maxlength="30"></td> + ' tabindex=2 type="text" name="ReasonDescription" VALUE="'. $_POST['ReasonDescription'] .'" size="28" maxlength="30" /></td> </tr> <tr> <td>'. _('Disallow Invoices') . '</td>'; Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Credit_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -418,7 +418,7 @@ } if (!isset($_POST['ProcessCredit'])) { - echo '<input type="text" class="number" name="FreightTaxRate' . $FreightTaxLine->TaxCalculationOrder . '" maxlength="4" size="4" value=' . $FreightTaxLine->TaxRate * 100 . '>'; + echo '<input type="text" class="number" name="FreightTaxRate' . $FreightTaxLine->TaxCalculationOrder . '" maxlength="4" size="4" value="' . $FreightTaxLine->TaxRate * 100 . '" />'; } if ($FreightTaxLine->TaxOnTax ==1){ $TaxTotals[$FreightTaxLine->TaxAuthID] += ($FreightTaxLine->TaxRate * ($_SESSION['CreditItems']->FreightCost + $FreightTaxTotal)); @@ -444,7 +444,7 @@ echo '<tr> <td colspan="7" class="number">' . _('Credit Totals') . '</td> <td class="number"><hr><b>' . $DisplayTotal . '</b><hr></td> - <td colspan=2></td> + <td colspan="2"></td> <td class="number"><hr><b>' . locale_number_format($TaxTotal,$_SESSION['CreditItems']->CurrDecimalPlaces) . '<hr></td> <td class="number"><hr><b>' . locale_number_format($TaxTotal+($_SESSION['CreditItems']->total + $_SESSION['CreditItems']->FreightCost),$_SESSION['CreditItems']->CurrDecimalPlaces) . '</b><hr></td> </tr></table>'; @@ -1509,9 +1509,9 @@ } $j++; echo '<tr><td>' . _('Credit note text') . '</td><td><textarea tabindex=' . $j . ' name="CreditText" cols="31" rows="5">' . $_POST['CreditText'] . '</textarea></td></tr>'; - echo '</table><br /><div class="centre"><input tabindex=' . $j . ' type="submit" name="Update" value=' . _('Update') . '><p>'; + echo '</table><br /><div class="centre"><input tabindex=' . $j . ' type="submit" name="Update" value=' . _('Update') . ' /><br />'; $j++; - echo '<input type="submit" tabindex='.$j++.' name="ProcessCredit" Value="' . _('Process Credit') .'"></div>'; + echo '<input type="submit" tabindex='.$j++.' name="ProcessCredit" Value="' . _('Process Credit') .'" /></div>'; } echo '</form>'; Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Currencies.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -247,7 +247,7 @@ } if ($myrow[1]!=$FunctionalCurrency){ - printf('<td><img src="%s"></td> + printf('<td><img src="%s" /></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -276,7 +276,7 @@ $rootpath, '&CurrencyToShow=' . $myrow['currabrev']); } else { - printf('<td><img src="%s"></td> + printf('<td><img src="%s" /></td> <td>%s</td> <td>%s</td> <td>%s</td> Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CustEDISetup.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -150,13 +150,13 @@ 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 12:50:41 UTC (rev 4834) +++ trunk/CustomerAllocations.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -397,7 +397,7 @@ <td class="number">' . locale_number_format($balance,$_SESSION['Alloc']->CurrDecimalPlaces) . '</td> </tr>'; } else { - echo '<input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '"></td>'; + echo '<input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '" /></td>'; echo '<td class="number"><input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"'; if (ABS($AllocnItem->AllocAmt-$YetToAlloc) < 0.01) { Modified: trunk/CustomerTransInquiry.php =================================================================== --- trunk/CustomerTransInquiry.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CustomerTransInquiry.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -137,7 +137,7 @@ if ($_POST['TransType']==10){ /* invoices */ printf($format_base . - '<td><a target="_blank" href=%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice"><img src="%s" title="' . _('Click to preview the invoice') . '"></a></td> + '<td><a target="_blank" href=%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice"><img src="%s" title="' . _('Click to preview the invoice') . '" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -156,7 +156,7 @@ } elseif ($_POST['TransType']==11){ /* credit notes */ printf($format_base . - '<td><a target="_blank" href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit"><img src="%s" title="' . _('Click to preview the credit') . '"></a></td> + '<td><a target="_blank" href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit"><img src="%s" title="' . _('Click to preview the credit') . '" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Customers.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -437,29 +437,29 @@ /* 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>'; @@ -467,10 +467,10 @@ $result=DB_query("SELECT typeabbrev, sales_type FROM salestypes ",$db); if (DB_num_rows($result)==0){ $DataError =1; - echo '<tr><td colspan=2>' . prnMsg(_('No sales types/price lists defined'),'error') . '<br /><a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a></td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('No sales types/price lists defined'),'error') . '<br /><a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a></td></tr>'; } else { echo '<tr><td>' . _('Sales Type/Price List') . ':</td> - <td><select tabindex=9 name="SalesType">'; + <td><select tabindex="9" name="SalesType">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>'; @@ -484,10 +484,10 @@ if (DB_num_rows($result)==0){ $DataError =1; echo '<a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a>'; - echo '<tr><td colspan=2>' . prnMsg(_('No Customer types/price lists defined'),'error') . '</td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('No Customer types/price lists defined'),'error') . '</td></tr>'; } else { echo '<tr><td>' . _('Customer Type') . ':</td> - <td><select tabindex=9 name="typeid">'; + <td><select tabindex="9" name="typeid">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; @@ -498,7 +498,7 @@ $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"> @@ -520,13 +520,13 @@ </tr> <tr> <td>' . _('Tax Reference') . ':</td> - <td><input tabindex=15 type="text" name="TaxRef" size="22" maxlength="20" /></td> + <td><input tabindex="15" type="text" name="TaxRef" size="22" maxlength="20" /></td> </tr>'; $result=DB_query("SELECT terms, termsindicator FROM paymentterms",$db); if (DB_num_rows($result)==0){ $DataError =1; - echo '<tr><td colspan=2>' . prnMsg(_('There are no payment terms currently defined - go to the setup tab of the main menu and set at least one up first'),'error') . '</td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('There are no payment terms currently defined - go to the setup tab of the main menu and set at least one up first'),'error') . '</td></tr>'; } else { echo '<tr> Modified: trunk/DailyBankTransactions.php =================================================================== --- trunk/DailyBankTransactions.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DailyBankTransactions.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -141,7 +141,7 @@ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<br /><div class="centre"><input type="submit" name="Return" value="' . _('Select Another Date'). '"></div>'; + echo '<br /><div class="centre"><input type="submit" name="Return" value="' . _('Select Another Date'). '" /></div>'; echo '</form>'; } include('includes/footer.inc'); Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DeliveryDetails.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -814,12 +814,12 @@ /*Display the order with or without discount depending on access level*/ if (in_array(2,$_SESSION['AllowedPageSecurityTokens'])){ - echo '<table cellpading=2 colspan=7>'; + echo '<table cellpading="2" colspan="7">'; if ($_SESSION['Items'.$identifier]->Quotation==1){ - echo '<tr><th colspan=7>'._('Quotation Summary').'</th></tr>'; + echo '<tr><th colspan="7">'._('Quotation Summary').'</th></tr>'; } else { - echo '<tr><th colspan=7>'._('Order Summary').'</th></tr>'; + echo '<tr><th colspan="7">'._('Order Summary').'</th></tr>'; } echo '<tr> <th>'. _('Item Code') .'</th> Modified: trunk/DiscountCategories.php =================================================================== --- trunk/DiscountCategories.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DiscountCategories.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -85,7 +85,7 @@ } echo '</select></td>'; - echo '<td><input type="submit" name="select" value="'._('Select').'"></td> + echo '<td><input type="submit" name="select" value="'._('Select').'" /></td> </tr> </table> <br />'; @@ -93,20 +93,20 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type="hidden" name="ChooseOption" value="'.$_POST['ChooseOption'].'">'; - echo '<input type="hidden" name="selectchoice" value="'.$_POST['selectchoice'].'">'; + echo '<input type="hidden" name="ChooseOption" value="'.$_POST['ChooseOption'].'" />'; + echo '<input type="hidden" name="selectchoice" value="'.$_POST['selectchoice'].'" />'; if (isset($_POST['ChooseOption']) and $_POST['ChooseOption']==1) { 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,17 +123,17 @@ $_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="submit" name="search" value="' . _('Search') .'"></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>'; echo '</table>'; - echo '<br /><div class="centre"><input type="submit" name="submit" value="'. _('Update Item') .'"></div>'; + echo '<br /><div class="centre"><input type="submit" name="submit" value="'. _('Update Item') .'" /></div>'; if (isset($_POST['search'])) { if ($_POST['PartID']!='' and $_POST['PartDesc']=='') @@ -169,7 +169,7 @@ echo '<option value="'.$myrow['categoryid'].'">'.$myrow['categorydescription'].'</option>'; } echo '</select></td></tr></table>'; - echo '<br /><div class="centre"><input type="submit" name="SubmitCategory" value="'. _('Update Items') .'"></div>'; + echo '<br /><div class="centre"><input type="submit" name="SubmitCategory" value="'. _('Update Items') .'" /></div>'; } echo '</form>'; @@ -245,7 +245,7 @@ echo '</select></td></tr> </table> <br />'; - echo '<div class="centre"><input type="submit" name="selectchoice" value="'._('Select').'"></div>'; + echo '<div class="centre"><input type="submit" name="selectchoice" value="'._('Select').'" /></div>'; } include('includes/footer.inc'); Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/EDIMessageFormat.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -202,7 +202,7 @@ echo '<table class=selection>'; if ($myrow['messagetype']!='') { - echo '<tr><th colspan=2><font size=3>' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</font></th></tr>'; + echo '<tr><th colspan="2">' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</th></tr>'; } echo '<tr><td>' . _('Section') . ':</td>'; Modified: trunk/EmailConfirmation.php =================================================================== --- trunk/EmailConfirmation.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/EmailConfirmation.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -252,7 +252,7 @@ <title>Email Confirmation</title> </head> <body> -<Table width='60%'> +<table width='60%'> <tr> <td align='center' colspan='4'> <?php echo "<IMG src='" . $rootpath . '/' . $_SESSION['LogoFile'] . "' alt='Logo'" . "width='500' height='100' align='center' border='0'>" ?> Modified: trunk/FTP_RadioBeacon.php =================================================================== --- trunk/FTP_RadioBeacon.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FTP_RadioBeacon.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -44,7 +44,7 @@ /*show a table of the orders returned by the SQL */ -echo '<table cellpadding=2 colspan=7 WIDTH=100%>'; +echo '<table cellpadding="2" colspan="7" width="100%">'; $TableHeader = '<tr> <td class=tableheader>' . _('Modify') . '</td> <td class=tableheader>' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> Modified: trunk/Factors.php =================================================================== --- trunk/Factors.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Factors.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -275,7 +275,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type="hidden" name="New" value="No">'; + echo '<input type="hidden" name="New" value="No" />'; echo '<table class="selection"> <tr> <th>' . _('ID') . '</th> Modified: trunk/FixedAssetItems.php =================================================================== --- trunk/FixedAssetItems.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FixedAssetItems.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -390,7 +390,7 @@ /*If the page was called without $AssetID passed to page then assume a new asset is to be entered other wise the form showing the fields with the existing entries against the asset will show for editing with a hidden AssetID field. New is set to flag that the page may have called itself and still be entering a new asset, in which case the page needs to know not to go looking up details for an existing asset*/ $New = 1; - echo '<input type="hidden" name="New" value="">'. "\n"; + echo '<input type="hidden" name="New" value="" /><br />'; $_POST['LongDescription'] = ''; $_POST['Description'] = ''; @@ -469,7 +469,7 @@ echo '<tr> <td>'. _('Image File (.jpg)') . ':</td> - <td><input type="file" id="ItemPicture" name="ItemPicture"></td>'; + <td><input type="file" id="ItemPicture" name="ItemPicture" /></td>'; if (function_exists('imagecreatefromjpg')){ $AssetImgLink = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC'. @@ -480,7 +480,7 @@ '" >'; } else { if( isset($AssetID) and file_exists($_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg') ) { - $AssetImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg" >'; + $AssetImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg" />'; } else { $AssetImgLink = _('No Image'); } Modified: trunk/FixedAssetRegister.php =================================================================== --- trunk/FixedAssetRegister.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FixedAssetRegister.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -220,7 +220,7 @@ } else { echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" />'; - echo '<input type="hidden" name="ToDate" value=' . $_POST['ToDate'] . '>'; + echo '<input type="hidden" name="ToDate" value="' . $_POST['ToDate'] . '" />'; echo '<input type="hidden" name="AssetCategory" value="' . $_POST['AssetCategory'] . '" />'; echo '<input type="hidden" name="AssetID" value="' . $_POST['AssetID'] . '" />'; echo '<input type="hidden" name="AssetLocation" value="' . $_POST['AssetLocation'] . '" />'; Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FormDesigner.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -158,11 +158,11 @@ $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']) . '?' . SID . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input name=FormName type="hidden" value="'.$_POST['FormName'].'">'; -echo '<table width=95% border=1>'; //Start of outer table -echo '<tr><th width=33%>'._('Form Name').'<input type="text" name="formname" value="'.$FormDesign['name'].'"></th>'; +echo '<input name="FormName" type="hidden" value="'.$_POST['FormName'].'" />'; +echo '<table width="95%" border="1">'; //Start of outer table +echo '<tr><th width="33%">'._('Form Name').'<input type="text" name="formname" value="'.$FormDesign['name'].'" /></th>'; /* Select the paper size/orientation */ -echo '<th width=33%>'._('Paper Size').'<select name="PaperSize">'; +echo '<th width="33%">'._('Paper Size').'<select name="PaperSize">'; foreach ($Papers as $Paper) { if (mb_substr($Paper,-8)=='Portrait') { $PaperValue=mb_substr($Paper,0,mb_strlen($Paper)-9); @@ -177,33 +177,33 @@ } echo '</select></th>'; /* and the standard line height for the form */ -echo '<th width=33%>'._('Line Height').'<input type="text" class="number" name="LineHeight" size=3 maxlength=3 value="'.$FormDesign->LineHeight.'"></th></tr><tr>'; +echo '<th width=33%>'._('Line Height').'<input type="text" class="number" name="LineHeight" size="3" maxlength="3" value="'.$FormDesign->LineHeight.'" /></th></tr><tr>'; $counter=1; // Count how many sub tables are in the row foreach ($FormDesign as $key) { switch ($key['type']) { case 'image': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=8>'.$key['name'].'</th></tr>'; - 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>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="8">'.$key['name'].'</th></tr>'; + 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">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'SimpleText': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'."\n"; SimpleTextLine($key); echo '</table></td>'; $counter=$counter+1; break; case 'MultiLineText': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=4>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="4">'.$key['name'].'</th></tr>'."\n"; MultiTextLine($key); echo '</table></td>'; $counter=$counter+1; break; case 'ElementArray': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=7>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="7">'.$key['name'].'</th></tr>'."\n"; foreach ($key as $subkey) { if ($subkey['type']=='SimpleText') { echo '<tr>'; @@ -221,7 +221,7 @@ echo '<td>'.$subkey['name'].'</td>'; DataTextLine($subkey); } elseif ($subkey['type']=='StartLine') { - echo '<td colspan=3>'.$subkey['name'].' = '.'</td><td><input type="text" class="number" name="StartLine" size=4 maxlength=4 value="'.$key->y.'"></td>'; + echo '<td colspan="3">'.$subkey['name'].' = '.'</td><td><input type="text" class="number" name="StartLine" size="4" maxlength="4" value="'.$key->y.'"></td>'; } echo '</tr>'; } @@ -230,30 +230,30 @@ $counter=$counter+1; break; case 'CurvedRectangle': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - 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>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td></tr><tr>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; - echo '<td class=number>'._('Radius').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'radius" size=3 maxlength=3 value="'.$key->radius.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + 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">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td></tr><tr>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; + echo '<td class="number">'._('Radius').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'radius" size="3" maxlength="3" value="'.$key->radius.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'Rectangle': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - 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>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td></tr><tr>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + 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">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td></tr><tr>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'Line': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('Start x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'startx" size=4 maxlength=4 value="'.$key->startx.'"></td>'; - echo '<td class=number>'._('Start y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'starty" size=4 maxlength=4 value="'.$key->starty.'"></td></tr><tr>'; - echo '<td class=number>'._('End x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endx" size=4 maxlength=4 value="'.$key->endx.'"></td>'; - echo '<td class=number>'._('End y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endy" size=4 maxlength=4 value="'.$key->endy.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('Start x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'startx" size="4" maxlength="4" value="'.$key->startx.'"></td>'; + echo '<td class="number">'._('Start y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'starty" size="4" maxlength="4" value="'.$key->starty.'"></td></tr><tr>'; + echo '<td class="number">'._('End x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endx" size="4" maxlength="4" value="'.$key->endx.'"></td>'; + echo '<td class="number">'._('End y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endy" size="4" maxlength="4" value="'.$key->endy.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; Modified: trunk/FreightCosts.php =================================================================== --- trunk/FreightCosts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FreightCosts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -56,7 +56,7 @@ echo '</select></td></tr> </table> - <br /><div class="centre"><input type="submit" value="' . _('Accept') . '" name="Accept"></div> + <br /><div class="centre"><input type="submit" value="' . _('Accept') . '" name="Accept" /></div> </form>'; } else { @@ -300,7 +300,7 @@ $_POST['FixedPrice'] = $myrow['fixedprice']; $_POST['MinimumChg'] = $myrow['minimumchg']; - echo '<input type="hidden" name="SelectedFreightCost" value="' . $SelectedFreightCost . '">'; + echo '<input type="hidden" name="SelectedFreightCost" value="' . $SelectedFreightCost . '" />'; } else { $_POST['FixedPrice'] = 0; @@ -317,26 +317,26 @@ if (!isset($_POST['MAXCub'])) {$_POST['MAXCub']='';} echo '<br /><table class=selection>'; - echo '<tr><th colspan=2><font size=4 color=blue>' . _('For Deliveries From') . ' ' . $LocationName . ' ' . _('using') . ' ' . - $ShipperName . '</font></th></tr>'; + echo '<tr><th colspan="2">' . _('For Deliveries From') . ' ' . $LocationName . ' ' . _('using') . ' ' . + $ShipperName . '</th></tr>'; echo'<tr><td>' . _('Destination') . ':</td> - <td><input type="text" maxlength=20 size=20 name="Destination" value="' . $_POST['Destination'] . '"></td></tr>'; + <td><input type="text" maxlength=20 size=20 name="Destination" value="' . $_POST['Destination'] . '" /></td></tr>'; echo '<tr><td>' . _('Rate per Cubic Metre') . ':</td> - <td><input type="text" name="CubRate" class="number" size=6 maxlength=5 value="' . $_POST['CubRate'] . '"></td></tr>'; + <td><input type="text" name="CubRate" class="number" size=6 maxlength=5 value="' . $_POST['CubRate'] . '" /></td></tr>'; echo '<tr><td>' . _('Rate Per KG') . ':</td> - <td><input type="text" name="KGRate" class="number" size=6 maxlength=5 value="' . $_POST['KGRate'] . '"></td></tr>'; + <td><input type="text" name="KGRate" class="number" size=6 maxlength=5 value="' . $_POST['KGRate'] . '" /></td></tr>'; echo '<tr><td>' . _('Maximum Weight Per Package (KGs)') . ':</a></td> - <td><input type="text" name="MAXKGs" class="number" size=8 maxlength=7 value="' . $_POST['MAXKGs'] . '"></td></tr>'; + <td><input type="text" name="MAXKGs" class="number" size=8 maxlength=7 value="' . $_POST['MAXKGs'] . '" /></td></tr>'; echo '<tr><td>' . _('Maximum Volume Per Package (cubic metres)') . ':</a></td> - <td><input type="text" name="MAXCub" class="number" size=8 maxlength=7 value="' . $_POST['MAXCub'] . '"></td></tr>'; + <td><input type="text" name="MAXCub" class="number" size=8 maxlength=7 value="' . $_POST['MAXCub'] . '" /></td></tr>'; echo '<tr><td>' . _('Fixed Price (zero if rate per KG or Cubic)') . ':</a></td> - <td><input type="text" name="FixedPrice" class="number" size=6 maxlength=5 value="' . $_POST['FixedPrice'] . '"></td></tr>'; + <td><input type="text" name="FixedPrice" class="number" size=6 maxlength=5 value="' . $_POST['FixedPrice'] . '" /></td></tr>'; echo '<tr><td>' . _('Minimum Charge (0 is N/A)') . ':</a></td> - <td><input type="text" name="MinimumChg" class="number" size=6 maxlength=5 value="' . $_POST['MinimumChg'] . '"></td></tr>'; + <td><input type="text" name="MinimumChg" class="number" size=6 maxlength=5 value="' . $_POST['MinimumChg'] . '" /></td></tr>'; echo '</table><br />'; - echo '<div class="centre"><input type="submit" name="submit" value="' . _('Enter Information') . '"></div>'; + echo '<div class="centre"><input type="submit" name="submit" value="' . _('Enter Information') . '" /></div>'; echo '</form>'; Modified: trunk/GLAccountCSV.php =================================================================== --- trunk/GLAccountCSV.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLAccountCSV.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -79,7 +79,7 @@ // End select tag echo '</table><p> - <div class="centre"><input type="submit" name="MakeCSV" value="'._('Make CSV File').'"></div> + <div class="centre"><input type="submit" name="MakeCSV" value="'._('Make CSV File').'" /></div> </form>'; /* End of the Form rest of script is what happens if the show button is hit*/ Modified: trunk/GLAccounts.php =================================================================== --- trunk/GLAccounts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -222,8 +222,8 @@ $_POST['AccountName'] = $myrow['accountname']; $_POST['Group'] = $myrow['group_']; - echo '<input type="hidden" name="SelectedAccount" value="' . $SelectedAccount . '">'; - echo '<input type="hidden" name="AccountCode" VALUE="' . $_POST['AccountCode'] .'">'; + echo '<input type="hidden" name="SelectedAccount" value="' . $SelectedAccount . '" />'; + echo '<input type="hidden" name="AccountCode" VALUE="' . $_POST['AccountCode'] .'" />'; echo '<table class=selection> <tr><td>' . _('Account Code') . ':</td> <td>' . $_POST['AccountCode'] . '</td></tr>'; @@ -235,7 +235,7 @@ } if (!isset($_POST['AccountName'])) {$_POST['AccountName']='';} - echo '<tr><td>' . _('Account Name') . ":</td><td><input type='Text' size=51 maxlength=50 name='AccountName' value='" . $_POST['AccountName'] . "'></td></tr>"; + echo '<tr><td>' . _('Account Name') . ":</td><td><input type='Text' size=51 maxlength=50 name='AccountName' value='" . $_POST['AccountName'] . "' /></td></tr>"; $sql = 'SELECT groupname FROM accountgroups ORDER BY sequenceintb'; $result = DB_query($sql, $db); @@ -259,7 +259,7 @@ echo '</select></td></tr></table>'; - echo '<br /><div class="centre"><input type="Submit" name="submit" value="'. _('Enter Information') . '"></div>'; + echo '<br /><div class="centre"><input type="Submit" name="submit" value="'. _('Enter Information') . '" /></div>'; echo '</form>'; Modified: trunk/GLBalanceSheet.php =================================================================== --- trunk/GLBalanceSheet.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLBalanceSheet.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -63,7 +63,7 @@ </div>'; echo '<br /> <div class="centre"> - <input type="submit" name="PrintPDF" value="'._('Produce PDF Report').'"> + <input type="submit" name="PrintPDF" value="'._('Produce PDF Report').'" /> </div> </form>'; @@ -364,7 +364,7 @@ echo '<div class="invoice"> <table class="selection"> <tr> - <th colspan=6> + <th colspan="6"> <div class="centre"><font size="4" color="blue"><b>' . _('Balance Sheet as at') . ' ' . $BalanceDate .'</b></font> </div> @@ -620,7 +620,7 @@ </tr>'; } else { echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr></td> <td></td> <td><hr></td> @@ -628,7 +628,7 @@ } printf('<tr> - <td colspan=3><font size=4>%s</font></td> + <td colspan="3">%s</td> <td class="number">%s</td> <td></td> <td class="number">%s</td> Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLBudgets.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -191,7 +191,7 @@ echo '<td><input type="text" class="number" size=14 name="'.$i.'this" value="'. locale_number_format($Budget[$CurrentYearEndPeriod-(12-$i)],$_SESSION['CompanyRecord']['decimalplaces']) .'"></td>'; echo '<th>'. $PeriodEnd[$CurrentYearEndPeriod+($i)] .'</th>'; echo '<td bgcolor="d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; - echo '<td><input type="text" class="number" size=14 name="'.$i.'next" value="'. locale_number_format($Budget[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']) .'"></td>'; + echo '<td><input type="text" class="number" size=14 name="'.$i.'next" value="'. locale_number_format($Budget[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']) .'" /></td>'; echo '</tr>'; $LastYearActual=$LastYearActual+$Actual[$CurrentYearEndPeriod-(24-$i)]; $LastYearBudget=$LastYearBudget+$Budget[$CurrentYearEndPeriod-(24-$i)]; @@ -231,7 +231,7 @@ echo '<script>defaultControl(document.form.1next);</script>'; echo '<br /> <div class="centre"> - <input type="submit" name=update value="' . _('Update') . '"> + <input type="submit" name=update value="' . _('Update') . '" /> </div> </form>'; Modified: trunk/GLProfit_Loss.php =================================================================== --- trunk/GLProfit_Loss.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLProfit_Loss.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -748,7 +748,7 @@ if ($Section==1) { /*Income*/ echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr /></td> <td></td> <td><hr /></td> @@ -757,7 +757,7 @@ </tr>'; printf('<tr> - <td colspan="2"><font size=4>%s</font></td> + <td colspan="2">%s</td> <td></td> <td class="number">%s</td> <td></td> @@ -875,7 +875,7 @@ $ActGrp = $myrow['groupname']; if ($_POST['Detail']=='Detailed'){ printf('<tr> - <th colspan=8><font size=3 color=BLUE><b>%s</b></font></th> + <th colspan="8"><b>%s</b></th> </tr>', $myrow['groupname']); echo $TableHeader; @@ -1051,7 +1051,7 @@ if ($Section==1) { /*Income*/ echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr /></td> <td></td> <td><hr /></td> Modified: trunk/GLTags.php =================================================================== --- trunk/GLTags.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLTags.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -57,8 +57,8 @@ <table> <tr> <td>'. _('Description') . '</td> - <td><input type="text" size="30" maxlength="30" name="Description" value="'.$Description.'"></td> - <td><input type="hidden" name="reference" value="'.$_GET['SelectedTag'].'">'; + <td><input type="text" size="30" maxlength="30" name="Description" value="'.$Description.'" /></td> + <td><input type="hidden" name="reference" value="'.$_GET['SelectedTag'].'" />'; if (isset($_GET['Action']) AND $_GET['Action']=='edit') { echo '<input type="submit" name="update" value="' . _('Update') . '" />'; Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLTrialBalance.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -436,8 +436,8 @@ Account Code , Account Name... [truncated message content] |