From: <vv...@us...> - 2012-01-22 02:58:01
|
Revision: 4830 http://web-erp.svn.sourceforge.net/web-erp/?rev=4830&view=rev Author: vvs2012 Date: 2012-01-22 02:57:49 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/AccountSections.php trunk/AddCustomerNotes.php trunk/AgedDebtors.php trunk/AgedSuppliers.php trunk/Areas.php trunk/BOMExtendedQty.php trunk/BOMIndentedReverse.php trunk/BOMs.php trunk/BankAccounts.php trunk/BankReconciliation.php trunk/ConfirmDispatch_Invoice.php trunk/Credit_Invoice.php trunk/CustWhereAlloc.php trunk/CustomerAllocations.php trunk/CustomerTypes.php trunk/Customers.php trunk/DeliveryDetails.php trunk/EDIMessageFormat.php trunk/EmailCustTrans.php trunk/ExchangeRateTrend.php trunk/FixedAssetTransfer.php trunk/FormDesigner.php trunk/GLAccountReport.php trunk/GLBalanceSheet.php trunk/GLProfit_Loss.php trunk/GLTrialBalance.php trunk/GoodsReceived.php trunk/GoodsReceivedControlled.php trunk/InventoryQuantities.php trunk/MRPReschedules.php trunk/MRPShortages.php trunk/OffersReceived.php trunk/OutstandingGRNs.php trunk/PDFChequeListing.php trunk/PDFCustomerList.php trunk/PDFOrderStatus.php trunk/PDFPriceList.php trunk/PDFRemittanceAdvice.php trunk/PO_AuthorisationLevels.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_PDFPurchOrder.php trunk/PO_SelectOSPurchOrder.php trunk/PaymentTerms.php trunk/Payments.php trunk/PcAssignCashToTab.php trunk/PcAuthorizeExpenses.php trunk/PcExpenses.php trunk/PcExpensesTypeTab.php trunk/PcReportTab.php trunk/PcTabs.php trunk/PcTypeTabs.php trunk/Prices.php trunk/RecurringSalesOrders.php trunk/ReorderLevel.php trunk/SalesAnalReptCols.php trunk/SalesCategories.php trunk/SalesGraph.php trunk/SalesPeople.php trunk/SalesTopItemsInquiry.php trunk/SalesTypes.php trunk/SelectAsset.php trunk/SelectCreditItems.php trunk/SelectGLAccount.php trunk/SelectOrderItems.php trunk/SelectProduct.php trunk/SelectSalesOrder.php trunk/SelectSupplier.php trunk/SelectWorkOrder.php trunk/ShipmentCosting.php trunk/StockCheck.php trunk/StockCounts.php trunk/StockLocTransfer.php trunk/StockQuantityByDate.php trunk/StockTransferControlled.php trunk/StockUsage.php trunk/SupplierCredit.php trunk/Suppliers.php trunk/TaxAuthorityRates.php trunk/TaxProvinces.php trunk/WorkOrderCosting.php trunk/Z_ReApplyCostToSA.php trunk/Z_RePostGLFromPeriod.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_Upgrade_3.11-4.00.php trunk/doc/Change.log trunk/doc/Manual/ManualAPIFunctions.php trunk/doc/Manual/ManualGeneralLedger.html trunk/doc/Manual/ManualRequirements.html trunk/includes/InputSerialItems.php trunk/includes/InputSerialItemsExisting.php trunk/includes/InputSerialItemsFile.php trunk/includes/InputSerialItemsKeyed.php trunk/includes/OutputSerialItems.php Modified: trunk/AccountSections.php =================================================================== --- trunk/AccountSections.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/AccountSections.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -232,7 +232,7 @@ $_POST['SectionID'] = $myrow['sectionid']; $_POST['SectionName'] = $myrow['sectionname']; - echo '<input type=hidden name="SelectedSectionID" value="' . $_POST['SectionID'] . '" />'; + echo '<input type="hidden" name="SelectedSectionID" value="' . $_POST['SectionID'] . '" />'; echo '<table class="selection"> <tr> <td>' . _('Section Number') . ':' . '</td> Modified: trunk/AddCustomerNotes.php =================================================================== --- trunk/AddCustomerNotes.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/AddCustomerNotes.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -191,9 +191,9 @@ $_POST['date'] = $myrow['date']; $_POST['priority'] = $myrow['priority']; $_POST['debtorno'] = $myrow['debtorno']; - echo '<input type=hidden name="Id" value="'. $Id .'" />'; - echo '<input type=hidden name="Con_ID" value="' . $_POST['noteid'] . '" />'; - echo '<input type=hidden name="DebtorNo" value="' . $_POST['debtorno'] . '" />'; + echo '<input type="hidden" name="Id" value="'. $Id .'" />'; + echo '<input type="hidden" name="Con_ID" value="' . $_POST['noteid'] . '" />'; + echo '<input type="hidden" name="DebtorNo" value="' . $_POST['debtorno'] . '" />'; echo '<table class="selection"> <tr> <td>'. _('Note ID').':</td> Modified: trunk/AgedDebtors.php =================================================================== --- trunk/AgedDebtors.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/AgedDebtors.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -513,7 +513,7 @@ </table> <br /> <div class="centre"> - <input tabindex="7" type=submit name="PrintPDF" value="' . _('Print PDF') , '" /> + <input tabindex="7" type="submit" name="PrintPDF" value="' . _('Print PDF') , '" /> </div>'; } include('includes/footer.inc'); Modified: trunk/AgedSuppliers.php =================================================================== --- trunk/AgedSuppliers.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/AgedSuppliers.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -325,7 +325,7 @@ </table> <br /> <div class="centre"> - <input tabindex="6" type=submit name="PrintPDF" value="' . _('Print PDF') . '" /> + <input tabindex="6" type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /> </div>'; } include('includes/footer.inc'); Modified: trunk/Areas.php =================================================================== --- trunk/Areas.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/Areas.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -195,8 +195,8 @@ $_POST['AreaCode'] = $myrow['areacode']; $_POST['AreaDescription'] = $myrow['areadescription']; - echo '<input type=hidden name="SelectedArea" value="' . $SelectedArea . '" />'; - echo '<input type=hidden name="AreaCode" value="' .$_POST['AreaCode'] . '" />'; + echo '<input type="hidden" name="SelectedArea" value="' . $SelectedArea . '" />'; + echo '<input type="hidden" name="AreaCode" value="' .$_POST['AreaCode'] . '" />'; echo '<table class="selection"> <tr> <td>' . _('Area Code') . ':</td> Modified: trunk/BOMExtendedQty.php =================================================================== --- trunk/BOMExtendedQty.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/BOMExtendedQty.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -292,7 +292,7 @@ <br /> <div class="centre"> <br /> - <input type=submit name="PrintPDF" value="' . _('Print PDF') . '" /> + <input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /> </div>'; include('includes/footer.inc'); Modified: trunk/BOMIndentedReverse.php =================================================================== --- trunk/BOMIndentedReverse.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/BOMIndentedReverse.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -252,7 +252,7 @@ </table> <p> <div class="centre"> - <input type=submit name="PrintPDF" value="' . _('Print PDF') . '" /> + <input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /> </div> </p>'; Modified: trunk/BOMs.php =================================================================== --- trunk/BOMs.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/BOMs.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -605,7 +605,7 @@ } else { //end of if $SelectedComponent - echo '<input type=hidden name="SelectedParent" value="' . $SelectedParent . '" />'; + echo '<input type="hidden" name="SelectedParent" value="' . $SelectedParent . '" />'; /* echo "Enter the details of a new component in the fields below. <br />Click on 'Enter Information' to add the new component, once all fields are completed."; */ echo '<table class="selection">'; Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/BankAccounts.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -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> Modified: trunk/BankReconciliation.php =================================================================== --- trunk/BankReconciliation.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/BankReconciliation.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -131,7 +131,7 @@ echo '</table> <p> <div class="centre"> - <input type=submit tabindex="2" name="ShowRec" value="' . _('Show bank reconciliation statement') . '" /> + <input type="submit" tabindex="2" name="ShowRec" value="' . _('Show bank reconciliation statement') . '" /> </div> </p> <br />'; @@ -364,7 +364,7 @@ <td colspan="7">' . _('It is normal for foreign currency accounts to have exchange differences that need to be reflected as the exchange rate varies. This reconciliation is prepared using the exchange rate set up in the currencies table (see the set-up tab). This table must be maintained with the current exchange rate before running the reconciliation. If you wish to create a journal to reflect the exchange difference based on the current exchange rate to correct the reconciliation to the actual bank statement balance click below.') . '</td> </tr> <tr> - <td colspan="7" align="center"><input type=submit name="DoExchangeDifference" value="' . _('Calculate and Post Exchange Difference') . '" /></td> + <td colspan="7" align="center"><input type="submit" name="DoExchangeDifference" value="' . _('Calculate and Post Exchange Difference') . '" /></td> </tr>'; } echo '</table>'; Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/ConfirmDispatch_Invoice.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -327,7 +327,7 @@ 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'])) { Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/Credit_Invoice.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -315,7 +315,7 @@ 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 { Modified: trunk/CustWhereAlloc.php =================================================================== --- trunk/CustWhereAlloc.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/CustWhereAlloc.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -10,8 +10,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Customer Where Allocated'). '" alt="" />' . $title . ' + <img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Customer Where Allocated'). '" alt="" />' . $title . ' </p> <table class="selection"> <tr> @@ -96,7 +95,7 @@ echo '<tr> <th colspan="6"> <div class="centre"> - <font size=3 color="blue"><b>'._('Allocations made against invoice number') . ' ' . $_POST['TransNo'] . '<br />'._('Transaction Total').': '. locale_number_format($myrow['totamt'],$CurrDecimalPlaces) . ' ' . $CurrCode . '</font></b> + <b>'._('Allocations made against invoice number') . ' ' . $_POST['TransNo'] . '<br />'._('Transaction Total').': '. locale_number_format($myrow['totamt'],$CurrDecimalPlaces) . ' ' . $CurrCode . '</b> </div> </th> </tr>'; Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/CustomerAllocations.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -338,7 +338,7 @@ // Page called with trans number 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'] . '" />'; + echo '<input type="hidden" name="AllocTrans" value="' . $_POST['AllocTrans'] . '" />'; // Show trans already allocated and potential new allocations @@ -408,7 +408,7 @@ $balance += $YetToAlloc-$AllocnItem->AllocAmt; $j++; echo '<input tabindex="'.$j.'" type="text" class="number" name="Amt' . $Counter .'" maxlength="12" size="13" value="' . locale_number_format(round($AllocnItem->AllocAmt,$_SESSION['Alloc']->CurrDecimalPlaces),$_SESSION['Alloc']->CurrDecimalPlaces) . '" /> - <input type=hidden name="AllocID' . $Counter . '" value="' . $AllocnItem->ID . '" /></td> + <input type="hidden" name="AllocID' . $Counter . '" value="' . $AllocnItem->ID . '" /></td> <td class="number">' . locale_number_format($balance,$_SESSION['Alloc']->CurrDecimalPlaces) . '</td> </tr>'; } Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/CustomerTypes.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -239,8 +239,8 @@ $_POST['typeid'] = $myrow['typeid']; $_POST['typename'] = $myrow['typename']; - echo '<input type=hidden name="SelectedType" value="' . $SelectedType . '">'; - echo '<input type=hidden name="typeid" value=' . $_POST['typeid'] . '">'; + echo '<input type="hidden" name="SelectedType" value="' . $SelectedType . '">'; + echo '<input type="hidden" name="typeid" value=' . $_POST['typeid'] . '">'; echo '<table class="selection">'; // We dont allow the user to change an existing type code @@ -261,7 +261,7 @@ echo '</td></tr> </table>'; // close main table - echo '<p><div class="centre"><input type=submit name=submit value="' . _('Accept') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '"></div>'; echo '</form>'; Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/Customers.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -681,11 +681,11 @@ $_POST['CustomerPOLine'] = $myrow['customerpoline']; $_POST['typeid'] = $myrow['typeid']; - echo '<input type=hidden name="DebtorNo" value="' . $DebtorNo . '" />'; + echo '<input type="hidden" name="DebtorNo" value="' . $DebtorNo . '" />'; } else { // its a new customer being added - echo '<input type=hidden name="New" value="Yes" />'; + echo '<input type="hidden" name="New" value="Yes" />'; /* 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 */ @@ -1081,7 +1081,7 @@ if (isset($_POST['New']) and $_POST['New']) { echo '<div class="centre"> <input type="submit" name="submit" value="' . _('Add New Customer') . '" /> - <input type=submit name="Reset" value="' . _('Reset') . '" /> + <input type="submit" name="Reset" value="' . _('Reset') . '" /> </div> </form>'; } elseif (!isset($_GET['Modify'])){ Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/DeliveryDetails.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -1072,7 +1072,7 @@ 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> @@ -1080,7 +1080,7 @@ <td><input type="text" class="number" size="10" maxlength="12" name="FreightCost" value="' . $_SESSION['Items'.$identifier]->FreightCost . '" /></td>'; if ($_SESSION['DoFreightCalc']==true){ - echo '<td><input type=submit name="Update" value="' . _('Recalc Freight Cost') . '" /></td> + echo '<td><input type="submit" name="Update" value="' . _('Recalc Freight Cost') . '" /></td> </tr>'; } @@ -1122,11 +1122,11 @@ echo '</table>'; -echo '<br /><div class="centre"><input type=submit name="BackToLineDetails" value="' . _('Modify Order Lines') . '"><br />'; +echo '<br /><div class="centre"><input type="submit" name="BackToLineDetails" value="' . _('Modify Order Lines') . '"><br />'; if ($_SESSION['ExistingOrder'.$identifier]==0){ - echo '<br /><br /><input type=submit name="ProcessOrder" value="' . _('Place Order') . '">'; - echo '<br /><br /><input type=submit name="MakeRecurringOrder" value="' . _('Create Recurring Order') . '">'; + echo '<br /><br /><input type="submit" name="ProcessOrder" value="' . _('Place Order') . '">'; + echo '<br /><br /><input type="submit" name="MakeRecurringOrder" value="' . _('Create Recurring Order') . '">'; } else { echo '<br /><input type="submit" name="ProcessOrder" value="' . _('Commit Order Changes') . '">'; } Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/EDIMessageFormat.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -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 />'; } Modified: trunk/EmailCustTrans.php =================================================================== --- trunk/EmailCustTrans.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/EmailCustTrans.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -38,8 +38,8 @@ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input type=hidden name="TransNo" value="' . $_GET['FromTransNo'] . '">'; -echo '<input type=hidden name="InvOrCredit" value="' . $_GET['InvOrCredit'] . '">'; +echo '<input type="hidden" name="TransNo" value="' . $_GET['FromTransNo'] . '">'; +echo '<input type="hidden" name="InvOrCredit" value="' . $_GET['InvOrCredit'] . '">'; echo '<br /><table>'; @@ -64,7 +64,7 @@ <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') . '">'; +echo '<br /><div class="centre"><input type="submit" name="DoIt" value="' . _('OK') . '">'; echo '</div></form>'; include ('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/ExchangeRateTrend.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -48,7 +48,7 @@ echo '</table>'; /*close off the table in the third column */ - echo '<p><div class="centre"><input type=submit name=submit value="' . _('Accept') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '"></div>'; echo '</form>'; // ************** Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/FixedAssetTransfer.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -69,7 +69,7 @@ echo '</td></tr></table><br />'; - echo '<div class="centre"><input type=submit name="Search" value="'. _('Search Now') . '"></div></form><br />'; + echo '<div class="centre"><input type="submit" name="Search" value="'. _('Search Now') . '"></div></form><br />'; } if (isset($_POST['Search'])) { Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/FormDesigner.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -158,7 +158,7 @@ $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 '<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 */ Modified: trunk/GLAccountReport.php =================================================================== --- trunk/GLAccountReport.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/GLAccountReport.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -285,7 +285,7 @@ echo '</table><p> <div class="centre"> - <input type=submit name="RunReport" value="' ._('Run Report'). '"></div> + <input type="submit" name="RunReport" value="' ._('Run Report'). '"></div> </form>'; include ('includes/footer.inc'); Modified: trunk/GLBalanceSheet.php =================================================================== --- trunk/GLBalanceSheet.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/GLBalanceSheet.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -314,7 +314,7 @@ include('includes/header.inc'); echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type=hidden name="BalancePeriodEnd" value="' . $_POST['BalancePeriodEnd'] . '" />'; + echo '<input type="hidden" name="BalancePeriodEnd" value="' . $_POST['BalancePeriodEnd'] . '" />'; $RetainedEarningsAct = $_SESSION['CompanyRecord']['retainedearnings']; Modified: trunk/GLProfit_Loss.php =================================================================== --- trunk/GLProfit_Loss.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/GLProfit_Loss.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -552,7 +552,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" /> <input type="hidden" name="FromPeriod" value="' . $_POST['FromPeriod'] . '" /> - <input type=hidden name="ToPeriod" value="' . $_POST['ToPeriod'] . '" />'; + <input type="hidden" name="ToPeriod" value="' . $_POST['ToPeriod'] . '" />'; $NumberOfMonths = $_POST['ToPeriod'] - $_POST['FromPeriod'] + 1; Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/GLTrialBalance.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -385,8 +385,8 @@ include('includes/header.inc'); echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type=hidden name="FromPeriod" value="' . $_POST['FromPeriod'] . '" /> - <input type=hidden name="ToPeriod" value="' . $_POST['ToPeriod'] . '" />'; + echo '<input type="hidden" name="FromPeriod" value="' . $_POST['FromPeriod'] . '" /> + <input type="hidden" name="ToPeriod" value="' . $_POST['ToPeriod'] . '" />'; $NumberOfMonths = $_POST['ToPeriod'] - $_POST['FromPeriod'] + 1; @@ -720,7 +720,7 @@ locale_number_format($CheckPeriodBudget,$_SESSION['CompanyRecord']['decimalplaces'])); echo '</table><br />'; - echo '<div class="centre"><input type=submit Name="SelectADifferentPeriod" value="' . _('Select A Different Period') . '" /></div>'; + echo '<div class="centre"><input type="submit" Name="SelectADifferentPeriod" value="' . _('Select A Different Period') . '" /></div>'; } echo '</form>'; Modified: trunk/GoodsReceived.php =================================================================== --- trunk/GoodsReceived.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/GoodsReceived.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -252,14 +252,14 @@ prnMsg(_('Negative stocks would result by processing a negative delivery - quantities must be changed or the stock quantity of the item going negative corrected before this delivery will be processed.'),'error'); - echo '<div class="centre"><input type=submit name=Update Value=' . _('Update') . '>'; + echo '<div class="centre"><input type="submit" name=Update Value=' . _('Update') . '>'; }elseif ($DeliveryQuantityTooLarge==1 AND isset($_POST['ProcessGoodsReceived'])){ prnMsg(_('Entered quantities cannot be greater than the quantity entered on the purchase invoice including the allowed over-receive percentage'). ' ' . '(' . $_SESSION['OverReceiveProportion'] .'%)','error'); echo '<br />'; prnMsg(_('Modify the ordered items on the purchase invoice if you wish to increase the quantities'),'info'); - echo '<div class="centre"><input type=submit name=Update Value=' . _('Update') . '>'; + echo '<div class="centre"><input type="submit" name=Update Value=' . _('Update') . '>'; } elseif (isset($_POST['ProcessGoodsReceived']) AND $_SESSION['PO'.$identifier]->SomethingReceived()==1 AND $InputError == false){ Modified: trunk/GoodsReceivedControlled.php =================================================================== --- trunk/GoodsReceivedControlled.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/GoodsReceivedControlled.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -76,7 +76,7 @@ $ShowExisting = false; include ('includes/InputSerialItems.php'); -//echo '<br /><input type=submit name=\'AddBatches\' VALUE=\'Enter\'><br />'; +//echo '<br /><input type="submit" name=\'AddBatches\' VALUE=\'Enter\'><br />'; /*TotalQuantity set inside this include file from the sum of the bundles of the item selected for dispatch */ Modified: trunk/InventoryQuantities.php =================================================================== --- trunk/InventoryQuantities.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/InventoryQuantities.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -206,7 +206,7 @@ </table> <br /> <div class="centre"> - <input type=submit name="PrintPDF" value="' . _('Print PDF') . '" /> + <input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /> </div>'; include('includes/footer.inc'); Modified: trunk/MRPReschedules.php =================================================================== --- trunk/MRPReschedules.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/MRPReschedules.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -149,7 +149,7 @@ </table> <br /> <div class="centre"> - <input type=submit name="PrintPDF" value="' . _('Print PDF') . '"> + <input type="submit" name="PrintPDF" value="' . _('Print PDF') . '"> </div>'; include('includes/footer.inc'); Modified: trunk/MRPShortages.php =================================================================== --- trunk/MRPShortages.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/MRPShortages.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -299,7 +299,7 @@ echo '</table> <br /> <div class="centre"> - <input type=submit name="PrintPDF" value="' . _('Print PDF') . '"> + <input type="submit" name="PrintPDF" value="' . _('Print PDF') . '"> </div>'; include('includes/footer.inc'); Modified: trunk/OffersReceived.php =================================================================== --- trunk/OffersReceived.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/OffersReceived.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -38,8 +38,8 @@ if (DB_num_rows($result)==0) { prnMsg(_('There are no offers outstanding that you are authorised to deal with'), 'information'); } else { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . - _('Select Supplier') . '" alt="" />' . ' ' . _('Select Supplier') . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Select Supplier') . '" alt="" /> + ' . ' ' . _('Select Supplier') . '</p>'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> @@ -53,7 +53,7 @@ </tr> <tr><td colspan="12"> <div class="centre"> - <input type=submit name=select value=' . _('Enter Information') . '> + <input type="submit" name="select" value="' . _('Enter Information') . '" /> </div> </td> </tr> @@ -140,7 +140,7 @@ echo '<tr> <td colspan="12"> <div class="centre"> - <input type="submit" name="submit" value=' . _('Enter Information') . '> + <input type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> </td> </tr> Modified: trunk/OutstandingGRNs.php =================================================================== --- trunk/OutstandingGRNs.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/OutstandingGRNs.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -175,7 +175,7 @@ </table> <br /> <div class="centre"> - <input type=Submit Name="PrintPDF" value="' . _('Print PDF') . '" /> + <input type="submit" Name="PrintPDF" value="' . _('Print PDF') . '" /> </div>'; include('includes/footer.inc'); Modified: trunk/PDFChequeListing.php =================================================================== --- trunk/PDFChequeListing.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PDFChequeListing.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -66,7 +66,7 @@ </table> <br /> <div class="centre"> - <input type=submit name="Go" value="' . _('Create PDF') . '"> + <input type="submit" name="Go" value="' . _('Create PDF') . '"> </div>'; include('includes/footer.inc'); Modified: trunk/PDFCustomerList.php =================================================================== --- trunk/PDFCustomerList.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PDFCustomerList.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -414,7 +414,7 @@ echo '</table> <br /> <div class="centre"> - <input type=Submit Name="PrintPDF" value="'. _('Print PDF'). '"> + <input type="submit" Name="PrintPDF" value="'. _('Print PDF'). '"> </div>'; include('includes/footer.inc'); Modified: trunk/PDFOrderStatus.php =================================================================== --- trunk/PDFOrderStatus.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PDFOrderStatus.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -70,7 +70,7 @@ </table> <br /> <div class="centre"> - <input type=submit name="Go" value="' . _('Create PDF') . '"> + <input type="submit" name="Go" value="' . _('Create PDF') . '"> </div>'; include('includes/footer.inc'); Modified: trunk/PDFPriceList.php =================================================================== --- trunk/PDFPriceList.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PDFPriceList.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -306,7 +306,7 @@ echo '<td><input type="text" size="11" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="EffectiveDate" value="' . Date($_SESSION['DefaultDateFormat']) . '" />'; echo '</td></tr>'; - echo '</table><br /><div class="centre"><input type=Submit Name="PrintPDF" Value="'. _('Print PDF'). '"></div>'; + echo '</table><br /><div class="centre"><input type="submit" Name="PrintPDF" Value="'. _('Print PDF'). '"></div>'; } include('includes/footer.inc'); Modified: trunk/PDFRemittanceAdvice.php =================================================================== --- trunk/PDFRemittanceAdvice.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PDFRemittanceAdvice.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -167,7 +167,7 @@ echo '</table> <div class="centre"> - <input type=Submit Name="PrintPDF" Value="' . _('Print PDF') . '"> + <input type="submit" Name="PrintPDF" Value="' . _('Print PDF') . '"> </div>'; include ('includes/footer.inc'); Modified: trunk/PO_AuthorisationLevels.php =================================================================== --- trunk/PO_AuthorisationLevels.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PO_AuthorisationLevels.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -209,7 +209,7 @@ <td>'._('Currency').'</td> <td>' . $myrow['currency'] . '</td> </tr>'; - echo '<input type=hidden name="CurrCode" value="'.$Currency.'"'; + echo '<input type="hidden" name="CurrCode" value="'.$Currency.'"'; } else { echo '<tr><td>'._('Currency').'</td><td><select name="CurrCode">'; $currencysql="SELECT currabrev,currency FROM currencies"; @@ -226,16 +226,16 @@ echo '<tr><td>'._('User can create orders').'</td>'; if ($CanCreate==1) { - echo '<td><input type=checkbox name="CanCreate"></td></tr>'; + echo '<td><input type="checkbox" name="CanCreate"></td></tr>'; } else { - echo '<td><input type=checkbox checked name="CanCreate"></td></tr>'; + echo '<td><input type="checkbox" checked name="CanCreate"></td></tr>'; } echo '<tr><td>'._('User can release invoices').'</td>'; if ($OffHold==1) { - echo '<td><input type=checkbox name="OffHold"></td></tr>'; + echo '<td><input type="checkbox" name="OffHold"></td></tr>'; } else { - echo '<td><input type=checkbox checked name="OffHold"></td></tr>'; + echo '<td><input type="checkbox" checked name="OffHold"></td></tr>'; } echo '<tr><td>'._('User can authorise orders up to :').'</td>'; @@ -243,9 +243,9 @@ echo '</table>'; if (isset($_GET['Edit'])) { - echo '<br /><div class="centre"><input type=submit name="Update" value="'._('Update Information').'"></div></form>'; + echo '<br /><div class="centre"><input type="submit" name="Update" value="'._('Update Information').'"></div></form>'; } else { - echo '<br /><div class="centre"><input type=submit name="Submit" value="'._('Enter Information').'"></div></form>'; + echo '<br /><div class="centre"><input type="submit" name="Submit" value="'._('Enter Information').'"></div></form>'; } include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/PO_Header.php =================================================================== --- trunk/PO_Header.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PO_Header.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -782,7 +782,7 @@ <option selected value="0">' . _('No') . '</option> <option value="1">' . _('Yes') . '</option> </select></td>'; - echo '<td><input type=submit name="AllowRePrint" value="Update"></td></tr>'; + echo '<td><input type="submit" name="AllowRePrint" value="Update"></td></tr>'; } elseif ($Printed) { echo '<tr><td colspan=2><a target="_blank" href="' . $rootpath . '/PO_PDFPurchOrder.php?OrderNo=' . $_SESSION['ExistingOrder'] . '&identifier='.$identifier. '">' . _('Reprint Now') . '</a></td></tr>'; } Modified: trunk/PO_Items.php =================================================================== --- trunk/PO_Items.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PO_Items.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -768,7 +768,7 @@ <td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ReqDelDate" size=11 value="'.$_SESSION['PO'.$identifier]->DeliveryDate .'" /></td></tr>'; echo '</table>'; echo '<div class="centre"> - <input type=submit name="EnterLine" value="Enter Item" /> + <input type="submit" name="EnterLine" value="Enter Item" /> </div>'; } Modified: trunk/PO_PDFPurchOrder.php =================================================================== --- trunk/PO_PDFPurchOrder.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PO_PDFPurchOrder.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -351,10 +351,10 @@ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if ($ViewingOnly==1){ - echo '<input type=hidden name="ViewingOnly" value=1>'; + echo '<input type="hidden" name="ViewingOnly" value=1>'; } echo '<br /><br />'; - echo '<input type=hidden name="OrderNo" value="'. $OrderNo. '">'; + echo '<input type="hidden" name="OrderNo" value="'. $OrderNo. '">'; echo '<table> <tr> <td>'. _('Print or Email the Order'). '</td> Modified: trunk/PO_SelectOSPurchOrder.php =================================================================== --- trunk/PO_SelectOSPurchOrder.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PO_SelectOSPurchOrder.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -222,7 +222,7 @@ echo '<table> <tr> <td><input type="submit" name="SearchParts" value="' . _('Search Parts Now') . '" /> - <input type=submit name="ResetPart" value="' . _('Show All') . '" /></td> + <input type="submit" name="ResetPart" value="' . _('Show All') . '" /></td> </tr> </table>'; Modified: trunk/PaymentTerms.php =================================================================== --- trunk/PaymentTerms.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PaymentTerms.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -247,8 +247,8 @@ $DaysBeforeDue = $myrow['daysbeforedue']; $DayInFollowingMonth = $myrow['dayinfollowingmonth']; - echo '<input type=hidden name="SelectedTerms" value="' . $SelectedTerms . '" />'; - echo '<input type=hidden name="TermsIndicator" value="' . $_POST['TermsIndicator'] . '" />'; + echo '<input type="hidden" name="SelectedTerms" value="' . $SelectedTerms . '" />'; + echo '<input type="hidden" name="TermsIndicator" value="' . $_POST['TermsIndicator'] . '" />'; echo '<br /> <table class="selection">'; echo '<tr> Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/Payments.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -1034,8 +1034,8 @@ echo '</table><br />'; echo '<div class="centre"> - <input type=submit name="Process" value="' . _('Accept') . '" /> - <input type=submit name="Cancel" value="' . _('Cancel') . '" /> + <input type="submit" name="Process" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /> </div>'; if (sizeOf($_SESSION['PaymentDetail']->GLItems)>0) { @@ -1102,7 +1102,7 @@ echo '<input type="hidden" name="Discount" Value="0" />'; } echo '</table><br />'; - echo '<input type=submit name="CommitBatch" value="' . _('Accept and Process Payment') . '" />'; + echo '<input type="submit" name="CommitBatch" value="' . _('Accept and Process Payment') . '" />'; } echo '</form>'; Modified: trunk/PcAssignCashToTab.php =================================================================== --- trunk/PcAssignCashToTab.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PcAssignCashToTab.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -214,7 +214,7 @@ echo '<tr><th colspan="8">' . _('Detail Of PC Tab Movements For Last') .': '; echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; echo '<input type="text" class="number" name="Days" value="' . $Days . '" maxlength="3" size="4" /> ' . _('Days'); - echo '<input type=submit name="Go" value="' . _('Go') . '" />'; + echo '<input type="submit" name="Go" value="' . _('Go') . '" />'; echo '</th></tr></form>'; echo '<tr> <th>' . _('Date') . '</th> @@ -322,9 +322,9 @@ $_POST['Receipt'] = $myrow['receipt']; echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; - echo '<input type=hidden name="SelectedIndex" value="' . $SelectedIndex. '" />'; - echo '<input type=hidden name="CurrentAmount" value="' . $Amount[0]. '" />'; - echo '<input type=hidden name="Days" value="' . $Days . '" />'; + echo '<input type="hidden" name="SelectedIndex" value="' . $SelectedIndex. '" />'; + echo '<input type="hidden" name="CurrentAmount" value="' . $Amount[0]. '" />'; + echo '<input type="hidden" name="Days" value="' . $Days . '" />'; } /* Ricard: needs revision of this date initialization */ @@ -362,9 +362,9 @@ <td><input type="text" name="Receipt" size="50" maxlength="49" value="' . $_POST['Receipt'] . '" /></td> </tr>'; - echo '<input type=hidden name="CurrentAmount" value="' . $Amount['0']. '" />'; - echo '<input type=hidden name="SelectedTabs" value="' . $SelectedTabs . '" />'; - echo '<input type=hidden name="Days" value="' .$Days. '" />'; + echo '<input type="hidden" name="CurrentAmount" value="' . $Amount['0']. '" />'; + echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; + echo '<input type="hidden" name="Days" value="' .$Days. '" />'; echo '</td></tr></table>'; // close main table Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PcAuthorizeExpenses.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -319,7 +319,7 @@ echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type=submit name="Process" value="' . _('Accept') . '"> + echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"> <input type="submit" name="Cancel" value="' . _('Cancel') . '"></div>'; echo '</form>'; Modified: trunk/PcExpenses.php =================================================================== --- trunk/PcExpenses.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PcExpenses.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -264,8 +264,8 @@ $_POST['GLAccount'] = $myrow['glaccount']; $_POST['Tag'] = $myrow['tag']; - echo '<input type=hidden name="SelectedExpense" value="' . $SelectedExpense . '">'; - echo '<input type=hidden name="CodeExpense" VALUE="' . $_POST['CodeExpense']. '">'; + echo '<input type="hidden" name="SelectedExpense" value="' . $SelectedExpense . '">'; + echo '<input type="hidden" name="CodeExpense" VALUE="' . $_POST['CodeExpense']. '">'; // We dont allow the user to change an existing type code echo '<table class="selection"> <tr> Modified: trunk/PcExpensesTypeTab.php =================================================================== --- trunk/PcExpensesTypeTab.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PcExpensesTypeTab.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -224,8 +224,8 @@ echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type=submit name=submit value="' . _('Accept') . '"> - <input type=submit name="Cancel" value="' . _('Cancel') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '"> + <input type="submit" name="Cancel" value="' . _('Cancel') . '"></div>'; echo '</form>'; Modified: trunk/PcReportTab.php =================================================================== --- trunk/PcReportTab.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PcReportTab.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -236,7 +236,7 @@ echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="FromDate" VALUE="' . $_POST['FromDate'] . '"> - <input type=hidden name="ToDate" value="' . $_POST['ToDate'] . '">'; + <input type="hidden" name="ToDate" value="' . $_POST['ToDate'] . '">'; $SqlTabs = "SELECT * FROM pctabs WHERE tabcode='".$SelectedTabs."'"; @@ -396,7 +396,7 @@ $Amount[0]=0; } - echo '<tr><td colspan=2 style=text-align:right >' . _('Balance At') . ' '.$_POST['ToDate'].':</td> + echo '<tr><td colspan=2 style="text"-align:right >' . _('Balance At') . ' '.$_POST['ToDate'].':</td> <td>'.locale_number_format($Amount[0],$_SESSION['CompanyRecord']['decimalplaces']).' </td><td>'.$Tabs['currency'].'</td></tr>'; echo '</table>'; Modified: trunk/PcTabs.php =================================================================== --- trunk/PcTabs.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PcTabs.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -5,8 +5,7 @@ $title = _('Maintenance Of Petty Cash Tabs'); include('includes/header.inc'); -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Payment Entry') - . '" alt="" />' . ' ' . $title . '</p>'; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Payment Entry') . '" alt="" />' . ' ' . $title . '</p>'; if (isset($_POST['SelectedTab'])){ $SelectedTab = mb_strtoupper($_POST['SelectedTab']); @@ -282,8 +281,8 @@ $_POST['GLAccountPcashTab'] = $myrow['glaccountpcash']; - echo '<input type=hidden name="SelectedTab" value="' . $SelectedTab . '">'; - echo '<input type=hidden name="TabCode" value="' . $_POST['TabCode']. '">'; + echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '" />'; + echo '<input type="hidden" name="TabCode" value="' . $_POST['TabCode']. '" />'; echo '<table class="selection"> <tr> <td>' . _('Tab Code') . ':</td> @@ -293,7 +292,7 @@ // This is a new type so the user may volunteer a type code echo '<table class="selection"> <tr><td>' . _('Tab Code') . ':</td> - <td><input type="Text"' . (in_array('TypeTabCode',$Errors) ? 'class="inputerror"' : '' ) .' name="TabCode"></td></tr>'; + <td><input type="text"' . (in_array('TypeTabCode',$Errors) ? 'class="inputerror"' : '' ) .' name="TabCode" /></td></tr>'; } @@ -463,7 +462,7 @@ echo '</select></td></tr>'; echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type=submit name="Submit" value="' . _('Accept') . '" /><input type="submit" name="Cancel" value="' . _('Cancel') . '" /></div>'; + echo '<p><div class="centre"><input type="submit" name="Submit" value="' . _('Accept') . '" /><input type="submit" name="Cancel" value="' . _('Cancel') . '" /></div>'; echo '</form>'; Modified: trunk/PcTypeTabs.php =================================================================== --- trunk/PcTypeTabs.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/PcTypeTabs.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -123,7 +123,7 @@ echo '<br />'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><div class="centre"><input type=submit name=return value="' . _('Return to list of tab types') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name=return value="' . _('Return to list of tab types') . '"></div>'; echo '</form>'; include('includes/footer.inc'); exit; @@ -233,7 +233,7 @@ echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type=submit name=submit value="' . _('Accept') . '"><input type=submit name="Cancel" VALUE="' . _('Cancel') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '"><input type="submit" name="Cancel" VALUE="' . _('Cancel') . '"></div>'; echo '</form>'; Modified: trunk/Prices.php =================================================================== --- trunk/Prices.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/Prices.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -214,8 +214,8 @@ <th colspan="7"> <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />' . _('Pricing for part') . ': - <input type="text" name="Item" size="22" value="' . $Item . '" maxlength="20"> - <input type=submit name="NewPart" value="' . _('Review Prices') . '"></th> + <input type="text" name="Item" size="22" value="' . $Item . '" maxlength="20" /> + <input type="submit" name="NewPart" value="' . _('Review Prices') . '" /></th> </tr> </form>'; @@ -269,10 +269,10 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($_GET['Edit'])){ - echo '<input type="hidden" name="OldTypeAbbrev" value="' . $_GET['TypeAbbrev'] .'">'; - echo '<input type="hidden" name="OldCurrAbrev" value="' . $_GET['CurrAbrev'] . '">'; - echo '<input type="hidden" name="OldStartDate" value="' . $_GET['StartDate'] . '">'; - echo '<input type="hidden" name="OldEndDate" value="' . $_GET['EndDate'] . '">'; + echo '<input type="hidden" name="OldTypeAbbrev" value="' . $_GET['TypeAbbrev'] .'" />'; + echo '<input type="hidden" name="OldCurrAbrev" value="' . $_GET['CurrAbrev'] . '" />'; + echo '<input type="hidden" name="OldStartDate" value="' . $_GET['StartDate'] . '" />'; + echo '<input type="hidden" name="OldEndDate" value="' . $_GET['EndDate'] . '" />'; $_POST['CurrAbrev'] = $_GET['CurrAbrev']; $_POST['TypeAbbrev'] = $_GET['TypeAbbrev']; /*the price sent with the get is sql format price so no need to filter */ @@ -332,32 +332,24 @@ $_POST['EndDate'] = ''; } echo '<tr><td>' . _('Price Effective From Date') . ':</td> - <td><input type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="StartDate" size=10 maxlength=10 value="' . $_POST['StartDate'] . '"></td></tr>'; + <td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="StartDate" size="10" maxlength="10" value="' . $_POST['StartDate'] . '" /></td></tr>'; echo '<tr><td>' . _('Price Effective To Date') . ':</td> - <td><input type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="EndDate" size=10 maxlength=10 value="' . $_POST['EndDate'] . '"></td></tr>'; + <td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="EndDate" size="10" maxlength="10" value="' . $_POST['EndDate'] . '" /></td></tr>'; echo '<input type="hidden" name="Item" value="' . $Item.'" />'; - ?> - - - <tr><td><?php echo _('Price'); ?>:</td> - <td> - <input type="text" class="number" name="Price" size=12 maxlength=11 value= - "<?php - if(isset($_POST['Price'])) { - echo $_POST['Price']; - } - ?>" /> - - </td></tr> - + echo '<tr><td>' . _('Price') . ':</td> + <td> + <input type="text" class="number" name="Price" size="12" maxlength="11" value='; + if (isset($_POST['Price'])) { + echo $_POST['Price']; + } + echo '" /> + </td></tr> </table> <br /><div class="centre"> - <input type="submit" name="submit" value="<?php echo _('Enter') . '/' . _('Amend Price'); ?>"> - </div> + <input type="submit" name="submit" value="' . _('Enter') . '/' . _('Amend Price') . '"> + </div>'; +} -<?php - } - echo '</form>'; include('includes/footer.inc'); Modified: trunk/RecurringSalesOrders.php =================================================================== --- trunk/RecurringSalesOrders.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/RecurringSalesOrders.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -501,7 +501,7 @@ echo '<input type="submit" name="Process" value="' . _('Update Recurring Order Details') . '" />'; echo '<hr>'; - echo '<br /><br /><input type=submit name="DeleteRecurringOrder" value="' . _('Delete Recurring Order') . ' ' . $_POST['ExistingRecurrOrderNo'] . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this recurring order template?') . '\');" />'; + echo '<br /><br /><input type="submit" name="DeleteRecurringOrder" value="' . _('Delete Recurring Order') . ' ' . $_POST['ExistingRecurrOrderNo'] . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this recurring order template?') . '\');" />'; } echo '</form></div>'; Modified: trunk/ReorderLevel.php =================================================================== --- trunk/ReorderLevel.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/ReorderLevel.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -225,7 +225,7 @@ echo '</table> <br /> <div class="centre"> - <input type=submit name="PrintPDF" value="' . _('Print PDF') . '" /> + <input type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /> </div>'; include('includes/footer.inc'); Modified: trunk/SalesAnalReptCols.php =================================================================== --- trunk/SalesAnalReptCols.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/SalesAnalReptCols.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -337,7 +337,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="ReportHeading" value="'.$ReportHeading.'" />'; - echo '<input type=hidden name="ReportID" value="' . $ReportID . '" />'; + echo '<input type="hidden" name="ReportID" value="' . $ReportID . '" />'; if (isset($SelectedCol)) { //editing an existing Column @@ -382,7 +382,7 @@ $_POST['BudgetOrActual']=$myrow['budgetoractual']; $_POST['ValFormat']=$myrow['valformat']; - echo '<input type=hidden name="SelectedCol" value="' . $SelectedCol . '" />'; + echo '<input type="hidden" name="SelectedCol" value="' . $SelectedCol . '" />'; echo '<table class="selection">'; } else { @@ -477,11 +477,11 @@ } echo '</select></td> </tr>'; - echo '<input type=hidden name="ValFormat" value="N" /> - <input type=hidden name="ColNumerator" value="0" /> - <input type=hidden name="ColDenominator" value="0" /> - <input type=hidden name="CalcOperator" value="" /> - <input type=hidden name="Constant" value="0" />'; + echo '<input type="hidden" name="ValFormat" value="N" /> + <input type="hidden" name="ColNumerator" value="0" /> + <input type="hidden" name="ColDenominator" value="0" /> + <input type="hidden" name="CalcOperator" value="" /> + <input type="hidden" name="Constant" value="0" />'; } else { /*it IS a calculated column */ @@ -539,10 +539,10 @@ echo '<option selected value="P">' . _('Percentage') . '</option>'; } echo '</select></td></tr> - <input type=hidden name="BudgetOrActual" value="0" /> - <input type=hidden name="DataType" value="" /> - <input type=hidden name="PeriodFrom" value="0" /> - <input type=hidden name="PeriodTo" value="0" />'; + <input type="hidden" name="BudgetOrActual" value="0" /> + <input type="hidden" name="DataType" value="" /> + <input type="hidden" name="PeriodFrom" value="0" /> + <input type="hidden" name="PeriodTo" value="0" />'; } echo '</table>'; Modified: trunk/SalesCategories.php =================================================================== --- trunk/SalesCategories.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/SalesCategories.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -301,8 +301,8 @@ $_POST['ParentCategory'] = $myrow['parentcatid']; $_POST['SalesCatName'] = $myrow['salescatname']; - echo '<input type=hidden name="SelectedCategory" value="' . $SelectedCategory . '">'; - echo '<input type=hidden name="ParentCategory" value="' . (isset($_POST['ParentCatId'])?($_POST['ParentCategory']):('0')) . '">'; + echo '<input type="hidden" name="SelectedCategory" value="' . $SelectedCategory . '">'; + echo '<input type="hidden" name="ParentCategory" value="' . (isset($_POST['ParentCatId'])?($_POST['ParentCategory']):('0')) . '">'; $FormCaps = _('Edit Sub Category'); } else { //end of if $SelectedCategory only do the else when a new record is being entered @@ -310,7 +310,7 @@ if (isset($ParentCategory)) { $_POST['ParentCategory'] = $ParentCategory; } - echo '<input type=hidden name="ParentCategory" value="' . + echo '<input type="hidden" name="ParentCategory" value="' . (isset($_POST['ParentCategory'])?($_POST['ParentCategory']):('0')) . '">'; $FormCaps = _('New Sub Category'); } @@ -369,9 +369,9 @@ echo '<p><form enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if( isset($SelectedCategory) ) { // If we selected a category we need to keep it selected - echo '<input type=hidden name="SelectedCategory" value="' . $SelectedCategory . '" />'; + echo '<input type="hidden" name="SelectedCategory" value="' . $SelectedCategory . '" />'; } - echo '<input type=hidden name="ParentCategory" value="' . + echo '<input type="hidden" name="ParentCategory" value="' . (isset($_POST['ParentCategory'])?($_POST['ParentCategory']):('0')) . '" /> '; Modified: trunk/SalesGraph.php =================================================================== --- trunk/SalesGraph.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/SalesGraph.php 2012-01-22 02:57:49 UTC (rev 4830) @@ -179,8 +179,8 @@ <input type="radio"" name="GraphOn" value="All" CHECKED>' . _('All') . '<br /> <input type="radio"" name="GraphOn" value="Customer">' . _('Customer') . '<br /> <input type="radio"" name="GraphOn" value="StockID">' . _('Item Code') . '</td></tr>'; - echo '<tr><td>' . _('From:') . ' <input type=TEXT name="ValueFrom" value=' . $_POST['ValueFrom'] . '></td> - <td>' . _('To:') . ' <input type=TEXT name="ValueTo" value=' . $_POST['ValueTo'] . '></td></tr>'; + echo '<tr><td>' . _('From:') . ' <input type="text" name="ValueFrom" value=' . $_POST['ValueFrom'] . '></td> + <td>' . _('To:') . ' <input type="text" name="ValueTo" value=' . $_POST['ValueTo'] . '></td></tr>'; echo '<tr><td>' . _('Graph Value:') . '</td><td> <input type="radio"" name="GraphValue" value="Net" CHECKED>' . _('Net Sales Value') . '<br /> Modified: trunk/SalesPeople.php =================================================================== --- trunk/SalesPeople.php 2012-01-22 00:19:38 UTC (rev 4829) +++ trunk/SalesPeople.php 2012-01-22... [truncated message content] |