From: <vv...@us...> - 2012-01-24 23:41:56
|
Revision: 4837 http://web-erp.svn.sourceforge.net/web-erp/?rev=4837&view=rev Author: vvs2012 Date: 2012-01-24 23:41:46 +0000 (Tue, 24 Jan 2012) Log Message: ----------- Added quotes to attributes in multiple files and changed option selected to selected="selected". Modified Paths: -------------- trunk/AccountGroups.php trunk/AgedDebtors.php trunk/AgedSuppliers.php trunk/Areas.php trunk/AuditTrail.php trunk/BOMExtendedQty.php trunk/BOMIndented.php trunk/BOMIndentedReverse.php trunk/BOMs.php trunk/BankAccounts.php trunk/BankMatching.php trunk/BankReconciliation.php trunk/COGSGLPostings.php trunk/CompanyPreferences.php trunk/ConfirmDispatch_Invoice.php trunk/ContractBOM.php trunk/Contracts.php trunk/CounterSales.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/CustEDISetup.php trunk/CustLoginSetup.php trunk/CustWhereAlloc.php trunk/CustomerAllocations.php trunk/CustomerBranches.php trunk/CustomerReceipt.php trunk/CustomerTransInquiry.php trunk/CustomerTypes.php trunk/Customers.php trunk/DailyBankTransactions.php trunk/DailySalesInquiry.php trunk/DebtorsAtPeriodEnd.php trunk/DeliveryDetails.php trunk/DiscountCategories.php trunk/DiscountMatrix.php trunk/EDIMessageFormat.php trunk/ExchangeRateTrend.php trunk/FixedAssetCategories.php trunk/FixedAssetItems.php trunk/FixedAssetLocations.php trunk/FixedAssetRegister.php trunk/FixedAssetTransfer.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLAccountCSV.php trunk/GLAccountInquiry.php trunk/GLAccountReport.php trunk/GLAccounts.php trunk/GLBalanceSheet.php trunk/GLBudgets.php trunk/GLJournal.php trunk/GLProfit_Loss.php trunk/GLTagProfit_Loss.php trunk/GLTrialBalance.php trunk/GeocodeSetup.php trunk/GoodsReceivedControlled.php trunk/InventoryPlanning.php trunk/InventoryPlanningPrefSupplier.php trunk/InventoryQuantities.php trunk/InventoryValuation.php trunk/Locations.php trunk/MRPCreateDemands.php trunk/MRPDemands.php trunk/MRPPlannedPurchaseOrders.php trunk/MRPPlannedWorkOrders.php trunk/MRPReport.php trunk/MRPReschedules.php trunk/MRPShortages.php trunk/PDFChequeListing.php trunk/PDFCustomerList.php trunk/PDFDIFOT.php trunk/PDFDeliveryDifferences.php trunk/PDFOrderStatus.php trunk/PDFOrdersInvoiced.php trunk/PDFPeriodStockTransListing.php trunk/PDFPickingList.php trunk/PDFPriceList.php trunk/PDFPrintLabel.php trunk/PDFStockCheckComparison.php trunk/POReport.php trunk/PO_AuthorisationLevels.php trunk/PO_AuthoriseMyOrders.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_PDFPurchOrder.php trunk/PO_SelectOSPurchOrder.php trunk/PO_SelectPurchOrder.php trunk/PageSecurity.php trunk/PaymentMethods.php trunk/Payments.php trunk/PcAssignCashToTab.php trunk/PcAuthorizeExpenses.php trunk/PcClaimExpensesFromTab.php trunk/PcExpenses.php trunk/PcExpensesTypeTab.php trunk/PcReportTab.php trunk/PcTabs.php trunk/Prices.php trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/Prices_Customer.php trunk/PrintCustOrder.php trunk/PrintCustOrder_generic.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/PurchData.php trunk/RecurringSalesOrders.php trunk/ReorderLevel.php trunk/SMTPServer.php trunk/SalesAnalReptCols.php trunk/SalesAnalRepts.php trunk/SalesCategories.php trunk/SalesGLPostings.php trunk/SalesGraph.php trunk/SalesInquiry.php trunk/SalesPeople.php trunk/SelectAsset.php trunk/SelectCompletedOrder.php trunk/SelectContract.php trunk/SelectCreditItems.php trunk/SelectCustomer.php trunk/SelectOrderItems.php trunk/SelectProduct.php trunk/SelectRecurringSalesOrder.php trunk/SelectSalesOrder.php trunk/SelectWorkOrder.php trunk/ShipmentCosting.php trunk/Shipments.php trunk/Shipt_Select.php trunk/SpecialOrder.php trunk/StockAdjustments.php trunk/StockCategories.php trunk/StockCheck.php trunk/StockCounts.php trunk/StockDispatch.php trunk/StockLocMovements.php trunk/StockLocStatus.php trunk/StockLocTransfer.php trunk/StockLocTransferReceive.php trunk/StockMovements.php trunk/StockQties_csv.php trunk/StockQuantityByDate.php trunk/StockTransfers.php trunk/StockUsage.php trunk/Stocks.php trunk/SuppContractChgs.php trunk/SuppFixedAssetChgs.php trunk/SuppLoginSetup.php trunk/SuppPaymentRun.php trunk/SuppPriceList.php trunk/SuppShiptChgs.php trunk/SuppTransGLAnalysis.php trunk/SupplierBalsAtPeriodEnd.php trunk/SupplierCredit.php trunk/SupplierInvoice.php trunk/SupplierTenderCreate.php trunk/SupplierTenders.php trunk/SupplierTransInquiry.php trunk/Suppliers.php trunk/SystemParameters.php trunk/Tax.php trunk/TaxAuthorities.php trunk/TaxGroups.php trunk/UpgradeDatabase.php trunk/UserSettings.php trunk/WWW_Users.php trunk/WorkCentres.php trunk/WorkOrderCosting.php trunk/WorkOrderEntry.php trunk/WorkOrderIssue.php trunk/WorkOrderReceive.php trunk/Z_ImportStocks.php trunk/Z_MakeNewCompany.php trunk/Z_ReApplyCostToSA.php trunk/Z_RePostGLFromPeriod.php trunk/Z_UpdateChartDetailsBFwd.php trunk/Z_Upgrade_3.10-3.11.php trunk/Z_Upgrade_3.11-4.00.php trunk/Z_UploadForm.php trunk/Z_poAddLanguage.php trunk/Z_poEditLangHeader.php trunk/Z_poRebuildDefault.php trunk/doc/Change.log Modified: trunk/AccountGroups.php =================================================================== --- trunk/AccountGroups.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/AccountGroups.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -339,7 +339,7 @@ $sql = "SELECT groupname FROM accountgroups"; $groupresult = DB_query($sql, $db,$ErrMsg,$DbgMsg); if (!isset($_POST['ParentGroupName'])){ - echo '<option selected value="">' ._('Top Level Group').'</option>'; + echo '<option selected="selected" value="">' ._('Top Level Group').'</option>'; } else { echo '<option value="">' ._('Top Level Group').'</option>'; } Modified: trunk/AgedDebtors.php =================================================================== --- trunk/AgedDebtors.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/AgedDebtors.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -467,7 +467,7 @@ <tr> <td>' . _('All balances or overdues only') . ':' . '</td> <td><select tabindex="3" name="All_Or_Overdues"> - <option selected value="All">' . _('All customers with balances') . '</option> + <option selected="selected" value="All">' . _('All customers with balances') . '</option> <option value="OverduesOnly">' . _('Overdue accounts only') . '</option> <option value="HeldOnly">' . _('Held accounts only') . '</option> </select> @@ -495,7 +495,7 @@ $result=DB_query($sql,$db); while ($myrow=DB_fetch_array($result)){ if ($myrow['currabrev'] == $_SESSION['CompanyRecord']['currencydefault']){ - echo '<option selected value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } else { echo '<option value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } @@ -505,7 +505,7 @@ <tr> <td>' . _('Summary or detailed report') . ':' . '</td> <td><select tabindex="6" name="DetailedReport"> - <option selected value="No">' . _('Summary Report') . '</option> + <option selected="selected" value="No">' . _('Summary Report') . '</option> <option value="Yes">' . _('Detailed Report') . '</option> </select> </td> Modified: trunk/AgedSuppliers.php =================================================================== --- trunk/AgedSuppliers.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/AgedSuppliers.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -295,7 +295,7 @@ <tr> <td>' . _('All balances or overdues only') . ':' . '</td> <td><select tabindex="3" name="All_Or_Overdues"> - <option selected value="All">' . _('All suppliers with balances') . '</option> + <option selected="selected" value="All">' . _('All suppliers with balances') . '</option> <option value="OverduesOnly">' . _('Overdue accounts only') . '</option> </select></td> </tr> @@ -308,7 +308,7 @@ while ($myrow=DB_fetch_array($result)){ if ($myrow['currabrev'] == $_SESSION['CompanyRecord']['currencydefault']){ - echo '<option selected value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } else { echo '<option value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } @@ -318,7 +318,7 @@ <tr> <td>' . _('Summary or Detailed Report') . ':' . '</td> <td><select tabindex="5" name="DetailedReport"> - <option selected value="No">' . _('Summary Report') . '</option> + <option selected="selected" value="No">' . _('Summary Report') . '</option> <option value="Yes">' . _('Detailed Report') . '</option> </select></td> </tr> Modified: trunk/Areas.php =================================================================== --- trunk/Areas.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/Areas.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -224,7 +224,7 @@ echo '<tr> <td colspan="2"> <div class="centre"> - <input tabindex="3" type="submit" name="submit" value=' . _('Enter Information') .' /> + <input tabindex="3" type="submit" name="submit" value="' . _('Enter Information') .'" /> </div> </td> </tr> Modified: trunk/AuditTrail.php =================================================================== --- trunk/AuditTrail.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/AuditTrail.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -49,7 +49,7 @@ echo '<option value="ALL">' . _('All') . '</option>'; while ($users = DB_fetch_row($UserResult)) { if (isset($_POST['SelectedUser']) and $users[0]==$_POST['SelectedUser']) { - echo '<option selected value="' . $users[0] . '">' . $users[0] . '</option>'; + echo '<option selected="selected" value="' . $users[0] . '">' . $users[0] . '</option>'; } else { echo '<option value="' . $users[0] . '">' . $users[0] . '</option>'; } @@ -62,9 +62,9 @@ echo '<option value="ALL">' . _('All') . '</option>'; while ($tables = DB_fetch_row($TableResult)) { if (isset($_POST['SelectedTable']) and $tables[0]==$_POST['SelectedTable']) { - echo '<option selected value=' . $tables[0] . '>' . $tables[0] . '</option>'; + echo '<option selected="selected" value="' . $tables[0] . '">' . $tables[0] . '</option>'; } else { - echo '<option value=' . $tables[0] . '>' . $tables[0] . '</option>'; + echo '<option value="' . $tables[0] . '">' . $tables[0] . '</option>'; } } echo '</select></td></tr>'; Modified: trunk/BOMExtendedQty.php =================================================================== --- trunk/BOMExtendedQty.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/BOMExtendedQty.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -276,14 +276,14 @@ <tr> <td>' . _('Selection Option') . ':</td> <td><select name="Select"> - <option selected value="All">' . _('Show All Parts') . '</option> + <option selected="selected" value="All">' . _('Show All Parts') . '</option> <option value="Shortages">' . _('Only Show Shortages') . '</option> </select></td> </tr> <tr> <td>' . _('Print Option') . ':</td> <td><select name="Fill"> - <option selected value="yes">' . _('Print With Alternating Highlighted Lines') . '</option> + <option selected="selected" value="yes">' . _('Print With Alternating Highlighted Lines') . '</option> <option value="no">' . _('Plain Print') . '</option> </select></td> </tr> Modified: trunk/BOMIndented.php =================================================================== --- trunk/BOMIndented.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/BOMIndented.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -257,7 +257,7 @@ <tr> <td>' . _('Levels') . ':</td> <td><select name="Levels"> - <option selected value="All">' . _('All Levels') . '</option> + <option selected="selected" value="All">' . _('All Levels') . '</option> <option value="One">' . _('One Level') . '</option> </select> </td> @@ -265,7 +265,7 @@ <tr> <td>' . _('Print Option') . ':</td> <td><select name="Fill"> - <option selected value="yes">' . _('Print With Alternating Highlighted Lines') . '</option> + <option selected="selected" value="yes">' . _('Print With Alternating Highlighted Lines') . '</option> <option value="no">' . _('Plain Print') . '</option> </select> </td> Modified: trunk/BOMIndentedReverse.php =================================================================== --- trunk/BOMIndentedReverse.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/BOMIndentedReverse.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -245,7 +245,7 @@ <tr> <td>' . _('Print Option') . ':</td> <td><select name="Fill"> - <option selected value="yes">' . _('Print With Alternating Highlighted Lines') . '</option> + <option selected="selected" value="yes">' . _('Print With Alternating Highlighted Lines') . '</option> <option value="no">' . _('Plain Print') . '</option> </select></td> </tr> Modified: trunk/BOMs.php =================================================================== --- trunk/BOMs.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/BOMs.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -666,7 +666,7 @@ while ($myrow = DB_fetch_array($result)) { if (isset($_POST['LocCode']) and $myrow['loccode']==$_POST['LocCode']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -694,7 +694,7 @@ while ($myrow = DB_fetch_array($result)) { if (isset($_POST['WorkCentreAdded']) and $myrow['code']==$_POST['WorkCentreAdded']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -742,10 +742,10 @@ $_POST['AutoIssue'] = $_SESSION['AutoIssue']; } if ($_POST['AutoIssue']==0) { - echo '<option selected value="0">' . _('No') . '</option>'; + echo '<option selected="selected" value="0">' . _('No') . '</option>'; echo '<option value="1">' . _('Yes') . '</option>'; } else { - echo '<option selected value="1">' . _('Yes') . '</option>'; + echo '<option selected="selected" value="1">' . _('Yes') . '</option>'; echo '<option value="0">' . _('No') . '</option>'; } Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/BankAccounts.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -298,7 +298,7 @@ $result = DB_query($sql,$db); while ($myrow = DB_fetch_array($result)) { if (isset($_POST['AccountCode']) and $myrow['accountcode']==$_POST['AccountCode']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -343,7 +343,7 @@ while ($myrow = DB_fetch_array($result)) { if ($myrow['currabrev']==$_POST['CurrCode']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -366,15 +366,15 @@ $db); while ($myrow = DB_fetch_array($result)) { if ($myrow['invoice']== 1) { - echo '<option selected value="1">'._('Fall Back Default').'</option> + echo '<option selected="selected" value="1">'._('Fall Back Default').'</option> <option value="2">'._('Currency Default') . '</option> <option value="0">'._('No').'</option>'; } elseif ($myrow['invoice']== 2) { echo '<option value="0">'._('No').'</option> - <option selected value="2">'._('Currency Default') . '</option> + <option selected="selected" value="2">'._('Currency Default') . '</option> <option value="1">'._('Fall Back Default').'</option>'; } else { - echo '<option selected value="0">'._('No').'</option> + echo '<option selected="selected" value="0">'._('No').'</option> <option value="2">'._('Currency Default') . '</option> <option value="1">'._('Fall Back Default').'</option>'; } Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/BankMatching.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -96,7 +96,7 @@ $resultBankActs = DB_query($sql,$db); while ($myrow=DB_fetch_array($resultBankActs)){ if (isset($_POST['BankAccount']) and $myrow['accountcode']==$_POST['BankAccount']){ - echo '<option selected value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname'] . '</option>'; } else { echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname'] . '</option>'; } @@ -124,11 +124,11 @@ <td><select tabindex="4" name="Ostg_or_All">'; if ($_POST['Ostg_or_All']=='All'){ - echo '<option selected value="All">' . _('Show all') . ' ' . $TypeName . ' ' . _('in the date range') . '</option>'; + echo '<option selected="selected" value="All">' . _('Show all') . ' ' . $TypeName . ' ' . _('in the date range') . '</option>'; echo '<option value="Ostdg">' . _('Show unmatched') . ' ' . $TypeName . ' ' . _('only') . '</option>'; } else { echo '<option value="All">' . _('Show all') . ' ' . $TypeName . ' ' . _('in the date range') . '</option>'; - echo '<option selected value="Ostdg">' . _('Show unmatched') . ' ' . $TypeName . ' ' . _('only') . '</option>'; + echo '<option selected="selected" value="Ostdg">' . _('Show unmatched') . ' ' . $TypeName . ' ' . _('only') . '</option>'; } echo '</select></td> </tr>'; @@ -138,11 +138,11 @@ _('or all') . ' ' . $TypeName . ' ' . _('meeting the criteria') . ':</td> <td><select tabindex="5" name="First20_or_All">'; if ($_POST['First20_or_All']=='All'){ - echo '<option selected value="All">' . _('Show all') . ' ' . $TypeName . ' ' . _('in the date range') . '</option>'; + echo '<option selected="selected" value="All">' . _('Show all') . ' ' . $TypeName . ' ' . _('in the date range') . '</option>'; echo '<option value="First20">' . _('Show only the first 20') . ' ' . $TypeName . '</option>'; } else { echo '<option value="All">' . _('Show all') . ' ' . $TypeName . ' ' . _('in the date range') . '</option>'; - echo '<option selected value="First20">' . _('Show only the first 20') . ' ' . $TypeName . '</option>'; + echo '<option selected="selected" value="First20">' . _('Show only the first 20') . ' ' . $TypeName . '</option>'; } echo '</select></td> </tr>'; Modified: trunk/BankReconciliation.php =================================================================== --- trunk/BankReconciliation.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/BankReconciliation.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -115,7 +115,7 @@ while ($myrow=DB_fetch_array($AccountsResults)){ /*list the bank account names */ if (isset($_POST['BankAccount']) and $_POST['BankAccount']==$myrow['accountcode']){ - echo '<option selected value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname'] . '</option>'; } else { echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname'] . '</option>'; } @@ -342,13 +342,13 @@ </tr>'; if (isset($_POST['DoExchangeDifference'])){ - echo '<input type="hidden" name="DoExchangeDifference" value=' . $FXStatementBalance . ' />'; + echo '<input type="hidden" name="DoExchangeDifference" value="' . $FXStatementBalance . '" />'; if (!isset($_POST['BankStatementBalance'])){ $_POST['BankStatementBalance'] =0; } echo '<tr> <td colspan="6">' . _('Enter the actual bank statement balance') . ' (' . $CurrencyRow['currcode'] . ')</b></td> - <td class="number"><input type="text" name="BankStatementBalance" maxlength="15" size="15" value=' . locale_number_format($_POST['BankStatementBalance'],$CurrencyRow['currdecimalplaces']) . ' /><td> + <td class="number"><input type="text" name="BankStatementBalance" maxlength="15" size="15" value="' . locale_number_format($_POST['BankStatementBalance'],$CurrencyRow['currdecimalplaces']) . '" /><td> </tr> <tr> <td colspan="7" align="center"><input type="submit" name="PostExchangeDifference" value="' . _('Calculate and Post Exchange Difference') . '" onclick="return confirm(\'' . _('This will create a general ledger journal to write off the exchange difference in the current balance of the account. It is important that the exchange rate above reflects the current value of the bank account currency') . ' - ' . _('Are You Sure?') . '\');" /></td> Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/COGSGLPostings.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -265,7 +265,7 @@ while ($myrow = DB_fetch_array($result)) { if (isset($_POST['Area']) and $myrow['areacode']==$_POST['Area']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -286,7 +286,7 @@ while ($myrow = DB_fetch_array($result)) { if (isset($_POST['StkCat']) and $myrow['categoryid']==$_POST['StkCat']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -308,7 +308,7 @@ while ($myrow = DB_fetch_array($result)) { if (isset($_POST['SalesType']) and $myrow['typeabbrev']==$_POST['SalesType']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -336,7 +336,7 @@ while ($myrow = DB_fetch_array($result)) { if (isset($_POST['GLCode']) and $myrow['accountcode']==$_POST['GLCode']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } Modified: trunk/CompanyPreferences.php =================================================================== --- trunk/CompanyPreferences.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CompanyPreferences.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -288,7 +288,7 @@ while ($myrow = DB_fetch_array($result)) { if ($_POST['CurrencyDefault']==$myrow['currabrev']){ - echo '<option selected value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; + echo '<option selected="selected" value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } else { echo '<option value="' . $myrow['currabrev'] . '">' . $myrow['currency']. '</option>'; } @@ -313,7 +313,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['DebtorsAct']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -330,7 +330,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['CreditorsAct']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="' . $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -347,7 +347,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['PayrollAct']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -364,7 +364,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['GRNAct']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -380,7 +380,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['RetainedEarnings']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -405,7 +405,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['FreightAct']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -422,7 +422,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['ExchangeDiffAct']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -439,7 +439,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['PurchasesExchangeDiffAct']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -456,7 +456,7 @@ while ($myrow = DB_fetch_row($result)) { if ($_POST['PytDiscountAct']==$myrow[0]){ - echo '<option selected value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; + echo '<option selected="selected" value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } else { echo '<option value="'. $myrow[0] . '">' . $myrow[1] . ' ('.$myrow[0].')</option>'; } @@ -472,10 +472,10 @@ <td><select tabindex="23" name="GLLink_Debtors">'; if ($_POST['GLLink_Debtors']==0){ - echo '<option selected value="0">' . _('No') . '</option>'; + echo '<option selected="selected" value="0">' . _('No') . '</option>'; echo '<option value="1">' . _('Yes'). '</option>'; } else { - echo '<option selected value="1">' . _('Yes'). '</option>'; + echo '<option selected="selected" value="1">' . _('Yes'). '</option>'; echo '<option value="0">' . _('No'). '</option>'; } @@ -487,10 +487,10 @@ <td><select tabindex="24" name="GLLink_Creditors">'; if ($_POST['GLLink_Creditors']==0){ - echo '<option selected value="0">' . _('No') . '</option>'; + echo '<option selected="selected" value="0">' . _('No') . '</option>'; echo '<option value="1">' . _('Yes') . '</option>'; } else { - echo '<option selected value="1">' . _('Yes') . '</option>'; + echo '<option selected="selected" value="1">' . _('Yes') . '</option>'; echo '<option value="0">' . _('No') . '</option>'; } @@ -502,10 +502,10 @@ <td><select tabindex="25" name="GLLink_Stock">'; if ($_POST['GLLink_Stock']=='0'){ - echo '<option selected value="0">' . _('No') . '</option>'; + echo '<option selected="selected" value="0">' . _('No') . '</option>'; echo '<option value="1">' . _('Yes') . '</option>'; } else { - echo '<option selected value="1">' . _('Yes') . '</option>'; + echo '<option selected="selected" value="1">' . _('Yes') . '</option>'; echo '<option value="0">' . _('No') . '</option>'; } Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/ConfirmDispatch_Invoice.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -1645,7 +1645,7 @@ $j++; echo '<tr> <td>'._('Action For Balance'). ':</td> - <td><select tabindex='.$j.' name="BOPolicy"><option selected value="BO">'._('Automatically put balance on back order').'</option><option value="CAN">'._('Cancel any quantities not delivered').'</option></select></td> + <td><select tabindex='.$j.' name="BOPolicy"><option selected="selected" value="BO">'._('Automatically put balance on back order').'</option><option value="CAN">'._('Cancel any quantities not delivered').'</option></select></td> </tr>'; $j++; echo '<tr> Modified: trunk/ContractBOM.php =================================================================== --- trunk/ContractBOM.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/ContractBOM.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -296,10 +296,10 @@ <tr></tr> <tr><td><select name="StockCat">'; - echo '<option selected="true" value="All">' . _('All').'</option>'; + echo '<option selected="selected" value="All">' . _('All').'</option>'; while ($myrow1 = DB_fetch_array($result1)) { if (isset($_POST['StockCat']) and $_POST['StockCat']==$myrow1['categoryid']){ - echo '<option selected value="'. $myrow1['categoryid'] . '">' . $myrow1['categorydescription'].'</option>'; + echo '<option selected="selected" value="'. $myrow1['categoryid'] . '">' . $myrow1['categorydescription'].'</option>'; } else { echo '<option value="'. $myrow1['categoryid'] . '">' . $myrow1['categorydescription'].'</option>'; } Modified: trunk/Contracts.php =================================================================== --- trunk/Contracts.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/Contracts.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -852,7 +852,7 @@ while ($myrow=DB_fetch_array($result)){ if (!isset($_SESSION['Contract'.$identifier]->CategoryID) or $myrow['categoryid']==$_SESSION['Contract'.$identifier]->CategoryID){ - echo '<option selected="True" value="'. $myrow['categoryid'] . '">' . $myrow['categorydescription'].'</option>'; + echo '<option selected="selected" value="'. $myrow['categoryid'] . '">' . $myrow['categorydescription'].'</option>'; } else { echo '<option value="'. $myrow['categoryid'] . '">' . $myrow['categorydescription'].'</option>'; } @@ -869,7 +869,7 @@ <td><select name="LocCode" >'; while ($myrow=DB_fetch_array($result)){ if (!isset($_SESSION['Contract'.$identifier]->LocCode) or $myrow['loccode']==$_SESSION['Contract'.$identifier]->LocCode){ - echo '<option selected="True" value="'. $myrow['loccode'] . '">' . $myrow['locationname'] . '</option>'; + echo '<option selected="selected" value="'. $myrow['loccode'] . '">' . $myrow['locationname'] . '</option>'; } else { echo '<option value="'. $myrow['loccode'] . '">' . $myrow['locationname'] . '</option>'; } Modified: trunk/CounterSales.php =================================================================== --- trunk/CounterSales.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CounterSales.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -871,7 +871,7 @@ echo '<tr><td>' . _('Payment Type') . ':</td><td><select name="PaymentMethod">'; while ($PaymentMethodRow = DB_fetch_array($PaymentMethodsResult)){ if (isset($_POST['PaymentMethod']) AND $_POST['PaymentMethod'] == $PaymentMethodRow['paymentid']){ - echo '<option selected="True" value="' . $PaymentMethodRow['paymentid'] . '">' . $PaymentMethodRow['paymentname'] . '</option>'; + echo '<option selected="selected" value="' . $PaymentMethodRow['paymentid'] . '">' . $PaymentMethodRow['paymentname'] . '</option>'; } else { echo '<option value="' . $PaymentMethodRow['paymentid'] . '">' . $PaymentMethodRow['paymentname'] . '</option>'; } @@ -885,7 +885,7 @@ <td><select name="BankAccount">'; while ($BankAccountsRow = DB_fetch_array($BankAccountsResult)){ if (isset($_POST['BankAccount']) AND $_POST['BankAccount'] == $BankAccountsRow['accountcode']){ - echo '<option selected="True" value="' . $BankAccountsRow['accountcode'] . '">' . $BankAccountsRow['bankaccountname'] . '</option>'; + echo '<option selected="selected" value="' . $BankAccountsRow['accountcode'] . '">' . $BankAccountsRow['bankaccountname'] . '</option>'; } else { echo '<option value="' . $BankAccountsRow['accountcode'] . '">' . $BankAccountsRow['bankaccountname'] . '</option>'; } @@ -2149,7 +2149,7 @@ echo '<table class="selection"><tr><td><b>' . _('Select a Stock Category') . ': </b><select tabindex="1" name="StockCat">'; if (!isset($_POST['StockCat'])){ - echo '<option selected="true" value="All">' . _('All').'</option>'; + echo '<option selected="selected" value="All">' . _('All').'</option>'; $_POST['StockCat'] ='All'; } else { echo '<option value="All">' . _('All').'</option>'; @@ -2162,7 +2162,7 @@ $result1 = DB_query($SQL,$db); while ($myrow1 = DB_fetch_array($result1)) { if ($_POST['StockCat']==$myrow1['categoryid']){ - echo '<option selected="true" value="' . $myrow1['categoryid'] . '">' . $myrow1['categorydescription'].'</option>'; + echo '<option selected="selected" value="' . $myrow1['categoryid'] . '">' . $myrow1['categorydescription'].'</option>'; } else { echo '<option value="'. $myrow1['categoryid'] . '">' . $myrow1['categorydescription'].'</option>'; } Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CreditStatus.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -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-23 22:18:42 UTC (rev 4836) +++ trunk/Credit_Invoice.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -1443,17 +1443,17 @@ <td><select tabindex=' . $j .' name="CreditType">'; if (!isset($_POST['CreditType']) OR $_POST['CreditType']=='Return'){ - echo '<option selected value="Return">' . _('Goods returned to store') . '</option>'; + echo '<option selected="selected" value="Return">' . _('Goods returned to store') . '</option>'; echo '<option value="WriteOff">' . _('Goods written off') . '</option>'; echo '<option value="ReverseOverCharge">' . _('Reverse overcharge') . '</option>'; } elseif($_POST['CreditType']=='WriteOff') { - echo '<option selected value="WriteOff">' . _('Goods written off') . '</option>'; + echo '<option selected="selected" value="WriteOff">' . _('Goods written off') . '</option>'; echo '<option value="Return">' . _('Goods returned to store') . '</option>'; echo '<option value="ReverseOverCharge">' . _('Reverse overcharge') . '</option>'; } else { echo '<option value="WriteOff">' . _('Goods written off') . '</option>'; echo '<option value="Return">' . _('Goods returned to store') . '</option>'; - echo '<option selected value="ReverseOverCharge">' . _('Reverse overcharge') . '</option>'; + echo '<option selected="selected" value="ReverseOverCharge">' . _('Reverse overcharge') . '</option>'; } echo '</select></td></tr>'; $j++; @@ -1473,7 +1473,7 @@ while ($myrow = DB_fetch_array($Result)) { if ($_POST['Location']==$myrow['loccode']){ - echo '<option selected value="' . $myrow['loccode'] . '">' . $myrow['locationname'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['loccode'] . '">' . $myrow['locationname'] . '</option>'; } else { echo '<option value="' . $myrow['loccode'] . '">' . $myrow['locationname'] . '</option>'; } @@ -1497,9 +1497,9 @@ while ($myrow = DB_fetch_array($Result)) { if ($_POST['WriteOffGLCode']==$myrow['accountcode']){ - echo '<option selected value=' . $myrow['accountcode'] . '>' . $myrow['accountname']. '</option>'; + echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['accountname']. '</option>'; } else { - echo '<option value=' . $myrow['accountcode'] . '>' . $myrow['accountname'] . '</option>'; + echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['accountname'] . '</option>'; } } echo '</select></td></tr>'; @@ -1509,7 +1509,7 @@ } $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') . ' /><br />'; + 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>'; } Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/Currencies.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -392,7 +392,7 @@ if (!isset($_POST['ExchangeRate'])) { $_POST['ExchangeRate']=''; } - echo '<input ' . (in_array('ExchangeRate',$Errors) ? 'class="inputerror"' : '' ) .' type="text" class="number" name="ExchangeRate" size="10" maxlength="9" value="'. $_POST['ExchangeRate'].'"></td> + echo '<input ' . (in_array('ExchangeRate',$Errors) ? 'class="inputerror"' : '' ) .' type="text" class="number" name="ExchangeRate" size="10" maxlength="9" value="'. $_POST['ExchangeRate'].'" /></td> </tr> </table>'; Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CustEDISetup.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -101,11 +101,11 @@ if ($myrow['ediinvoices']==0){ - echo '<option selected value="0">'._('Disabled') . '</option>'; + echo '<option selected="selected" value="0">'._('Disabled') . '</option>'; echo '<option value="1">'._('Enabled'). '</option>'; } else { echo '<option value="0">'._('Disabled') . '</option>'; - echo '<option selected value="1">'._('Enabled') . '</option>'; + echo '<option selected="selected" value="1">'._('Enabled') . '</option>'; } echo '</select><a href="' . $rootpath . '/EDIMessageFormat.php?MessageType=INVOIC&PartnerCode=' . $_SESSION['CustomerID'] . '">'._('Create') . '/' . _('Edit Invoice Message Format').'</a></td> @@ -116,11 +116,11 @@ if ($myrow['ediorders']==0){ - echo '<option selected value="0">'._('Disabled') . '</option>'; + echo '<option selected="selected" value="0">'._('Disabled') . '</option>'; echo '<option value="1">'._('Enabled') . '</option>'; } else { echo '<option value="0">'._('Disabled') . '</option>'; - echo '<option selected value="1">'._('Enabled') . '</option>'; + echo '<option selected="selected" value="1">'._('Enabled') . '</option>'; } echo '</select></td> @@ -128,24 +128,24 @@ echo '<tr><td>'._('Customer EDI Reference') . ':</td> <td><input ' . (in_array('EDIReference',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=3 type="text" name="EDIReference" size="20" maxlength="20" value="' . $myrow['edireference'] . '"></td></tr>'; + ' tabindex=3 type="text" name="EDIReference" size="20" maxlength="20" value="' . $myrow['edireference'] . '" /></td></tr>'; echo '<tr><td>'._('EDI Communication Method') . ':</td> <td><select tabindex="4" name="EDITransport" >'; if ($myrow['editransport']=='email'){ - echo '<option selected value="email">'._('Email Attachments') . '</option>'; + echo '<option selected="selected" value="email">'._('Email Attachments') . '</option>'; echo '<option value="ftp">'._('File Transfer Protocol (FTP)') . '</option>'; } else { echo '<option value="email">'._('Email Attachments') . '</option>'; - echo '<option selected value="ftp">'._('File Transfer Protocol (FTP)') . '</option>'; + echo '<option selected="selected" value="ftp">'._('File Transfer Protocol (FTP)') . '</option>'; } echo '</select></td></tr>'; echo '<tr><td>'._('FTP Server or Email Address') . ':</td> <td><input ' . (in_array('EDIAddress',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=5 type="text" name="EDIAddress" size="42" maxlength="40" value="' . $myrow['ediaddress'] . '"></td></tr>'; + ' tabindex=5 type="text" name="EDIAddress" size="42" maxlength="40" value="' . $myrow['ediaddress'] . '" /></td></tr>'; if ($myrow['editransport']=='ftp'){ Modified: trunk/CustLoginSetup.php =================================================================== --- trunk/CustLoginSetup.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CustLoginSetup.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -177,7 +177,7 @@ } if (isset($_POST['BranchCode']) and $myrow['branchcode'] == $_POST['BranchCode']){ - echo '<option selected value="' . $myrow['branchcode'] . '">' . $myrow['branchcode'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['branchcode'] . '">' . $myrow['branchcode'] . '</option>'; } else { echo '<option value="' . $myrow['branchcode'] . '">' . $myrow['branchcode'] . '</option>'; } @@ -187,42 +187,42 @@ <td><select name="PageSize">'; if(isset($_POST['PageSize']) and $_POST['PageSize']=='A4'){ - echo '<option selected value="A4">' . _('A4') .'</option>'; + echo '<option selected="selected" value="A4">' . _('A4') .'</option>'; } else { echo '<option value="A4">' . _('A4') . '</option>'; } if(isset($_POST['PageSize']) and $_POST['PageSize']=='A3'){ - echo '<option selected value="A3">' . _('A3') .'</option>'; + echo '<option selected="selected" value="A3">' . _('A3') .'</option>'; } else { echo '<option value="A3">' . _('A3') .'</option>'; } if(isset($_POST['PageSize']) and $_POST['PageSize']=='A3_landscape'){ - echo '<option selected value="A3_landscape">' . _('A3') . ' ' . _('landscape') .'</option>'; + echo '<option selected="selected" value="A3_landscape">' . _('A3') . ' ' . _('landscape') .'</option>'; } else { echo '<option value="A3_landscape">' . _('A3') . ' ' . _('landscape') .'</option>'; } if(isset($_POST['PageSize']) and $_POST['PageSize']=='letter'){ - echo '<option selected value="letter">' . _('Letter') .'</option>'; + echo '<option selected="selected" value="letter">' . _('Letter') .'</option>'; } else { echo '<option value="letter">' . _('Letter') .'</option>'; } if(isset($_POST['PageSize']) and $_POST['PageSize']=='letter_landscape'){ - echo '<option selected value="letter_landscape">' . _('Letter') . ' ' . _('landscape') .'</option>'; + echo '<option selected="selected" value="letter_landscape">' . _('Letter') . ' ' . _('landscape') .'</option>'; } else { echo '<option value="letter_landscape">' . _('Letter') . ' ' . _('landscape') .'</option>'; } if(isset($_POST['PageSize']) and $_POST['PageSize']=='legal'){ - echo '<option selected value="legal">' . _('Legal') .'</option>'; + echo '<option selected="selected" value="legal">' . _('Legal') .'</option>'; } else { echo '<option value="legal">' . _('Legal') .'</option>'; } if(isset($_POST['PageSize']) and $_POST['PageSize']=='legal_landscape'){ - echo '<option selected value="legal_landscape">' . _('Legal') . ' ' . _('landscape') .'</option>'; + echo '<option selected="selected" value="legal_landscape">' . _('Legal') . ' ' . _('landscape') .'</option>'; } else { echo '<option value="legal_landscape">' . _('Legal') . ' ' . _('landscape') .'</option>'; } @@ -240,9 +240,9 @@ if (is_dir('css/' . $ThemeName) AND $ThemeName != '.' AND $ThemeName != '..' AND $ThemeName != '.svn'){ if (isset($_POST['Theme']) and $_POST['Theme'] == $ThemeName){ - echo '<option selected value="' . $ThemeName . '">' . $ThemeName .'</option>'; + echo '<option selected="selected" value="' . $ThemeName . '">' . $ThemeName .'</option>'; } else if (!isset($_POST['Theme']) and ($_SESSION['DefaultTheme']==$ThemeName)) { - echo '<option selected value="' . $ThemeName . '">' . $ThemeName .'</option>'; + echo '<option selected="selected" value="' . $ThemeName . '">' . $ThemeName .'</option>'; } else { echo '<option value="' . $ThemeName . '">' . $ThemeName .'</option>'; } @@ -257,9 +257,9 @@ foreach ($LanguagesArray as $LanguageEntry => $LanguageName){ if (isset($_POST['UserLanguage']) and $_POST['UserLanguage'] == $LanguageEntry){ - echo '<option selected value="' . $LanguageEntry . '">' . $LanguageName['LanguageName'] .'</option>'; + echo '<option selected="selected" value="' . $LanguageEntry . '">' . $LanguageName['LanguageName'] .'</option>'; } elseif (!isset($_POST['UserLanguage']) AND $LanguageEntry == $DefaultLanguage) { - echo '<option selected value="' . $LanguageEntry . '">' . $LanguageName['LanguageName'] .'</option>'; + echo '<option selected="selected" value="' . $LanguageEntry . '">' . $LanguageName['LanguageName'] .'</option>'; } else { echo '<option value="' . $LanguageEntry . '">' . $LanguageName['LanguageName'] .'</option>'; } Modified: trunk/CustWhereAlloc.php =================================================================== --- trunk/CustWhereAlloc.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CustWhereAlloc.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -22,7 +22,7 @@ while ($myrow=DB_fetch_array($resultTypes)){ if (isset($_POST['TransType'])){ if ($myrow['typeid'] == $_POST['TransType']){ - echo '<option selected value="' . $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; } else { echo '<option value="' . $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; } Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CustomerAllocations.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -401,7 +401,7 @@ echo '<td class="number"><input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"'; if (ABS($AllocnItem->AllocAmt-$YetToAlloc) < 0.01) { - echo ' value=' . True . ' />'; + echo ' value="' . True . '" />'; } else { echo ' />'; } Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CustomerBranches.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -692,11 +692,11 @@ while ($myrow = DB_fetch_array($result)) { if (isset($_POST['Salesman']) and $myrow['salesmancode']==$_POST['Salesman']) { - echo '<option selected value='; + echo '<option selected="selected" value="'; } else { - echo '<option value='; + echo '<option value="'; } - echo $myrow['salesmancode'] . '>' . $myrow['salesmanname'] . '</option>'; + echo $myrow['salesmancode'] . '">' . $myrow['salesmanname'] . '</option>'; } //end while loop @@ -720,7 +720,7 @@ <td><select tabindex="14" name="Area">'; while ($myrow = DB_fetch_array($result)) { if (isset($_POST['Area']) and $myrow['areacode']==$_POST['Area']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -750,7 +750,7 @@ while ($myrow = DB_fetch_array($result)) { if (isset($_POST['DefaultLocation']) and $myrow['loccode']==$_POST['DefaultLocation']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -800,7 +800,7 @@ while ($myrow = DB_fetch_array($TaxGroupResults)) { if (isset($_POST['TaxGroup']) and $myrow['taxgroupid']==$_POST['TaxGroup']) { - echo '<option selected value="'; + echo '<option selected="selected" value="'; } else { echo '<option value="'; } @@ -814,10 +814,10 @@ <td>'._('Transactions on this branch') . ':</td> <td><select tabindex="20" name="DisableTrans">'; if ($_POST['DisableTrans']==0){ - echo '<option selected value="0">' . _('Enabled') . '</option> + echo '<option selected="selected" value="0">' . _('Enabled') . '</option> <option value="1">' . _('Disabled') . '</option>'; } else { - echo '<option selected value="1">' . _('Disabled') . '</option> + echo '<option selected="selected" value="1">' . _('Disabled') . '</option> <option value="0">' . _('Enabled') . '</option>'; } @@ -838,9 +838,9 @@ <td><select tabindex="21" name="DefaultShipVia">'; while ($myrow=DB_fetch_array($ShipperResults)){ if (isset($_POST['DefaultShipVia'])and $myrow['shipper_id']==$_POST['DefaultShipVia']){ - echo '<option selected value=' . $myrow['shipper_id'] . '>' . $myrow['shippername'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['shipper_id'] . '">' . $myrow['shippername'] . '</option>'; }else { - echo '<option value=' . $myrow['shipper_id'] . '>' . $myrow['shippername'] . '</option>'; + echo '<option value="' . $myrow['shipper_id'] . '">' . $myrow['shippername'] . '</option>'; } } @@ -855,9 +855,9 @@ <td><select tabindex="22" name="DeliverBlind">'; if ($_POST['DeliverBlind']==2){ echo '<option value="1">' . _('Show company details and logo') . '</option> - <option selected value="2">' . _('Hide company details and logo') . '</option>'; + <option selected="selected" value="2">' . _('Hide company details and logo') . '</option>'; } else { - echo '<option selected value="1">' . _('Show company details and logo') . '</option> + echo '<option selected="selected" value="1">' . _('Show company details and logo') . '</option> <option value="2">' . _('Hide company details and logo') . '</option>'; } Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CustomerReceipt.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -767,7 +767,7 @@ while ($myrow=DB_fetch_array($AccountsResults)){ /*list the bank account names */ if ($_SESSION['ReceiptBatch']->Account==$myrow['accountcode']){ - echo '<option selected value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname'] . ' - ' . $myrow['currcode'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname'] . ' - ' . $myrow['currcode'] . '</option>'; } else { echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['bankaccountname']. ' - ' . $myrow['currcode'] . '</option>'; } @@ -801,7 +801,7 @@ } else { while ($myrow=DB_fetch_array($result)){ if ($_SESSION['ReceiptBatch']->Currency==$myrow['currabrev']){ - echo '<option selected value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } else { echo '<option value="' . $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } @@ -860,7 +860,7 @@ foreach ($ReceiptTypes as $RcptType) { if (isset($_POST['ReceiptType']) and $_POST['ReceiptType']==$RcptType){ - echo '<option selected value="' . $RcptType . '">' . $RcptType .'</option>'; + echo '<option selected="selected" value="' . $RcptType . '">' . $RcptType .'</option>'; } else { echo '<option value="' .$RcptType . '">' . $RcptType .'</option>'; } @@ -1008,9 +1008,9 @@ echo '<option value="0"></option>'; while ($myrow=DB_fetch_array($result)){ if (isset($_POST['tag']) and $_POST['tag']==$myrow['tagref']){ - echo '<option selected value=' . $myrow['tagref'] . '>' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['tagref'] . '">' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; } else { - echo '<option value=' . $myrow['tagref'] . '>' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; + echo '<option value="' . $myrow['tagref'] . '">' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; } } echo '</select></td> @@ -1031,9 +1031,9 @@ echo '<option value=""></option>'; while ($myrow=DB_fetch_array($result)){ if ($_POST['GLCode']==$myrow['accountcode']){ - echo '<option selected value=' . $myrow['accountcode'] . '>' . $myrow['accountcode'] . ' - ' . $myrow['accountname'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' - ' . $myrow['accountname'] . '</option>'; } else { - echo '<option value=' . $myrow['accountcode'] . '>' . $myrow['accountcode'] . ' - ' . $myrow['accountname'] . '</option>'; + echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' - ' . $myrow['accountname'] . '</option>'; } } echo '</select></td> Modified: trunk/CustomerTransInquiry.php =================================================================== --- trunk/CustomerTransInquiry.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CustomerTransInquiry.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -32,7 +32,7 @@ while ($myrow=DB_fetch_array($resultTypes)){ if (isset($_POST['TransType'])){ if ($myrow['typeid'] == $_POST['TransType']){ - echo '<option selected value="' . $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; } else { echo '<option value="' . $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; } Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/CustomerTypes.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -240,7 +240,7 @@ $_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="typeid" value="' . $_POST['typeid'] . '" />'; echo '<table class="selection">'; // We dont allow the user to change an existing type code Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-01-23 22:18:42 UTC (rev 4836) +++ trunk/Customers.php 2012-01-24 23:41:46 UTC (rev 4837) @@ -575,9 +575,9 @@ <td><select tabindex="17" name="CurrCode">'; while ($myrow = DB_fetch_array($result)) { if ($_POST['CurrCode']==$myrow['currabrev']){ - echo '<option selected value='. $myrow['currabrev'] . '>' . $myrow['currency'] . '</option>'; + echo '<option selected="selected" value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } else { - echo '<option value='. $myrow['currabrev'] . '>' . $myrow['currency'] . '</option>'; + echo '<option value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } } //end while loop DB_data_seek($result,0); @@ -589,7 +589,7 @@ echo '<tr> <td>' . _('Customer PO Line on SO') . ':</td> <td><select tabindex="18" name="CustomerPOLine"> - <option selected value="0">' . _('No') . '</option> + <option selected="selected" value="0">' . _('No') . '</option> <option value="1">' . _('Yes') . '</option> </select> </td> @@ -597,7 +597,7 @@ <tr> <td>' . _('Invoice Addressing') . ':</td> <td><select tabindex="19" name="AddrInvBranch"> - <option selected value="0">' . _('Address to HO') . '</option> + <option selected="selected" value="0">' . _('Address to HO') . '</option> <option value="1">' . _('Address to Branch') . '</option> </select> </td> @@ -767,7 +767,7 @@ <td><select name="SalesType">'; while ($myrow = DB_fetch_array($result)) { if ($_POST['SalesType']==$myrow['typeabbrev']){ - echo '<option selected value="' . $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>'; } else { echo '<option value="'. $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>'; } @@ -790,7 +790,7 @@ <td><select name="typeid">'; while ($myrow = DB_fetch_array($result)) { if ($_POST['typeid']==$myrow['typeid']){ - echo '<option selected value="' . $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; } else { echo '<option value="'. $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; } @@ -842,11 +842,11 @@ </tr> <tr> <td>' . _('Discount Code') . ':</td> - <td><input ' . (in_array('DiscountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="DiscountCode" size="3" maxlength="2" value="' . $_POST['DiscountCode'] . '"></td> + <td><input ' . (in_array('DiscountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="DiscountCode" size="3" maxlength="2" value="' . $_POST['DiscountCode'] . '" /></td> </tr> <tr> <td>' . _('Payment Discount Percent') . ':</td> - <td><input ' . (in_array('PymtDiscount',$Errors) ? 'class="inputerror"' : '' ) .' type="text" class="number" name="PymtDiscount" size="5" maxlength="4" value="' . $_POST['PymtDiscount'] . '"></td> + <td><input ' . (in_array('PymtDiscount',$Errors) ? 'class="inputerror"' : '' ) .' type="text" class="number" name="PymtDiscount" size="5" maxlength="4" value="' . $_POST['PymtDiscount'] . '" /></td> </tr> <tr> <td>' . _('Credit Limit') . ':</td> @@ -872,7 +872,7 @@ <td><select name="PaymentTerms">'; while ($myrow = DB_fetch_array($result)) { if ($_POST['PaymentTerms']==$myrow['termsindicator']){ - echo '<option selected value="'. $myrow['termsindicator'] . '">' . $myrow['terms'] . '</option>'; + echo '<option selected="selected" value="'. $myrow['termsindicator'] . '">' . $myrow['terms'] . '</option>'; } else { echo '<option value="'. $myrow['termsindicator'] . '">' . $myrow['terms'] . '</option>'; } @@ -896,7 +896,7 @@ <td><select name="HoldReason">'; while ($myrow = DB_fetch_array($result)) { if ($_POST['HoldReason']==$myrow['reasoncode']){ - echo '<option selected value="'. $myrow['reasoncode'] . '">' . $myrow['reasondescription'] . '</option>'; + echo '<option selected="selected" value="'. $myrow['reasoncode'] . '">' . $myrow['reasondescription'] . '</option>'; } else { echo '<option value="'. $myrow['reasoncode'] . '">' . $myrow['reasondescription'] . '</option>'; } @@ -919,7 +919,7 @@ <td><select name="CurrCode">'; while ($myrow = DB_fetch_array($result)) { if ($_POST['CurrCode']==$myrow['currabrev']){ - echo '<option selected value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; + echo '<option selected="selected" value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>'; } else { echo '<option value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</o... [truncated message content] |