This list is closed, nobody may subscribe to it.
2011 |
Jan
(14) |
Feb
(42) |
Mar
(56) |
Apr
(60) |
May
(54) |
Jun
(48) |
Jul
(74) |
Aug
(52) |
Sep
(68) |
Oct
(64) |
Nov
(42) |
Dec
(62) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
(142) |
Feb
(270) |
Mar
(374) |
Apr
(230) |
May
(214) |
Jun
(116) |
Jul
(234) |
Aug
(66) |
Sep
(120) |
Oct
(16) |
Nov
(17) |
Dec
(41) |
2013 |
Jan
(19) |
Feb
(18) |
Mar
(8) |
Apr
(40) |
May
(121) |
Jun
(42) |
Jul
(127) |
Aug
(145) |
Sep
(27) |
Oct
(38) |
Nov
(83) |
Dec
(61) |
2014 |
Jan
(33) |
Feb
(35) |
Mar
(59) |
Apr
(41) |
May
(38) |
Jun
(45) |
Jul
(17) |
Aug
(58) |
Sep
(46) |
Oct
(51) |
Nov
(55) |
Dec
(36) |
2015 |
Jan
(57) |
Feb
(67) |
Mar
(70) |
Apr
(34) |
May
(32) |
Jun
(11) |
Jul
(3) |
Aug
(17) |
Sep
(16) |
Oct
(13) |
Nov
(30) |
Dec
(30) |
2016 |
Jan
(17) |
Feb
(12) |
Mar
(17) |
Apr
(20) |
May
(47) |
Jun
(15) |
Jul
(13) |
Aug
(30) |
Sep
(32) |
Oct
(20) |
Nov
(32) |
Dec
(24) |
2017 |
Jan
(16) |
Feb
|
Mar
(11) |
Apr
(11) |
May
(5) |
Jun
(42) |
Jul
(9) |
Aug
(10) |
Sep
(14) |
Oct
(15) |
Nov
(2) |
Dec
(29) |
2018 |
Jan
(28) |
Feb
(49) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <dai...@us...> - 2012-01-25 18:39:58
|
Revision: 4838 http://web-erp.svn.sourceforge.net/web-erp/?rev=4838&view=rev Author: daintree Date: 2012-01-25 18:39:35 +0000 (Wed, 25 Jan 2012) Log Message: ----------- updated French Translation by James Dupin Modified Paths: -------------- trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po Modified: trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po 2012-01-24 23:41:46 UTC (rev 4837) +++ trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po 2012-01-25 18:39:35 UTC (rev 4838) @@ -3,41172 +3,34752 @@ # This file is distributed under the same license as the webERP package. # FIRST AUTHOR <EMAIL@ADDRESS>, 2005. # +# James Dupin <jam...@gm...>, 2012. +# msgid "" msgstr "" "Project-Id-Version: weberp 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-01-07 14:17+1300\n" -"PO-Revision-Date: 2011-01-28 14:54+0000\n" -"Last-Translator: Pierre Slamich <pie...@gm...>\n" -"Language-Team: Beno� FAUVEL <Fa...@eu...> Sandrine Palmier " -"<pal...@fr...>\n" +"PO-Revision-Date: 2012-01-25 13:39+0100\n" +"Last-Translator: James Dupin <jam...@gm...>\n" +"Language-Team: french <none>\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 06:25+0000\n" "X-Generator: Launchpad (build 12696)\n" "Language: \n" +"Plural-Forms: s\n" +"X-Poedit-Language: French\n" +"X-Poedit-Country: FRANCE\n" +"X-Poedit-SourceCharset: utf-8\n" -#: AccountGroups.php:7 index.php:1298 -msgid "Account Groups" -msgstr "Postes de Comptes" +#: InventoryPlanning.php:336 +msgid " " +msgstr " " -#: AccountGroups.php:17 -msgid "" -"An error occurred in retrieving the account groups of the parent account " -"group during the check for recursion" -msgstr "" -"Une erreur s'est produite dans la récupération des groupes de comptes du " -"groupe compte parent lors de la vérification de la récursivité" +#: BOMIndented.php:328 +msgid " 12345678901234567890" +msgstr " 12345678901234567890" -#: AccountGroups.php:18 -msgid "" -"The SQL that was used to retrieve the account groups of the parent account " -"group and that failed in the process was" -msgstr "" -"Le SQL qui a été utilisé pour récupérer les groupes de comptes du groupe " -"compte parent et qui a échoué dans le processus a été" +#: CustomerTypes.php:83 +#: SupplierTypes.php:81 +msgid " already exist." +msgstr " existe déjà." -#: AccountGroups.php:57 AccountGroups.php:102 AccountGroups.php:174 -#: AccountGroups.php:184 -msgid "The SQL that was used to retrieve the information was" -msgstr "Le SQL qui a été employé pour rechercher l'information était" +#: PcTabs.php:116 +msgid " already exists" +msgstr " existe déjà." -#: AccountGroups.php:58 -msgid "Could not check whether the group exists because" -msgstr "Ne peut pas vérifier si le groupe existe parce que" +#: PcExpenses.php:109 +msgid " already exists." +msgstr " existe déjà." -#: AccountGroups.php:65 -msgid "The account group name already exists in the database" -msgstr "Le nom du groupe compte existe déjà dans la base de données" +#: PaymentAllocations.php:31 +msgid " and" +msgstr " et" -#: AccountGroups.php:71 -msgid "The account group name cannot contain the character" -msgstr "Le nom de poste du comptes ne doit contenir le symbole" +#: GLTrialBalance.php:440 +msgid " and for the " +msgstr " et pour le " -#: AccountGroups.php:71 TaxCategories.php:31 -msgid "or the character" -msgstr "ou le caractère" +#: Z_SalesIntegrityCheck.php:67 +msgid " could not be found" +msgstr " n'a pu être trouvée" -#: AccountGroups.php:77 -#, fuzzy -msgid "" -"The sequence that the account group is listed in the trial balance is " -"expected to be numeric" -msgstr "La quantité entrée pour les transferts devrait être numérique" +#: ReorderLevelLocation.php:63 +msgid " Days " +msgstr " Jours " -#: AccountGroups.php:85 -msgid "The account group name must be at least one character long" -msgstr "Le nom du groupe compte doit être au moins un caractère à long" +#: PO_Items.php:717 +msgid " excluding Tax" +msgstr " HT" -#: AccountGroups.php:92 -msgid "" -"The parent account group selected appears to result in a recursive account " -"structure - select an alternative parent account group or make this group a " -"top level account group" -msgstr "" -"Le groupe compte parent sélectionné apparaît à la suite dans une structure " -"récursive compte - sélectionner un groupe de parents de remplacement de " -"compte ou faire de ce groupe un groupe de haut niveau compte" +#: Z_ImportStocks.php:87 +msgid " fields required, " +msgstr " les champs obligatoires, " -#: AccountGroups.php:103 -msgid "Could not check whether the group is recursive because" -msgstr "Ne peut pas vérifier si le groupe est récursif parce que" +#: FixedAssetRegister.php:299 +msgid " From Date" +msgstr " De " -#: AccountGroups.php:111 -msgid "" -"Since this account group is a child group, the sequence in the trial " -"balance, the section in the accounts and whether or not the account group " -"appears in the balance sheet or profit and loss account are all properties " -"inherited from the parent account group. Any changes made to these fields " -"will have no effect." -msgstr "" +#: CustLoginSetup.php:32 +msgid " has been selected" +msgstr " a été sélectionné" -#: AccountGroups.php:116 -msgid "The section in accounts must be an integer" -msgstr "L'identifiant de rubrique doit �re un Entier" +#: PO_Header.php:608 +msgid " Modify Purchase Order Number" +msgstr " Modifier le numéro de commande" -#: AccountGroups.php:133 -msgid "An error occurred in updating the account group" -msgstr "Une erreur s'est produite dans la mise à jour le groupe compte" +#: GLTrialBalance.php:440 +#: includes/PDFTagProfitAndLossPageHeader.inc:21 +#: includes/PDFTrialBalancePageHeader.inc:23 +msgid " months to " +msgstr " mois à" -#: AccountGroups.php:134 -msgid "The SQL that was used to update the account group was" -msgstr "Le SQL qui a été utilisé pour mettre à jour le groupe compte a été" +#: SelectOrderItems.php:1795 +msgid " of products to be ordered" +msgstr " des produits à commander" -#: AccountGroups.php:136 AccountSections.php:104 PaymentMethods.php:82 -msgid "Record Updated" -msgstr "Enregistrement Mis à jour" +#: PO_Items.php:655 +msgid " Order Summary" +msgstr " Résumé de la commande" -#: AccountGroups.php:154 -msgid "An error occurred in inserting the account group" -msgstr "Une erreur s'est produite dans l'insertion, le groupe compte" +#: Z_ImportChartOfAccounts.php:69 +#: Z_ImportGLAccountSections.php:66 +msgid " records failed to import" +msgstr " enregistrements ayant échoué à l'importation" -#: AccountGroups.php:155 -msgid "The SQL that was used to insert the account group was" -msgstr "Le SQL qui a été utilisé pour insérer le groupe compte a été" +#: Z_ImportChartOfAccounts.php:68 +#: Z_ImportGLAccountSections.php:65 +msgid " records successfully imported" +msgstr " Documents importés avec succès" -#: AccountGroups.php:156 AccountSections.php:116 PaymentMethods.php:103 -msgid "Record inserted" -msgstr "Enregistrement inséré" +#: StockCounts.php:77 +msgid " Stock Counts Entered" +msgstr " Stock comtes Entrée" -#: AccountGroups.php:173 -msgid "An error occurred in retrieving the group information from chartmaster" -msgstr "" -"Une erreur s'est produite dans la récupération des informations de groupe de " -"chartmaster" +#: Contracts.php:735 +msgid " their account is currently at or over their credit limit" +msgstr " leur compte a atteint ou dépassé leur limite de crédit" -#: AccountGroups.php:178 -msgid "" -"Cannot delete this account group because general ledger accounts have been " -"created using this group" -msgstr "" -"Le poste du compte ne peut pas �re effac�car un compte a ��cr� dans le grand " -"livre avec ce poste" +#: MRPPlannedPurchaseOrders.php:37 +msgid " Through " +msgstr " Grâce à " -#: AccountGroups.php:179 AccountGroups.php:189 AccountSections.php:137 -#: Areas.php:116 Areas.php:125 BankAccounts.php:158 CreditStatus.php:125 -#: Currencies.php:166 Currencies.php:174 Currencies.php:182 -#: CustomerBranches.php:286 CustomerBranches.php:296 CustomerBranches.php:306 -#: CustomerBranches.php:316 Customers.php:289 Customers.php:298 -#: Customers.php:306 Customers.php:314 CustomerTypes.php:147 -#: CustomerTypes.php:157 Factors.php:134 FixedAssetCategories.php:133 -#: GLAccounts.php:80 GLAccounts.php:96 Locations.php:237 Locations.php:245 -#: Locations.php:256 Locations.php:265 Locations.php:274 Locations.php:283 -#: Locations.php:292 Locations.php:301 MRPDemandTypes.php:87 -#: PaymentMethods.php:138 PaymentTerms.php:146 PaymentTerms.php:153 -#: PcExpenses.php:158 SalesCategories.php:125 SalesCategories.php:132 -#: SalesPeople.php:150 SalesPeople.php:157 SalesPeople.php:163 -#: SalesTypes.php:140 SalesTypes.php:150 Shippers.php:81 Shippers.php:93 -#: StockCategories.php:181 Stocks.php:615 Stocks.php:624 Stocks.php:632 -#: Stocks.php:640 Stocks.php:648 Stocks.php:656 Suppliers.php:612 -#: Suppliers.php:621 Suppliers.php:629 SupplierTypes.php:145 -#: TaxCategories.php:131 TaxGroups.php:132 TaxGroups.php:140 -#: TaxProvinces.php:129 UnitsOfMeasure.php:135 WorkCentres.php:89 -#: WorkCentres.php:95 WWW_Access.php:83 -msgid "There are" -msgstr "Il y'a" +#: POReport.php:1286 +msgid " To " +msgstr " Pour " -#: AccountGroups.php:179 -msgid "general ledger accounts that refer to this account group" -msgstr "Les comptes du Grand Livre li� �ce poste de compte" +#: includes/ConnectDB_postgres.inc:28 +msgid " Try logging in with an alternative company name." +msgstr " Essayez de vous connecter avec un nom de société alternative." -#: AccountGroups.php:183 -msgid "An error occurred in retrieving the parent group information" -msgstr "" -"Une erreur s'est produite dans la récupération des informations de groupe de " -"parent" +#: CounterSales.php:2148 +msgid ", Searches the database for items, you can narrow the results by selecting a stock category, or just enter a partial item description or partial item code" +msgstr ", Recherches la base de données des articles, vous pouvez affiner les résultats en sélectionnant une catégorie d'actions, ou tout simplement entrer le code une description partielle de l'objet ou partielle élément" -#: AccountGroups.php:188 -msgid "" -"Cannot delete this account group because it is a parent account group of " -"other account group(s)" -msgstr "" -"Impossible de supprimer ce groupe compte, car il s'agit d'un groupe de " -"comptes mère du groupe compte d'autres (s)" +#: CounterSales.php:2022 +msgid ", shows the most frequently ordered items in the last 6 months. You can choose from this list, or search further for other items" +msgstr ", Montre les éléments les plus fréquemment commandés au cours des 6 derniers mois. Vous pouvez choisir dans cette liste, ou encore de recherche pour d'autres articles" -#: AccountGroups.php:189 -msgid "account groups that have this group as its/there parent account group" -msgstr "" -"compte les groupes qui ont ce groupe comme son / il compte de groupe parent" +#: PcReportTab.php:134 +#: PcReportTab.php:145 +#: PcReportTab.php:161 +#: SuppPriceList.php:282 +msgid ": " +msgstr ": " -#: AccountGroups.php:192 -msgid "An error occurred in deleting the account group" -msgstr "Une erreur s'est produite lors de la suppression du groupe de comptes" +#: Z_ImportFixedAssets.php:58 +msgid ". Download a template and ensuer that fields are in the same sequence as the template." +msgstr ". Télécharger un modèle et assurez-vous que les champs sont dans le même ordre que le modèle." -#: AccountGroups.php:193 -msgid "The SQL that was used to delete the account group was" -msgstr "Le SQL qui a été utilisé pour supprimer le groupe compte a été" +#: api/api_xml-rpc.php:1013 +msgid "\"salesarea\" also is required, though again it appears to serve no useful purpose. " +msgstr "\"salesarea \" est également nécessaire, mais là encore, il semble d'aucune utilité. " -#: AccountGroups.php:195 -msgid "group has been deleted" -msgstr "Le poste a ��supprim" +#: Payments.php:886 +msgid "(if using pre-printed stationery)" +msgstr "(Si vous utilisez pré-imprimés)" -#: AccountGroups.php:220 -msgid "The sql that was used to retrieve the account group information was " -msgstr "" -"Le sql qui a été utilisé pour récupérer les informations de groupe compte a " -"été " +#: Payments.php:895 +msgid "(Max. length 80 characters)" +msgstr "(Longueur max 80 caractères)" -#: AccountGroups.php:221 -msgid "Could not get account groups because" -msgstr "Impossible d'acc�er aux postes de comptes car" +#: api/api_login.php:88 +msgid "** Error Code Not Defined **" +msgstr "** Code d'erreur Non défini ** " -#: AccountGroups.php:223 AccountSections.php:175 AddCustomerContacts.php:25 -#: AddCustomerContacts.php:28 AddCustomerNotes.php:103 -#: AddCustomerTypeNotes.php:97 AgedDebtors.php:450 AgedSuppliers.php:278 -#: Areas.php:144 AuditTrail.php:11 BankReconciliation.php:13 -#: BOMExtendedQty.php:261 BOMIndented.php:246 BOMIndentedReverse.php:235 -#: BOMInquiry.php:187 BOMListing.php:109 BOMs.php:213 BOMs.php:832 -#: COGSGLPostings.php:18 CompanyPreferences.php:153 CounterSales.php:2020 -#: CounterSales.php:2146 Credit_Invoice.php:255 CreditStatus.php:21 -#: Currencies.php:28 CustEDISetup.php:17 DailyBankTransactions.php:11 -#: DebtorsAtPeriodEnd.php:125 DiscountCategories.php:10 -#: DiscountCategories.php:131 DiscountMatrix.php:16 EDIMessageFormat.php:104 -#: FixedAssetLocations.php:9 FixedAssetRegister.php:13 -#: FixedAssetRegister.php:243 FixedAssetTransfer.php:31 FormDesigner.php:129 -#: GLBalanceSheet.php:362 GLBudgets.php:29 GLJournal.php:246 -#: InventoryPlanning.php:374 InventoryPlanningPrefSupplier.php:467 -#: Labels.php:115 Labels.php:270 MRPReport.php:515 OutstandingGRNs.php:160 -#: PcAssignCashToTab.php:56 PcAssignCashToTab.php:130 -#: PcAssignCashToTab.php:146 PcAssignCashToTab.php:187 PDFPickingList.php:28 -#: PDFPrintLabel.php:140 PDFStockLocTransfer.php:16 -#: PO_AuthorisationLevels.php:10 POReport.php:60 POReport.php:64 -#: POReport.php:68 PO_SelectOSPurchOrder.php:139 PricesBasedOnMarkUp.php:8 -#: Prices_Customer.php:35 Prices.php:30 PurchData.php:137 PurchData.php:258 -#: PurchData.php:282 RecurringSalesOrders.php:309 SalesAnalReptCols.php:51 -#: SalesAnalRepts.php:11 SalesCategories.php:11 SalesGLPostings.php:17 -#: SalesGraph.php:34 SalesPeople.php:20 SalesTypes.php:20 SelectAsset.php:45 -#: SelectCompletedOrder.php:11 SelectContract.php:78 SelectCreditItems.php:215 -#: SelectCreditItems.php:286 SelectCustomer.php:260 SelectGLAccount.php:17 -#: SelectGLAccount.php:77 SelectOrderItems.php:577 SelectOrderItems.php:1480 -#: SelectOrderItems.php:1604 SelectProduct.php:496 SelectSalesOrder.php:533 -#: SelectSupplier.php:9 SelectSupplier.php:198 SelectWorkOrder.php:9 -#: SelectWorkOrder.php:151 ShipmentCosting.php:11 Shipments.php:17 -#: Shippers.php:122 Shippers.php:158 Shipt_Select.php:8 -#: StockLocMovements.php:13 StockLocStatus.php:27 Suppliers.php:302 -#: SupplierTenders.php:260 SupplierTenders.php:317 SupplierTransInquiry.php:10 -#: TaxGroups.php:15 TaxProvinces.php:11 TopItems.php:77 -#: WhereUsedInquiry.php:18 WorkCentres.php:111 WorkCentres.php:162 -#: WorkOrderCosting.php:13 WorkOrderEntry.php:11 WorkOrderIssue.php:22 -#: WorkOrderReceive.php:15 WorkOrderStatus.php:42 WWW_Access.php:11 -#: WWW_Users.php:31 Z_BottomUpCosts.php:56 -msgid "Search" -msgstr "Rechercher" +#: TopItems.php:176 +msgid "#" +msgstr "#" -#: AccountGroups.php:227 -msgid "Group Name" -msgstr "Nom du poste" +#: UserSettings.php:27 +msgid "0 will default to system setting" +msgstr "0 pour les paramètres système par défaut" -#: AccountGroups.php:228 EDIMessageFormat.php:129 EDIMessageFormat.php:208 -msgid "Section" -msgstr "Rubrique" +#: includes/InputSerialItemsFile.php:152 +msgid "1st 10 Lines of File" +msgstr "10 premières lignes du Fichier" -#: AccountGroups.php:229 AccountGroups.php:392 -msgid "Sequence In TB" -msgstr "Indexe dans balance" +#: InventoryPlanningPrefSupplier.php:75 +msgid "4 mths" +msgstr "4 mois" -#: AccountGroups.php:230 AccountGroups.php:376 GLProfit_Loss.php:6 -#: GLProfit_Loss.php:125 GLProfit_Loss.php:126 GLProfit_Loss.php:177 -#: SelectGLAccount.php:43 SelectGLAccount.php:57 -msgid "Profit and Loss" -msgstr "Pertes et profits" +#: api/api_xml-rpc.php:319 +msgid "A (partial) string to match in the above Field Name." +msgstr "Une chaîne de caractères (partiel) pour correspondre au nom ci-dessus sur le terrain." -#: AccountGroups.php:231 AccountGroups.php:338 -msgid "Parent Group" -msgstr "Parent Group" +#: CustomerReceipt.php:35 +msgid "A bank account must be selected for this receipt" +msgstr "Un compte bancaire doit être sélectionné pour cette recette" -#: AccountGroups.php:247 AccountGroups.php:250 AccountGroups.php:380 -#: AccountGroups.php:382 BOMs.php:122 BOMs.php:746 BOMs.php:748 -#: CompanyPreferences.php:476 CompanyPreferences.php:478 -#: CompanyPreferences.php:491 CompanyPreferences.php:493 -#: CompanyPreferences.php:506 CompanyPreferences.php:508 -#: ContractCosting.php:198 CustomerBranches.php:410 Customers.php:593 -#: Customers.php:941 Customers.php:950 Customers.php:953 -#: DeliveryDetails.php:1071 DeliveryDetails.php:1114 DeliveryDetails.php:1117 -#: GLTransInquiry.php:69 MRPCalendar.php:224 MRP.php:529 MRP.php:533 -#: MRP.php:537 MRP.php:541 PaymentMethods.php:197 PaymentMethods.php:198 -#: PaymentMethods.php:199 PaymentMethods.php:262 PaymentMethods.php:268 -#: PaymentMethods.php:275 PcAuthorizeExpenses.php:244 PDFChequeListing.php:63 -#: PDFDeliveryDifferences.php:75 PDFDIFOT.php:75 -#: PO_AuthorisationLevels.php:134 PO_AuthorisationLevels.php:139 -#: PO_Header.php:783 PO_PDFPurchOrder.php:384 PO_PDFPurchOrder.php:387 -#: PurchData.php:189 PurchData.php:514 PurchData.php:517 -#: RecurringSalesOrders.php:482 RecurringSalesOrders.php:485 -#: SalesAnalReptCols.php:284 SalesAnalReptCols.php:419 -#: SalesAnalReptCols.php:422 SalesAnalRepts.php:415 SalesAnalRepts.php:418 -#: SalesAnalRepts.php:443 SalesAnalRepts.php:446 SalesAnalRepts.php:471 -#: SalesAnalRepts.php:474 SalesPeople.php:219 SalesPeople.php:355 -#: SalesPeople.php:357 SelectProduct.php:381 ShipmentCosting.php:667 -#: Stocks.php:1015 Stocks.php:1017 Stocks.php:1040 Stocks.php:1042 -#: SuppContractChgs.php:90 SystemParameters.php:389 SystemParameters.php:412 -#: SystemParameters.php:428 SystemParameters.php:491 SystemParameters.php:499 -#: SystemParameters.php:539 SystemParameters.php:612 SystemParameters.php:621 -#: SystemParameters.php:629 SystemParameters.php:647 SystemParameters.php:654 -#: SystemParameters.php:781 SystemParameters.php:916 SystemParameters.php:918 -#: SystemParameters.php:928 SystemParameters.php:930 SystemParameters.php:984 -#: SystemParameters.php:996 SystemParameters.php:998 TaxGroups.php:307 -#: TaxGroups.php:310 TaxGroups.php:366 WWW_Users.php:636 WWW_Users.php:638 -msgid "Yes" -msgstr "Oui" +#: Payments.php:34 +msgid "A bank account must be selected to make this payment from" +msgstr "Un compte bancaire doit être sélectionné pour effectuer ce paiement à partir" -#: AccountGroups.php:253 AccountGroups.php:385 AccountGroups.php:387 -#: BankAccounts.php:210 BankAccounts.php:371 BankAccounts.php:373 -#: BankAccounts.php:377 BankAccounts.php:385 BOMs.php:124 BOMs.php:745 -#: BOMs.php:749 CompanyPreferences.php:475 CompanyPreferences.php:479 -#: CompanyPreferences.php:490 CompanyPreferences.php:494 -#: CompanyPreferences.php:505 CompanyPreferences.php:509 -#: ContractCosting.php:196 CustomerBranches.php:410 Customers.php:592 -#: Customers.php:936 Customers.php:949 Customers.php:952 -#: DeliveryDetails.php:1072 DeliveryDetails.php:1115 DeliveryDetails.php:1118 -#: GLTransInquiry.php:86 MRPCalendar.php:226 MRP.php:527 MRP.php:531 -#: MRP.php:535 MRP.php:539 PaymentMethods.php:197 PaymentMethods.php:198 -#: PaymentMethods.php:199 PaymentMethods.php:263 PaymentMethods.php:269 -#: PaymentMethods.php:276 PcAuthorizeExpenses.php:242 PDFChequeListing.php:62 -#: PDFDeliveryDifferences.php:74 PDFDIFOT.php:74 -#: PO_AuthorisationLevels.php:136 PO_AuthorisationLevels.php:141 -#: PO_Header.php:782 PO_PDFPurchOrder.php:385 PO_PDFPurchOrder.php:388 -#: PurchData.php:192 PurchData.php:515 PurchData.php:518 -#: RecurringSalesOrders.php:481 RecurringSalesOrders.php:484 -#: SalesAnalReptCols.php:282 SalesAnalReptCols.php:420 -#: SalesAnalReptCols.php:423 SalesAnalRepts.php:414 SalesAnalRepts.php:417 -#: SalesAnalRepts.php:442 SalesAnalRepts.php:445 SalesAnalRepts.php:470 -#: SalesAnalRepts.php:473 SalesPeople.php:221 SalesPeople.php:360 -#: SalesPeople.php:362 SelectProduct.php:383 ShipmentCosting.php:668 -#: Stocks.php:1010 Stocks.php:1012 Stocks.php:1035 Stocks.php:1037 -#: SuppContractChgs.php:92 SystemParameters.php:390 SystemParameters.php:413 -#: SystemParameters.php:429 SystemParameters.php:492 SystemParameters.php:500 -#: SystemParameters.php:540 SystemParameters.php:613 SystemParameters.php:622 -#: SystemParameters.php:630 SystemParameters.php:648 SystemParameters.php:655 -#: SystemParameters.php:782 SystemParameters.php:915 SystemParameters.php:919 -#: SystemParameters.php:927 SystemParameters.php:931 SystemParameters.php:985 -#: SystemParameters.php:995 SystemParameters.php:999 TaxGroups.php:308 -#: TaxGroups.php:311 TaxGroups.php:368 WWW_Users.php:635 WWW_Users.php:639 -#: includes/PDFLowGPPageHeader.inc:44 includes/PDFTaxPageHeader.inc:35 -msgid "No" -msgstr "Non" +#: SpecialOrder.php:196 +msgid "a blank initiator is not allowed" +msgstr "un initiateur de blanc n'est pas autorisé" -#: AccountGroups.php:262 AccountSections.php:196 AddCustomerContacts.php:149 -#: AddCustomerNotes.php:141 AddCustomerTypeNotes.php:128 Areas.php:164 -#: BankAccounts.php:223 BOMs.php:149 COGSGLPostings.php:108 -#: COGSGLPostings.php:206 CreditStatus.php:174 Currencies.php:272 -#: CustomerBranches.php:414 Customers.php:1027 Customers.php:1061 -#: CustomerTypes.php:202 EDIMessageFormat.php:150 Factors.php:329 -#: FixedAssetCategories.php:186 FixedAssetLocations.php:107 -#: FreightCosts.php:240 GeocodeSetup.php:173 GLAccounts.php:312 GLTags.php:91 -#: Labels.php:411 Locations.php:382 MRPDemands.php:306 MRPDemandTypes.php:120 -#: PaymentMethods.php:200 PaymentTerms.php:205 PcAssignCashToTab.php:259 -#: PcClaimExpensesFromTab.php:252 PcExpenses.php:223 PcTabs.php:234 -#: PcTypeTabs.php:172 PO_AuthorisationLevels.php:151 Prices_Customer.php:278 -#: Prices.php:251 PurchData.php:204 SalesCategories.php:256 -#: SalesGLPostings.php:132 SalesGLPostings.php:245 SalesPeople.php:232 -#: SalesTypes.php:206 SecurityTokens.php:128 SelectCustomer.php:612 -#: SelectCustomer.php:630 SelectCustomer.php:654 SelectCustomer.php:671 -#: SelectCustomer.php:695 SelectCustomer.php:712 Shippers.php:143 -#: StockCategories.php:242 SupplierContacts.php:163 SupplierTypes.php:189 -#: SuppTransGLAnalysis.php:120 TaxAuthorities.php:174 TaxCategories.php:182 -#: TaxGroups.php:188 TaxProvinces.php:180 UnitsOfMeasure.php:185 -#: WorkCentres.php:141 WWW_Access.php:123 WWW_Users.php:318 -#: includes/InputSerialItems.php:88 includes/OutputSerialItems.php:20 -#, php-format -msgid "Edit" -msgstr "Modifier" +#: Locations.php:33 +msgid "A cash sale customer and branch are necessary to fully setup the counter sales functionality" +msgstr "Un client vente direct ainsi qu'une agence sont nécessaires pour activer toutes les fonctionnalités de la vente au comptoir" -#: AccountGroups.php:263 -#, fuzzy -msgid "Are you sure you wish to delete this account group?" -msgstr "Etes-vous sûr de vouloir supprimer cette branche?" +#: DiscountCategories.php:244 +msgid "a complete stock category" +msgstr "une catégorie stock complet" -#: AccountGroups.php:263 AccountSections.php:200 AddCustomerContacts.php:150 -#: AddCustomerNotes.php:142 AddCustomerTypeNotes.php:129 Areas.php:165 -#: BankAccounts.php:224 BOMs.php:151 COGSGLPostings.php:109 -#: COGSGLPostings.php:207 ContractBOM.php:266 ContractOtherReqts.php:119 -#: CounterSales.php:822 Credit_Invoice.php:381 CreditStatus.php:175 -#: Currencies.php:275 CustomerReceipt.php:918 Customers.php:1062 -#: CustomerTypes.php:203 DiscountCategories.php:219 DiscountMatrix.php:182 -#: EDIMessageFormat.php:151 FixedAssetCategories.php:187 FreightCosts.php:241 -#: GeocodeSetup.php:174 GLAccounts.php:313 GLJournal.php:427 GLTags.php:92 -#: Labels.php:411 Locations.php:383 MRPDemands.php:307 MRPDemandTypes.php:121 -#: PaymentMethods.php:201 Payments.php:1069 PaymentTerms.php:206 -#: PcAssignCashToTab.php:263 PcClaimExpensesFromTab.php:253 PcExpenses.php:224 -#: PcExpensesTypeTab.php:185 PcTabs.php:235 PcTypeTabs.php:173 -#: PO_AuthorisationLevels.php:153 PO_Items.php:709 Prices_Customer.php:279 -#: Prices.php:252 PurchData.php:205 SalesAnalReptCols.php:299 -#: SalesAnalRepts.php:303 SalesCategories.php:257 SalesGLPostings.php:133 -#: SalesGLPostings.php:246 SalesPeople.php:233 SalesTypes.php:207 -#: SecurityTokens.php:129 SelectCreditItems.php:765 SelectCustomer.php:613 -#: SelectCustomer.php:631 SelectCustomer.php:655 SelectCustomer.php:672 -#: SelectCustomer.php:696 SelectCustomer.php:713 SelectOrderItems.php:1399 -#: Shipments.php:439 Shippers.php:144 SpecialOrder.php:656 -#: StockCategories.php:243 StockCategories.php:557 StockLocTransfer.php:302 -#: SuppContractChgs.php:99 SuppCreditGRNs.php:102 SuppFixedAssetChgs.php:87 -#: SuppInvGRNs.php:147 SupplierContacts.php:164 SupplierTypes.php:191 -#: SuppShiptChgs.php:90 SuppTransGLAnalysis.php:121 TaxAuthorities.php:175 -#: TaxCategories.php:183 TaxGroups.php:189 TaxProvinces.php:181 -#: UnitsOfMeasure.php:186 WorkCentres.php:142 WOSerialNos.php:320 -#: WWW_Access.php:124 WWW_Users.php:319 includes/InputSerialItemsKeyed.php:58 -#: includes/OutputSerialItems.php:99 -#, php-format -msgid "Delete" -msgstr "Supprimer" +#: Credit_Invoice.php:67 +msgid "A credit cannot be produced for the selected invoice" +msgstr "Un crédit ne peut être produit pour la facture sélectionnée" -#: AccountGroups.php:271 -msgid "Review Account Groups" -msgstr "R�iser les Postes de Comptes" +#: api/api_xml-rpc.php:382 +msgid "A currency abbreviation as returned by the GetCurrencyList function." +msgstr "Une abréviation de change tel que retourné par la fonction GetCurrencyList." -#: AccountGroups.php:291 -msgid "An error occurred in retrieving the account group information" -msgstr "" -"Une erreur s'est produite dans la récupération des informations du groupe de " -"comptes" +#: Prices_Customer.php:27 +msgid "A customer must be selected from the customer selection screen" +msgstr "Un client doit être choisi parmi l'écran de sélection des clients" -#: AccountGroups.php:292 -msgid "" -"The SQL that was used to retrieve the account group and that failed in the " -"process was" -msgstr "" -"Le SQL qui a été utilisé pour récupérer le groupe compte et qui a échoué " -"dans le processus a été" +#: CustLoginSetup.php:15 +msgid "A customer must first be selected before logins can be defined for it" +msgstr "Un client doit être sélectionné avant avant de pouvoir modifier ses paramètres" -#: AccountGroups.php:295 -msgid "The account group name does not exist in the database" -msgstr "Le nom du groupe compte n'existe pas dans la base de données" +#: api/api_xml-rpc.php:1758 +msgid "A customer type ID as returned by the GetCustomerTypeList function." +msgstr "Un ID type de client, tel que retourné par la fonction GetCustomerTypeList." -#: AccountGroups.php:311 GLAccounts.php:243 GLAccounts.php:292 -#: Z_ImportGLAccountGroups.php:26 -msgid "Account Group" -msgstr "Poste de Comptes" +#: Stocks.php:95 +msgid "a description is required" +msgstr "une description est requise" -#: AccountGroups.php:335 -msgid "Account Group Name" -msgstr "Nom du groupe compte" +#: SpecialOrder.php:560 +msgid "A freight charge may also be applicable" +msgstr "Un frais de transport peut également être applicable" -#: AccountGroups.php:344 AccountGroups.php:346 -msgid "Top Level Group" -msgstr "Groupe de Haut Niveau" +#: api/api_xml-rpc.php:2011 +msgid "A general ledger account code as returned by the GetGLAccountList function." +msgstr "Un code du grand livre général compte que retournée par la fonction GetGLAccountList." -#: AccountGroups.php:360 -msgid "Section In Accounts" -msgstr "Num�o de Rubrique" +#: PcExpenses.php:83 +msgid "A general ledger code must be selected for this expense" +msgstr "Sélectionnez un compte GL pour ces frais" -#: AccountGroups.php:397 AccountSections.php:264 AddCustomerContacts.php:258 -#: AddCustomerNotes.php:245 AddCustomerTypeNotes.php:210 Areas.php:227 -#: BankAccounts.php:391 BOMs.php:759 COGSGLPostings.php:354 -#: CreditStatus.php:257 Currencies.php:401 CustLoginSetup.php:272 -#: DiscountMatrix.php:141 EDIMessageFormat.php:248 -#: FixedAssetCategories.php:344 FixedAssetLocations.php:156 -#: FreightCosts.php:339 GeocodeSetup.php:270 GLAccounts.php:262 -#: Locations.php:597 MRPDemands.php:419 MRPDemandTypes.php:187 -#: OffersReceived.php:56 OffersReceived.php:143 PaymentMethods.php:282 -#: PaymentTerms.php:309 PO_AuthorisationLevels.php:248 Prices_Customer.php:356 -#: SalesAnalReptCols.php:552 SalesAnalRepts.php:514 SalesGLPostings.php:416 -#: SalesPeople.php:369 Shippers.php:199 StockCategories.php:584 -#: SupplierContacts.php:281 SuppLoginSetup.php:293 TaxAuthorities.php:327 -#: TaxCategories.php:237 TaxProvinces.php:235 UnitsOfMeasure.php:240 -#: WorkCentres.php:279 WWW_Users.php:678 -msgid "Enter Information" -msgstr "Valider" +#: GoodsReceived.php:457 +msgid "A GRN record could not be inserted" +msgstr "Un record GRN ne pouvait pas être inséré" -#: AccountSections.php:7 index.php:1303 -msgid "Account Sections" -msgstr "Sections compte" +#: SalesAnalRepts.php:85 +msgid "A group by item must be specified for the report to have any output" +msgstr "Un groupe par point doit être précisé pour le rapport d'avoir une sortie" -#: AccountSections.php:66 -msgid "The account section already exists in the database" -msgstr "La section compte existe déjà dans la base de données" +#: api/api_xml-rpc.php:538 +msgid "A hold reason abbreviation as returned by the GetHoldReasonList function." +msgstr "Une abréviation raison tenir, tel que retourné par la fonction GetHoldReasonList." -#: AccountSections.php:73 -#, fuzzy -msgid "The account section name cannot contain any of the illegal characters" -msgstr "Le nom de la section compte ne peut pas contenir le caractère" +#: GLAccountInquiry.php:313 +msgid "A log of the account differences for the periods report shows below" +msgstr "Un compte-rendu des différences sur le compte pour les périodes traitées est disponible ci-dessous" -#: AccountSections.php:79 -msgid "The account section name must contain at least one character" -msgstr "Le nom de la section de compte doit contenir au moins un caractère" +#: Stocks.php:101 +msgid "a long description is required" +msgstr "une description longue est requise" -#: AccountSections.php:85 AccountSections.php:91 -msgid "The section number must be an integer" -msgstr "Le numéro de l'article doit être un entier" +#: Credit_Invoice.php:125 +msgid "A manual credit note will need to be prepared" +msgstr "Un avoir manuel devra être préparé" -#: AccountSections.php:136 -msgid "" -"Cannot delete this account section because general ledger accounts groups " -"have been created using this section" -msgstr "" -"Impossible de supprimer cette section compte parce comptes du grand livre " -"général groupes ont été créés à l'aide du présent article" +#: BOMs.php:30 +msgid "A maximum of 15 levels of bill of materials only can be displayed" +msgstr "Un maximum de 15 niveaux de nomenclatures ne peut être affichée" -#: AccountSections.php:137 -msgid "general ledger accounts groups that refer to this account section" -msgstr "" -"comptes du grand livre général les groupes qui se réfèrent à cette section " -"compte" +#: BOMs.php:336 +msgid "A new component part" +msgstr "Un nouveau composant" -#: AccountSections.php:148 -msgid "section has been deleted" -msgstr "l'article a été supprimé" +#: COGSGLPostings.php:52 +msgid "A new cost of sales posting code has been inserted" +msgstr "Un nouveau prix de revient a été créé" -#: AccountSections.php:173 -msgid "Could not get account group sections because" -msgstr "Impossible d'obtenir sections groupe compte car" +#: CreditStatus.php:103 +msgid "A new credit status record has been inserted" +msgstr "Un nouveau code solvabilité a été ajouté" -#: AccountSections.php:180 AccountSections.php:238 AccountSections.php:256 -msgid "Section Number" -msgstr "Numéro de la section" +#: CustLoginSetup.php:118 +msgid "A new customer login has been created" +msgstr "Un nouvel identifiant client a été crée" -#: AccountSections.php:181 AccountSections.php:260 -msgid "Section Description" -msgstr "Description Section" +#: Factors.php:85 +msgid "A new factoring company for" +msgstr "Une société d'affacturage pour les nouveaux" -#: AccountSections.php:198 -msgid "Restricted" -msgstr "Restreint" +#: FixedAssetCategories.php:111 +msgid "A new fixed asset category record has been added for" +msgstr "Un nouveau record fixe catégorie d'actifs a été ajoutée pour" -#: AccountSections.php:209 -msgid "Review Account Sections" -msgstr "Les articles de revue de comptes" +#: GeocodeSetup.php:98 +msgid "A new geocode status record has been inserted" +msgstr "Un record géocoder nouveau statut a été inséré" -#: AccountSections.php:227 -msgid "Could not retrieve the requested section please try again." -msgstr "" -"Impossible de récupérer la section demandée s'il vous plaît essayer à " -"nouveau." +#: MRPDemands.php:210 +msgid "A new MRP demand record has been added to the database for" +msgstr "Un record nouvelle demande MRP a été ajouté à la base de données" -#: AddCustomerContacts.php:6 AddCustomerContacts.php:61 SelectCustomer.php:605 -#: SelectCustomer.php:637 -msgid "Customer Contacts" -msgstr "Contacts client" +#: RecurringSalesOrdersProcess.php:147 +msgid "A new order has been created from a recurring order template for customer" +msgstr "Un nouvel ordre a été créé à partir d'un modèle de commande récurrente pour le client" -#: AddCustomerContacts.php:20 CustEDISetup.php:9 CustLoginSetup.php:21 -#: Z_CheckDebtorsControl.php:20 -msgid "Back to Customers" -msgstr "Retour aux clients" +#: RecurringSalesOrders.php:156 +msgid "A new recurring order can only be created if an order template has already been created from the normal order entry screen" +msgstr "Un nouvel ordre récurrents ne peuvent être créés si un modèle de commande a déjà été créé à partir de l'écran de saisie ordre normal" -#: AddCustomerContacts.php:26 -#, fuzzy -msgid "Contacts for Customer:" -msgstr "Contacts pour le client:" +#: SalesCategories.php:103 +msgid "A new Sales category record has been added" +msgstr "Un record de vente nouvelle catégorie a été ajoutée" -#: AddCustomerContacts.php:29 -#, fuzzy -msgid "Edit contact for" -msgstr "Modifier contact pour" +#: SalesPeople.php:120 +msgid "A new salesperson record has been added for" +msgstr "Un nouveau vendeur a été ajouté pour" -#: AddCustomerContacts.php:41 -#, fuzzy -msgid "The Contact ID must be an integer." -msgstr "Le contact doit être un nombre entier." +#: StockCategories.php:157 +msgid "A new stock category record has been added for" +msgstr "Un record de nouvelles actions catégorie a été ajoutée pour" -#: AddCustomerContacts.php:44 -#, fuzzy -msgid "The contact name must be forty characters or less long" -msgstr "Le nom du contact doit être quarante caractères ou moins long" +#: Suppliers.php:567 +msgid "A new supplier for" +msgstr "Un nouveau fournisseur pour" -#: AddCustomerContacts.php:47 -#, fuzzy -msgid "The contact name may not be empty" -msgstr "Le nom de contact peut ne pas être vide" +#: SuppLoginSetup.php:105 +msgid "A new supplier login has been created" +msgstr "Un nouvel identifiant de fournisseur vient d'être créé." -#: AddCustomerContacts.php:50 -#, fuzzy -msgid "The contact email address is not a valid email address" -msgstr "" -"L'adresse email ne semble pas être une adresse email valide. La transaction " -"n'a pas été envoyé par courriel" +#: TaxGroups.php:45 +msgid "A new tax group could not be added because a tax group already exists for" +msgstr "Un groupe de nouvel impôt ne peut être ajouté, car un groupe de taxe existe déjà pour" -#: AddCustomerContacts.php:61 AddCustomerNotes.php:52 -#: AddCustomerTypeNotes.php:49 Areas.php:73 CustomerTypes.php:69 -#: DeliveryDetails.php:776 Factors.php:105 FixedAssetItems.php:246 -#: MRPCalendar.php:176 PcAssignCashToTab.php:88 PcClaimExpensesFromTab.php:79 -#: PcExpenses.php:95 PcTabs.php:102 PcTypeTabs.php:60 PO_Items.php:371 -#: SalesAnalReptCols.php:129 SalesPeople.php:97 SalesTypes.php:66 -#: Stocks.php:497 Suppliers.php:513 SupplierTypes.php:67 -msgid "has been updated" -msgstr "a ��mis �jour" +#: WWW_Users.php:196 +msgid "A new user record has been inserted" +msgstr "Un nouvel utilisateur a été créé" -#: AddCustomerContacts.php:76 -msgid "The contact record has been added" -msgstr "L'enregistrement de contact a été ajouté" +#: CounterSales.php:1191 +msgid "A new work order has been created for" +msgstr "Un nouvel ordre du travail a été créé pour" -#: AddCustomerContacts.php:105 -msgid "The contact record has been deleted" -msgstr "L'enregistrement de contact a été supprimé" +#: Stocks.php:1155 +msgid "A number between" +msgstr "Un nombre entre" -#: AddCustomerContacts.php:128 CompanyPreferences.php:223 -#: CustomerBranches.php:368 Customers.php:1014 Customers.php:1022 -#: SalesPeople.php:200 SelectCustomer.php:607 StockDispatch.php:187 -#: StockDispatch.php:199 SupplierContacts.php:150 SuppTransGLAnalysis.php:105 -#: includes/InputSerialItemsFile.php:84 includes/InputSerialItemsFile.php:124 -#: includes/PDFTaxPageHeader.inc:37 -msgid "Name" -msgstr "Nom" +#: SalesAnalReptCols.php:395 +msgid "A number between 1 and 10 is expected" +msgstr "Un nombre entre 1 et 10 devrait" -#: AddCustomerContacts.php:129 AddCustomerContacts.php:223 Customers.php:1015 -#: Customers.php:1023 SelectCustomer.php:608 WWW_Access.php:107 -#: WWW_Access.php:169 -msgid "Role" -msgstr "Rôle" +#: PaymentTerms.php:65 +msgid "A number between 1 and 30 is expected" +msgstr "Veuillez entrer un nombre entre 1 et 30" -#: AddCustomerContacts.php:130 -msgid "Phone no" -msgstr "N° de téléphone" +#: PurchData.php:60 +msgid "a number is expected" +msgstr "un nombre est attendu" -#: AddCustomerContacts.php:131 AddCustomerContacts.php:240 -#: CustomerBranches.php:374 CustomerBranches.php:774 CustomerInquiry.php:253 -#: Customers.php:1017 Customers.php:1025 EmailCustTrans.php:15 -#: EmailCustTrans.php:63 Factors.php:245 Factors.php:292 Locations.php:563 -#: OrderDetails.php:109 PDFRemittanceAdvice.php:243 PO_PDFPurchOrder.php:371 -#: PO_PDFPurchOrder.php:374 PrintCustTrans.php:714 PrintCustTrans.php:945 -#: PrintCustTrans.php:994 PrintCustTransPortrait.php:753 -#: PrintCustTransPortrait.php:999 PrintCustTransPortrait.php:1056 -#: SelectCustomer.php:610 SupplierContacts.php:154 SupplierContacts.php:274 -#: UserSettings.php:184 WWW_Users.php:274 includes/PDFPickingListHeader.inc:25 -#: includes/PDFStatementPageHeader.inc:67 includes/PDFTransPageHeader.inc:82 -#: includes/PDFTransPageHeaderPortrait.inc:109 -#: includes/PO_PDFOrderPageHeader.inc:29 -msgid "Email" -msgstr "Email" +#: SuppPaymentRun.php:244 +msgid "a numeric exchange rate applicable for purchasing the currency to make the payment with must be entered" +msgstr "un taux de change applicable pour l'achat numérique de la monnaie pour effectuer le paiement doit être conclu avec" -#: AddCustomerContacts.php:132 AddCustomerContacts.php:249 Customers.php:1018 -#: Customers.php:1026 PcAssignCashToTab.php:224 PcAssignCashToTab.php:353 -#: PcAuthorizeExpenses.php:92 PcClaimExpensesFromTab.php:214 -#: PcClaimExpensesFromTab.php:372 PcReportTab.php:327 SelectCustomer.php:611 -#: SystemParameters.php:328 WOSerialNos.php:291 WOSerialNos.php:297 -msgid "Notes" -msgstr "Notes" +#: api/api_xml-rpc.php:829 +msgid "A numeric field containing the reorder level for this stockid/location combination." +msgstr "Un champ numérique contenant le niveau de réapprovisionnement pour cet stockid combinaison emplacement." -#: AddCustomerContacts.php:150 SupplierContacts.php:164 -#, php-format -msgid "Are you sure you wish to delete this contact?" -msgstr "Etes-vous sûr de vouloir supprimer ce contact?" +#: CustomerBranches.php:81 +msgid "A package can be delivered by seafreight anywhere in the world normally in less than 60 days" +msgstr "Un package peut être livré par voie maritime partout dans le monde normalement en moins de 60 jours" -#: AddCustomerContacts.php:169 -msgid "Review all contacts for this Customer" -msgstr "Passer en revue tous les contacts pour ce client" +#: PrintCustOrder_generic.php:240 +msgid "A packing slip cannot be printed" +msgstr "Un bordereau d'emballage ne peut pas être imprimé" -#: AddCustomerContacts.php:206 -msgid "Contact Code" -msgstr "Code de contact" +#: api/api_xml-rpc.php:597 +msgid "A payment terms abbreviation as returned by the GetPaymentTermsList function." +msgstr "Une abréviation conditions de paiement, tel que retourné par la fonction GetPaymentTermsList." -#: AddCustomerContacts.php:214 Factors.php:233 SupplierContacts.php:236 -msgid "Contact Name" -msgstr "Nom du contact" +#: GLAccountCSV.php:90 +msgid "A period or range of periods must be selected from the list box" +msgstr "Une période ou la gamme de périodes doivent être choisis parmi la liste" -#: AddCustomerContacts.php:231 Contracts.php:775 PDFRemittanceAdvice.php:239 -#: PO_Header.php:992 PO_Header.php:1073 SelectCreditItems.php:241 -#: SelectCustomer.php:417 SelectOrderItems.php:606 -#: includes/PDFStatementPageHeader.inc:63 includes/PDFTransPageHeader.inc:81 -#: includes/PDFTransPageHeaderPortrait.inc:105 -msgid "Phone" -msgstr "T��hone" +#: GLProfit_Loss.php:137 +#: GLTagProfit_Loss.php:475 +msgid "A period up to 12 months in duration can be specified" +msgstr "Une période maximale de 12 mois la durée peut être spécifiée" -#: AddCustomerNotes.php:6 AddCustomerNotes.php:52 SelectCustomer.php:647 -#: SelectCustomer.php:678 -msgid "Customer Notes" -msgstr "Notes client" +#: SystemParameters.php:426 +msgid "A picking note must be produced before an order can be delivered" +msgstr "Un bon de préparation doit être traduite devant une commande peut être livrée" -#: AddCustomerNotes.php:21 AddCustomerTypeNotes.php:19 -msgid "Back to Select Customer" -msgstr "Retour choix des clients" +#: SupplierAllocations.php:60 +msgid "A positive allocation amount is expected" +msgstr "Un montant de l'allocation positive est attendue" -#: AddCustomerNotes.php:34 -msgid "The contact priority must be an integer." -msgstr "La priorité du contact doit être un nombre entier." +#: Z_DeleteCreditNote.php:70 +msgid "A problem was encountered attempting to reverse the update the sales order detail record" +msgstr "Un problème a été rencontré tente d'inverser la mise à jour la fiche de vente en détail afin" -#: AddCustomerNotes.php:37 AddCustomerTypeNotes.php:34 -msgid "The contact's notes must be two hundred characters or less long" -msgstr "note Le contact doit être deux cents caractères ou moins long" +#: Z_DeleteCreditNote.php:59 +msgid "A problem was encountered trying to delete the Debtor transaction record" +msgstr "Un problème a été rencontré essayer de supprimer l'enregistrement des transactions du débiteur" -#: AddCustomerNotes.php:40 AddCustomerTypeNotes.php:37 -msgid "The contact's notes may not be empty" -msgstr "Les notes de contact ne peut pas être vide" +#: SupplierCredit.php:1051 +#: SupplierInvoice.php:1026 +msgid "a rate of" +msgstr "un taux de" -#: AddCustomerNotes.php:65 -msgid "The contact notes record has been added" -msgstr "L'enregistrement de contact note a été ajoutée" +#: DeliveryDetails.php:73 +msgid "A recurring order cannot be made from a quotation" +msgstr "Une commande récurrente ne peut être faite à partir d'une citation" -#: AddCustomerNotes.php:93 -msgid "The contact note record has been deleted" -msgstr "Le record note de contact a été supprimé" +#: SpecialOrder.php:193 +msgid "a reference more than 3 characters is required before the order can be added" +msgstr "une référence plus de 3 caractères est requis avant que l'ordonnance peut être ajouté" -#: AddCustomerNotes.php:104 -msgid "Notes for Customer" -msgstr "Notes pour le client" +#: Shipments.php:186 +msgid "A reference to the vessel of more than 2 characters is expected" +msgstr "Une référence au navire de plus de 2 caractères devrait" -#: AddCustomerNotes.php:121 AddCustomerNotes.php:225 -#: AddCustomerTypeNotes.php:108 AddCustomerTypeNotes.php:200 -#: BankMatching.php:263 BankReconciliation.php:209 BankReconciliation.php:284 -#: ContractCosting.php:173 CustomerAllocations.php:330 -#: CustomerAllocations.php:363 CustomerInquiry.php:196 -#: CustomerTransInquiry.php:100 GLAccountInquiry.php:152 -#: GLAccountReport.php:338 GLTransInquiry.php:42 MRPCalendar.php:219 -#: PaymentAllocations.php:66 PcAssignCashToTab.php:220 -#: PcAuthorizeExpenses.php:88 PDFRemittanceAdvice.php:300 -#: PrintCustTrans.php:822 PrintCustTransPortrait.php:867 ReverseGRN.php:386 -#: ShipmentCosting.php:538 ShipmentCosting.php:615 Shipments.php:490 -#: StockDispatch.php:189 StockDispatch.php:201 StockLocMovements.php:90 -#: StockMovements.php:94 StockSerialItemResearch.php:81 -#: SupplierAllocations.php:455 SupplierAllocations.php:568 -#: SupplierAllocations.php:643 SupplierInquiry.php:209 -#: SupplierTransInquiry.php:103 includes/PDFQuotationPageHeader.inc:92 -#: includes/PDFQuotationPortraitPageHeader.inc:90 -#: includes/PDFStatementPageHeader.inc:169 includes/PDFTaxPageHeader.inc:36 -#: includes/PDFTransPageHeader.inc:48 -#: includes/PDFTransPageHeaderPortrait.inc:58 -msgid "Date" -msgstr "Date" +#: Shipments.php:189 +msgid "A reference to the voyage (or HAWB in the case of air-freight) of more than 2 characters is expected" +msgstr "Une référence au voyage (ou HAWB dans le cas du fret aérien) de plus de 2 caractères devrait" -#: AddCustomerNotes.php:122 AddCustomerTypeNotes.php:109 PcReportTab.php:173 -#: Stocks.php:1019 UpgradeDatabase.php:184 UpgradeDatabase.php:187 -#: UpgradeDatabase.php:190 UpgradeDatabase.php:193 UpgradeDatabase.php:196 -#: UpgradeDatabase.php:199 UpgradeDatabase.php:202 UpgradeDatabase.php:205 -#: UpgradeDatabase.php:208 Z_Upgrade_3.10-3.11.php:62 -#: Z_Upgrade_3.10-3.11.php:66 Z_Upgrade_3.10-3.11.php:70 -#: Z_Upgrade_3.10-3.11.php:74 Z_Upgrade_3.10-3.11.php:78 -#: Z_Upgrade_3.11-4.00.php:62 Z_Upgrade_3.11-4.00.php:66 -#: Z_Upgrade_3.11-4.00.php:70 Z_Upgrade_3.11-4.00.php:74 -#: Z_Upgrade_3.11-4.00.php:78 -msgid "Note" -msgstr "Note" +#: api/api_xml-rpc.php:1455 +msgid "A sales area code as returned by the GetSalesAreasList function." +msgstr "Un code de surface de vente, tel que retourné par la fonction GetSalesAreasList." -#: AddCustomerNotes.php:123 AddCustomerNotes.php:216 -msgid "WWW" -msgstr "WWW" +#: api/api_xml-rpc.php:1486 +msgid "A sales area description of the sales area of interest." +msgstr "Une description surface de vente de la surface de vente d'intérêt." -#: AddCustomerNotes.php:124 AddCustomerNotes.php:234 -#: AddCustomerTypeNotes.php:111 AddCustomerTypeNotes.php:204 -msgid "Priority" -msgstr "Priorité" +#: SalesGLPostings.php:63 +msgid "A sales gl posting account already exists for the selected area, stock category, salestype" +msgstr "Une vente gl annonce compte existe déjà pour la zone sélectionnée, la catégorie stock, salestype" -#: AddCustomerNotes.php:142 -#, fuzzy, php-format -msgid "Are you sure you wish to delete this customer note?" -msgstr "Etes-vous sûr de vouloir supprimer ce type de client?" +#: api/api_xml-rpc.php:443 +msgid "A sales type abbreviation as returned by the GetSalesTypeList function." +msgstr "Une abréviation du type de vente, tel que retourné par la fonction GetSalesTypeList." -#: AddCustomerNotes.php:161 -msgid "Review all notes for this Customer" -msgstr "Passer en revue toutes les notes pour ce client" +#: api/api_xml-rpc.php:1577 +msgid "A salesman code as returned by the GetSalesmanList function." +msgstr "Un code vendeur, tel que retourné par la fonction GetSalesmanList." -#: AddCustomerNotes.php:199 AddCustomerTypeNotes.php:178 -msgid "Note ID" -msgstr "Note ID" +#: PurchData.php:453 +msgid "A search facility is available below if necessary" +msgstr "Une recherche est disponible ci-dessous si nécessaire" -#: AddCustomerNotes.php:207 -msgid "Contact Note" -msgstr "Contact Note" +#: PrintCustTrans.php:555 +msgid "A sequential range can be printed using the same method as for invoices above" +msgstr "Une gamme séquentiel peut être imprimé en utilisant la même méthode que pour les factures ci-dessus" -#: AddCustomerTypeNotes.php:5 SelectCustomer.php:688 -msgid "Customer Type (Group) Notes" -msgstr "Type de client (en groupe) Notes" +#: api/api_xml-rpc.php:63 +#: api/api_xml-rpc.php:173 +#: api/api_xml-rpc.php:1112 +#: api/api_xml-rpc.php:1181 +#: api/api_xml-rpc.php:2113 +#: api/api_xml-rpc.php:2423 +msgid "A set of key/value pairs where the key must be identical to the name of the field to be updated. " +msgstr "Un ensemble de paires clé / valeur, où la clé doit être identique au nom du champ à mettre à jour. " -#: AddCustomerTypeNotes.php:31 -msgid "The Contact priority must be an integer." -msgstr "La priorité de contact doit être un nombre entier." +#: PrintCustTrans.php:555 +msgid "A single credit note can be printed by only entering a start transaction number" +msgstr "Un seul avoir peut être imprimé saisissant un numéro de début de transaction" -#: AddCustomerTypeNotes.php:49 SelectCustomer.php:719 -msgid "Customer Group Notes" -msgstr "Notes groupe de clients" +#: DiscountCategories.php:243 +msgid "a single stock item" +msgstr "un élément de stock unique" -#: AddCustomerTypeNotes.php:62 -msgid "The contact group notes record has been added" -msgstr "Le groupe de contact notes enregistrement a été ajouté" +#: StockAdjustments.php:312 +msgid "A stock adjustment for" +msgstr "Un ajustement des stocks pour" -#: AddCustomerTypeNotes.php:86 -msgid "The contact group note record has been deleted" -msgstr "Le record note du groupe de contact a été supprimé" +#: api/api_xml-rpc.php:1880 +msgid "A Stock Category ID as returned by the *WHAT* function." +msgstr "Un stock Catégorie ID retourné par la fonction *QU'EST-CE*" -#: AddCustomerTypeNotes.php:98 -msgid "Notes for Customer Type" -msgstr "Notes pour le type de clientèle" +#: api/api_xml-rpc.php:1337 +msgid "A stock location code as returned by the GetLocationList function." +msgstr "Un code de localisation des stocks, tel que retourné par la fonction GetLocationList." -#: AddCustomerTypeNotes.php:110 -msgid "href" -msgstr "href" +#: api/api_xml-rpc.php:1396 +msgid "A stock shipper ID as returned by the GetShippersList function." +msgstr "Un ID expéditeur stock retourné par la fonction GetShippersList." -#: AddCustomerTypeNotes.php:129 -#, fuzzy, php-format -msgid "Are you sure you wish to delete this customer type note?" -msgstr "Etes-vous sûr de vouloir supprimer ce type de client?" +#: StockLocTransferReceive.php:306 +msgid "A stock transfer for item code" +msgstr "Un transfert de stock pour le code article" -#: AddCustomerTypeNotes.php:148 -msgid "Review all notes for this Customer Type" -msgstr "Passer en revue toutes les notes pour ce type de client" +#: api/api_xml-rpc.php:827 +#: api/api_xml-rpc.php:2303 +msgid "A string field containing a valid location code that must already be setup in the locations table. The api will check this before making the enquiry." +msgstr "Un champ de chaîne de caractères contenant un code d'emplacement valide qui doit déjà être installé dans le tableau endroits. L'API vérifier avant de faire l'enquête." -#: AddCustomerTypeNotes.php:192 -msgid "Contact Group Note" -msgstr "Note Groupe de contact" +#: api/api_xml-rpc.php:763 +#: api/api_xml-rpc.php:2219 +#: api/api_xml-rpc.php:2301 +msgid "A string field containing a valid stockid that must already be setup in the stockmaster table. The api will check this before making the enquiry." +msgstr "Un champ de type chaîne contenant un stockid valide qui doit déjà être installé dans le tableau Stockmaster. L'API vérifier avant de faire l'enquête." -#: AddCustomerTypeNotes.php:196 -msgid "Web site" -msgstr "site Web" +#: api/api_xml-rpc.php:2299 +msgid "A string field containing a valid work order number that has already been created. The api will check this before making the enquiry." +msgstr "Un champ de chaîne de caractères contenant un certain nombre de travail valide pour qui a déjà été créé. L'API vérifier avant de faire l'enquête." -#: AgedDebtors.php:14 -msgid "Aged Customer Balance Listing" -msgstr "Liste des comptes clients en �heance" +#: SuppLoginSetup.php:15 +msgid "A supplier must first be selected before logins can be defined for it" +msgstr "Sélectionnez un fournisseur pour paramétrer son identifiant" -#: AgedDebtors.php:15 -msgid "Aged Customer Balances" -msgstr "Bilan de comptes clients en �heance" +#: api/api_xml-rpc.php:1699 +msgid "A tax group ID as returned by the GetTaxgroupList function." +msgstr "Un ID groupe fiscal, tel que retourné par la fonction GetTaxgroupList." -#: AgedDebtors.php:269 AgedDebtors.php:368 AgedDebtors.php:433 -msgid "Aged Customer Account Analysis" -msgstr "Analyse de compte clients en �heance" +#: SecurityTokens.php:55 +msgid "A token description must be entered" +msgstr "une description du jeton doit être fournie" -#: AgedDebtors.php:269 AgedDebtors.php:368 AgedDebtors.php:433 -#: AgedSuppliers.php:111 BOMExtendedQty.php:149 BOMIndented.php:150 -#: BOMIndentedReverse.php:140 BOMListing.php:41 BOMListing.php:52 -#: DebtorsAtPeriodEnd.php:57 DebtorsAtPeriodEnd.php:69 GLBalanceSheet.php:100 -#: GLBalanceSheet.php:139 GLProfit_Loss.php:177 GLTagProfit_Loss.php:191 -#: GLTrialBalance.php:159 InventoryPlanning.php:98 InventoryPlanning.php:173 -#: InventoryPlanning.php:208 InventoryPlanning.php:256 -#: InventoryPlanning.php:294 InventoryPlanningPrefSupplier.php:201 -#: InventoryPlanningPrefSupplier.php:269 InventoryPlanningPrefSupplier.php:303 -#: InventoryPlanningPrefSupplier.php:348 InventoryPlanningPrefSupplier.php:394 -#: InventoryQuantities.php:84 InventoryValuation.php:78 -#: MailInventoryValuation.php:114 MRPPlannedPurchaseOrders.php:114 -#: MRPPlannedWorkOrders.php:106 MRPReport.php:147 MRPReport.php:508 -#: MRPReschedules.php:45 MRPReschedules.php:57 MRPShortages.php:155 -#: MRPShortages.php:167 OutstandingGRNs.php:53 OutstandingGRNs.php:65 -#: PDFCustomerList.php:18 PDFCustomerList.php:230 PDFCustomerList.php:242 -#: PDFLowGP.php:20 PDFStockCheckComparison.php:33 -#: PDFStockCheckComparison.php:59 PDFStockCheckComparison.php:264 -#: ReorderLevel.php:60 SelectAsset.php:37 SelectProduct.php:39 -#: StockCheck.php:66 StockCheck.php:140 SupplierTenders.php:326 -#: SuppPriceList.php:130 includes/PDFPaymentRun_PymtFooter.php:152 -msgid "Problem Report" -msgstr "Rapport de probl�e" +#: Z_ChangeBranchCode.php:37 +msgid "a unique branch code must be entered for the new code" +msgstr "un code d'agence unique doit être saisie pour le nouveau code" -#: AgedDebtors.php:271 CustomerInquiry.php:85 CustomerInquiry.php:109 -#: DebtorsAtPeriodEnd.php:59 -msgid "The customer details could not be retrieved by the SQL because" -msgstr "" -"Impossible de r�up�er l'information detaill� du client par la requ�e SQL car" +#: Z_ChangeCustomerCode.php:28 +msgid "a unique customer code must be entered for the new code" +msgstr "un code client unique doit être saisie pour le nouveau code" -#: AgedDebtors.php:272 AgedDebtors.php:371 AgedDebtors.php:436 -#: AgedSuppliers.php:114 AgedSuppliers.php:199 BOMExtendedQty.php:152 -#: BOMExtendedQty.php:248 BOMIndented.php:153 BOMIndented.php:234 -#: BOMIndentedReverse.php:144 BOMIndentedReverse.php:221 BOMListing.php:44 -#: Credit_Invoice.php:184 DebtorsAtPeriodEnd.php:60 DebtorsAtPeriodEnd.php:72 -#: FTP_RadioBeacon.php:187 GetStockImage.php:150 GLBalanceSheet.php:104 -#: GLBalanceSheet.php:142 GLBalanceSheet.php:305 GLProfit_Loss.php:180 -#: GLProfit_Loss.php:192 GLTagProfit_Loss.php:195 GLTagProfit_Loss.php:208 -#: GLTrialBalance.php:162 GLTrialBalance.php:174 InventoryPlanning.php:101 -#: InventoryPlanning.php:176 InventoryPlanning.php:211 -#: InventoryPlanning.php:259 InventoryPlanning.php:297 -#: InventoryPlanning.php:360 InventoryPlanningPrefSupplier.php:204 -#: InventoryPlanningPrefSupplier.php:272 InventoryPlanningPrefSupplier.php:306 -#: InventoryPlanningPrefSupplier.php:351 InventoryPlanningPrefSupplier.php:397 -#: InventoryPlanningPrefSupplier.php:453 InventoryQuantities.php:87 -#: InventoryQuantities.php:98 InventoryValuation.php:81 -#: InventoryValuation.php:92 MailInventoryValuation.php:117 -#: MailInventoryValuation.php:213 MRPPlannedPurchaseOrders.php:117 -#: MRPPlannedPurchaseOrders.php:128 MRPPlannedWorkOrders.php:109 -#: MRPPlannedWorkOrders.php:120 MRPPlannedWorkOrders.php:308 MRPReport.php:39 -#: MRPReport.php:50 MRPReport.php:150 MRPReschedules.php:48 -#: MRPReschedules.php:60 MRPShortages.php:158 MRPShortages.php:170 -#: OutstandingGRNs.php:56 OutstandingGRNs.php:68 PDFCustomerList.php:233 -#: PDFCustomerList.php:245 PDFGrn.php:123 PDFLowGP.php:59 PDFLowGP.php:71 -#: PDFPriceList.php:128 PDFQuotation.php:270 PDFQuotationPortrait.php:268 -#: PDFRemittanceAdvice.php:83 PDFStockCheckComparison.php:37 -#: PDFStockCheckComparison.php:63 PDFStockCheckComparison.php:268 -#: PO_PDFPurchOrder.php:31 PO_PDFPurchOrder.php:154 -#: PrintCustOrder_generic.php:243 PrintCustOrder.php:220 ReorderLevel.php:63 -#: ReorderLevel.php:152 SalesAnalysis_UserDefined.php:28 -#: SelectCreditItems.php:30 StockCheck.php:47 StockCheck.php:69 -#: StockCheck.php:100 StockCheck.php:143 StockCheck.php:154 StockCheck.php:195 -#: StockDispatch.php:93 StockDispatch.php:106 SupplierBalsAtPeriodEnd.php:54 -#: SupplierBalsAtPeriodEnd.php:65 SuppPaymentRun.php:112 -#: SuppPaymentRun.php:122 SuppPaymentRun.php:186 SuppPaymentRun.php:217 -#: SuppPriceList.php:134 Tax.php:63 Tax.php:168 Tax.php:277 -#: Z_DataExport.php:72 Z_DataExport.php:168 Z_DataExport.php:259 -#: Z_DataExport.php:308 Z_DataExport.php:347 Z_DataExport.php:383 -#: Z_DataExport.php:419 Z_DataExport.php:471 Z_poRebuildDefault.php:38 -#: includes/PDFPaymentRun_PymtFooter.php:59 -#: includes/PDFPaymentRun_PymtFooter.php:89 -#: includes/PDFPaymentRun_PymtFooter.php:119 -#: includes/PDFPaymentRun_PymtFooter.php:156 -#: includes/PDFPaymentRun_PymtFooter.php:187 -#: includes/PDFPaymentRun_PymtFooter.php:218 -#: includes/ConstructSQLForUserDefinedSalesReport.inc:180 -#: includes/ConstructSQLForUserDefinedSalesReport.inc:188 -#: includes/ConstructSQLForUserDefinedSalesReport.inc:340 -msgid "Back to the menu" -msgstr "Retour au menu" +#: Z_ChangeStockCategory.php:39 +msgid "a unique stock category must be entered for the new stock category" +msgstr "une catégorie unique d'actions doivent être inscrits pour la catégorie d'actions nouvelles" -#: AgedDebtors.php:370 -msgid "The details of outstanding transactions for customer" -msgstr "Details sur des transactions clients en �heance" +#: Z_ChangeStockCode.php:40 +msgid "a unique stock code must be entered for the new code" +msgstr "un code de stock unique doit être saisie pour le nouveau code" -#: AgedDebtors.php:370 AgedSuppliers.php:198 GLAccountCSV.php:168 -#: GLAccountInquiry.php:143 GLAccountReport.php:94 PO_Items.php:433 -#: PO_Items.php:557 PO_Items.php:582 SalesAnalReptCols.php:365 -#: SpecialOrder.php:441 StockLocTransferReceive.php:370 -#: StockQuantityByDate.php:121 includes/SelectOrderItems_IntoCart.inc:54 -msgid "could not be retrieved because" -msgstr "ne peut pas �re retrouv�car" +#: SuppFixedAssetChgs.php:32 +msgid "A valid asset must be either selected from the list or entered" +msgstr "Un bien doit être sélectionner à partir de la liste ou saisi au clavier" -#: AgedDebtors.php:373 AgedSuppliers.php:201 Areas.php:95 -#: ConfirmDispatch_Invoice.php:160 ConfirmDispatch_Invoice.php:974 -#: ConfirmDispatch_Invoice.php:988 Contracts.php:580 CounterSales.php... [truncated message content] |
From: <vv...@us...> - 2012-01-24 23:41:57
|
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] |
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] |
From: <vv...@us...> - 2012-01-23 22:18:53
|
Revision: 4836 http://web-erp.svn.sourceforge.net/web-erp/?rev=4836&view=rev Author: vvs2012 Date: 2012-01-23 22:18:42 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/AddCustomerTypeNotes.php trunk/Areas.php trunk/AuditTrail.php trunk/BOMs.php trunk/BankAccounts.php trunk/BankMatching.php trunk/COGSGLPostings.php trunk/CreditItemsControlled.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/CustEDISetup.php trunk/CustomerAllocations.php trunk/CustomerBranches.php trunk/CustomerInquiry.php trunk/CustomerReceipt.php trunk/CustomerTypes.php trunk/Customers.php trunk/DeliveryDetails.php trunk/DiscountCategories.php trunk/DiscountMatrix.php trunk/EDIMessageFormat.php trunk/EmailCustTrans.php trunk/ExchangeRateTrend.php trunk/FTP_RadioBeacon.php trunk/Factors.php trunk/FixedAssetItems.php trunk/FixedAssetRegister.php trunk/FixedAssetTransfer.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLAccountCSV.php trunk/GLAccountInquiry.php trunk/GLAccountReport.php trunk/GLAccounts.php trunk/GLBudgets.php trunk/GLProfit_Loss.php trunk/GLTagProfit_Loss.php trunk/GeocodeSetup.php trunk/Locations.php trunk/MRP.php trunk/MRPDemandTypes.php trunk/MRPDemands.php trunk/MRPPlannedWorkOrders.php trunk/MRPReport.php trunk/MRPShortages.php trunk/PDFCustTransListing.php trunk/PDFCustomerList.php trunk/PDFDIFOT.php trunk/PDFLowGP.php trunk/PDFOrderStatus.php trunk/PDFPeriodStockTransListing.php trunk/PDFPriceList.php trunk/PDFPrintLabel.php trunk/PDFStockTransfer.php trunk/PDFSuppTransListing.php trunk/POReport.php trunk/PO_AuthorisationLevels.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_OrderDetails.php trunk/PO_PDFPurchOrder.php trunk/PO_SelectOSPurchOrder.php trunk/PO_SelectPurchOrder.php trunk/PaymentMethods.php trunk/PaymentTerms.php trunk/Payments.php trunk/PcAssignCashToTab.php trunk/PcAuthorizeExpenses.php trunk/PcClaimExpensesFromTab.php trunk/PcReportTab.php trunk/PcTabs.php trunk/PcTypeTabs.php trunk/Prices.php trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/Prices_Customer.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/PurchData.php trunk/RecurringSalesOrders.php trunk/SMTPServer.php trunk/SalesAnalReptCols.php trunk/SalesAnalRepts.php trunk/SalesCategoryPeriodInquiry.php trunk/SalesGLPostings.php trunk/SalesInquiry.php trunk/SalesTopItemsInquiry.php trunk/SalesTypes.php trunk/SelectAsset.php trunk/SelectCreditItems.php trunk/SelectCustomer.php trunk/SelectGLAccount.php trunk/SelectOrderItems.php trunk/SelectSalesOrder.php trunk/SelectSupplier.php trunk/SelectWorkOrder.php trunk/Shipt_Select.php trunk/StockAdjustments.php trunk/StockAdjustmentsControlled.php trunk/StockCategories.php trunk/StockCostUpdate.php trunk/StockCounts.php trunk/StockLocMovements.php trunk/StockLocTransferReceive.php trunk/StockMovements.php trunk/Stocks.php trunk/SuppContractChgs.php trunk/SuppFixedAssetChgs.php trunk/SuppInvGRNs.php trunk/SuppShiptChgs.php trunk/SuppTransGLAnalysis.php trunk/SupplierContacts.php trunk/SupplierCredit.php trunk/SupplierInquiry.php trunk/SupplierInvoice.php trunk/SupplierTransInquiry.php trunk/Suppliers.php trunk/SystemParameters.php trunk/Tax.php trunk/TaxCategories.php trunk/TaxGroups.php trunk/UserSettings.php trunk/WWW_Access.php trunk/WWW_Users.php trunk/WhereUsedInquiry.php trunk/WorkOrderReceive.php trunk/Z_CheckAllocationsFrom.php trunk/Z_CheckDebtorsControl.php trunk/Z_CurrencyDebtorsBalances.php trunk/Z_DataExport.php trunk/Z_MakeNewCompany.php trunk/Z_ReApplyCostToSA.php trunk/Z_SalesIntegrityCheck.php trunk/doc/Change.log Modified: trunk/AddCustomerTypeNotes.php =================================================================== --- trunk/AddCustomerTypeNotes.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/AddCustomerTypeNotes.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -198,7 +198,7 @@ </tr> <tr> <td>'. _('Date').':</td> - <td><input type="text" name="date" class=date alt="'.$_SESSION['DefaultDateFormat'].'" value="'. $_POST['date']. '" size="10" maxlength="10" /></td> + <td><input type="text" name="date" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" value="'. $_POST['date']. '" size="10" maxlength="10" /></td> </tr> <tr> <td>'. _('Priority').':</td> Modified: trunk/Areas.php =================================================================== --- trunk/Areas.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Areas.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -213,7 +213,7 @@ echo '<table class="selection"> <tr> <td>' . _('Area Code') . ':</td> - <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength=3 /></td> + <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength="3"/></td> </tr>'; } Modified: trunk/AuditTrail.php =================================================================== --- trunk/AuditTrail.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/AuditTrail.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -39,9 +39,9 @@ echo '<table class="selection">'; echo '<tr><td>'. _('From Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="1" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value="' .$_POST['FromDate']. '" /></td></tr>'; + <td><input tabindex="1" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value="' .$_POST['FromDate']. '" /></td></tr>'; echo '<tr><td>'. _('To Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="2" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value="' . $_POST['ToDate'] . '" /></td></tr>'; + <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value="' . $_POST['ToDate'] . '" /></td></tr>'; // Show user selections echo '<tr><td>'. _('User ID'). '</td> @@ -159,7 +159,7 @@ } $result = DB_query($sql,$db); - echo '<table border=0 width="98%" class=selection>'; + echo '<table border="0" width="98%" class="selection">'; echo '<tr><th>' . _('Date/Time') . '</th> <th>' . _('User') . '</th> <th>' . _('Type') . '</th> @@ -206,7 +206,7 @@ echo '</tr>'; } } - echo '<tr bgcolor=black> <td colspan="6"></td> </tr>'; + echo '<tr bgcolor="black"> <td colspan="6"></td> </tr>'; } unset($_SESSION['SQLString']); } Modified: trunk/BOMs.php =================================================================== --- trunk/BOMs.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BOMs.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -418,7 +418,7 @@ break; } - echo '<br /><div class=centre><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('Select a Different BOM') . '</a></div><br />'; + echo '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('Select a Different BOM') . '</a></div><br />'; echo '<table class="selection">'; // Display Manufatured Parent Items $sql = "SELECT bom.parent, @@ -834,7 +834,7 @@ '<div class="page_help_text">'. _('Select a manufactured part') . ' (' . _('or Assembly or Kit part') . ') ' . _('to maintain the bill of material for using the options below') . '<br /><font size="1">' . _('Parts must be defined in the stock item entry') . '/' . _('modification screen as manufactured') . ', ' . _('kits or assemblies to be available for construction of a bill of material') .'</div>'. '</font> <br /> <table class="selection" cellpadding="3" colspan="4"> - <tr><td><font size=1>' . _('Enter text extracts in the') . ' <b>' . _('description') . '</b>:</font></td> + <tr><td><font size="1">' . _('Enter text extracts in the') . ' <b>' . _('description') . '</b>:</font></td> <td><input tabindex="1" type="text" name="Keywords" size="20" maxlength="25" /></td> <td><font size="3"><b>' . _('OR') . '</b></font></td> <td><font size="1">' . _('Enter extract of the') . ' <b>' . _('Stock Code') . '</b>:</font></td> Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BankAccounts.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -213,7 +213,7 @@ } elseif ($myrow['invoice']==2) { $DefaultBankAccount=_('Currency Default'); } - printf('<td>%s<br /><font size=2>%s</font></td> + printf('<td>%s<br /><font size="2">%s</font></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -324,9 +324,9 @@ } echo '<tr><td>' . _('Bank Account Name') . ': </td> - <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size=40 maxlength=50 /></td></tr> + <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Account Code') . ': </td> - <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size=40 maxlength=50 /></td></tr> + <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Account Number') . ': </td> <td><input tabindex="3" ' . (in_array('AccountNumber',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountNumber" value="' . $_POST['BankAccountNumber'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Address') . ': </td> Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BankMatching.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -82,7 +82,7 @@ echo '<div class="page_help_text">' . _('Use this screen to match webERP Receipts and Payments to your Bank Statement. Check your bank statement and click the check-box when you find the matching transaction.') . '</div><br />'; -echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; +echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="Type" value="' . $Type . '" />'; Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/COGSGLPostings.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -258,9 +258,9 @@ FROM areas"; $result = DB_query($sql,$db); -echo '<table class=selection> +echo '<table class="selection"> <tr><td>' . _('Area') . ':</td> - <td><select tabindex=1 name="Area"> + <td><select tabindex="1" name="Area"> <option value="AN">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { @@ -281,7 +281,7 @@ </tr> <tr> <td>' . _('Stock Category') . ':</td> - <td><select tabindex=2 name="StkCat"> + <td><select tabindex="2" name="StkCat"> <option value="ANY">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { @@ -303,7 +303,7 @@ </tr> <tr> <td>' . _('Sales Type') . ' / ' . _('Price List') . ':</td> - <td><select tabindex=3 name="SalesType"> + <td><select tabindex="3" name="SalesType"> <option value="AN">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { Modified: trunk/CreditItemsControlled.php =================================================================== --- trunk/CreditItemsControlled.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CreditItemsControlled.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -75,7 +75,7 @@ echo '<br /><a href="' . $rootpath . '/' . $CreditLink . '">'. _('Back to Credit Note Entry'). '</a>'; -echo '<br /><font size=2><b>'. _('Credit of Controlled Item'). ' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('from') .' '. $_SESSION['CreditItems']->CustomerName . '</b></font></div>'; +echo '<br /><font size="2"<b>'. _('Credit of Controlled Item'). ' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('from') .' '. $_SESSION['CreditItems']->CustomerName . '</b></font></div>'; /** vars needed by InputSerialItem : **/ $LocationOut = $_SESSION['CreditItems']->Location; Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CreditStatus.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -248,7 +248,7 @@ echo '<td><input tabindex="3" type="checkbox" checked name="DisallowInvoices" /></td> </tr>'; } else { - echo '<td><input tabindex=3 type="checkbox" name="DisallowInvoices" /></td> + echo '<td><input tabindex="3" type="checkbox" name="DisallowInvoices" /></td> </tr>'; } echo '</table> Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Credit_Invoice.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -262,9 +262,9 @@ echo '<table cellpadding="2" colspan="7" class="selection"><tr>'; echo '<tr><th colspan="13">'; - echo '<div class="centre"><font color=blue size=4><b>' . _('Credit Invoice') . ' ' . $_SESSION['ProcessingCredit'] . '</b> - <b>'.' - ' . $_SESSION['CreditItems']->CustomerName . '</b></font> - <font size=3 color=blue> - ' . _('Credit Note amounts stated in') . ' ' . $_SESSION['CreditItems']->DefaultCurrency . '</div></font>'; + echo '<div class="centre"><b>' . _('Credit Invoice') . ' ' . $_SESSION['ProcessingCredit'] . '</b> + <b>'.' - ' . $_SESSION['CreditItems']->CustomerName . '</b> + - ' . _('Credit Note amounts stated in') . ' ' . $_SESSION['CreditItems']->DefaultCurrency . '</div>'; echo '</th></tr>'; echo '<th>' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> @@ -315,19 +315,19 @@ if ($LnItm->Controlled==1){ - echo '<td><input type="hidden" name="Quantity_' . $LnItm->LineNumber .'" value=' . $LnItm->QtyDispatched . '><a href="' . $rootpath . '/CreditItemsControlled.php?LineNo=' . $LnItm->LineNumber . '&CreditInvoice=Yes">' . $LnItm->QtyDispatched . '</a></td>'; + echo '<td><input type="hidden" name="Quantity_' . $LnItm->LineNumber .'" value="' . $LnItm->QtyDispatched . '"><a href="' . $rootpath . '/CreditItemsControlled.php?LineNo=' . $LnItm->LineNumber . '&CreditInvoice=Yes">' . $LnItm->QtyDispatched . '</a></td>'; } else { - echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Quantity_' . $LnItm->LineNumber .'" maxlength=6 size=6 value=' . $LnItm->QtyDispatched . '></td>'; + echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Quantity_' . $LnItm->LineNumber .'" maxlength="6" size="6" value="' . $LnItm->QtyDispatched . '"></td>'; } $DisplayLineTotal = locale_number_format($LineTotal,$_SESSION['CreditItems']->CurrDecimalPlaces); $j++; - echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Price_' . $LnItm->LineNumber . '" maxlength=12 size=6 value=' . $LnItm->Price . '></td> - <td><input tabindex=' . $j . ' type="text" class="number" name="Discount_' . $LnItm->LineNumber . '" maxlength=3 size=3 value=' . ($LnItm->DiscountPercent * 100) . '></td> + echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Price_' . $LnItm->LineNumber . '" maxlength="12" size="6" value="' . $LnItm->Price . '"></td> + <td><input tabindex=' . $j . ' type="text" class="number" name="Discount_' . $LnItm->LineNumber . '" maxlength="3" size="3" value="' . ($LnItm->DiscountPercent * 100) . '"></td> <td class="number">' . $DisplayLineTotal . '</td>'; /*Need to list the taxes applicable to this line */ @@ -355,7 +355,7 @@ } if (!isset($_POST['ProcessCredit'])) { echo '<input type="text" class="number" name="' . $LnItm->LineNumber . $Tax->TaxCalculationOrder . - '_TaxRate" maxlength=4 size=4 value="' . $Tax->TaxRate*100 . '">'; + '_TaxRate" maxlength="4" size="4" value="' . $Tax->TaxRate*100 . '">'; } $i++; if ($Tax->TaxOnTax ==1){ @@ -380,7 +380,7 @@ <td class="number">' . $DisplayGrossLineTotal . '</td> <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?Delete=' . $LnItm->LineNumber . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this item from the credit?') . '\');">' . _('Delete') . '</a></td></tr>'; - echo '<tr' . $RowStarter . '><td colspan="12"><textarea tabindex=' . $j .' name="Narrative_' . $LnItm->LineNumber . '" cols=100% rows=1>' . $LnItm->Narrative . '</textarea><br /><hr></td></tr>'; + echo '<tr' . $RowStarter . '><td colspan="12"><textarea tabindex=' . $j .' name="Narrative_' . $LnItm->LineNumber . '" cols="100%" rows="1">' . $LnItm->Narrative . '</textarea><br /><hr></td></tr>'; $j++; } } /*end foreach loop displaying the invoice lines to credit */ @@ -875,7 +875,7 @@ $StkMoveNo = DB_Last_Insert_ID($db,'stockmoves','stkmoveno'); /*Insert the StockSerialMovements and update the StockSerialItems for controlled items*/ - //echo "<div align=left><pre>"; var_dump($CreditLine); echo "</pre> </div>"; + //echo "<div align="left"><pre>"; var_dump($CreditLine); echo "</pre> </div>"; if ($CreditLine->Controlled ==1){ foreach($CreditLine->SerialItems as $Item){ /*We need to add the StockSerialItem record and The StockSerialMoves as well */ Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Currencies.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -231,7 +231,7 @@ while ($myrow = DB_fetch_array($result)) { if ($myrow[1]==$FunctionalCurrency){ - echo '<tr bgcolor=#FFbbbb>'; + echo '<tr bgcolor="#FFbbbb">'; } elseif ($k==1){ echo '<tr class="EvenTableRows">'; $k=0; Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustEDISetup.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -97,30 +97,30 @@ <td>' . $myrow['name'] . '</td> </tr>'; echo '<tr><td>'._('Enable Sending of EDI Invoices').':</td> - <td><select tabindex=1 name="EDIInvoices">'; + <td><select tabindex="1" name="EDIInvoices">'; if ($myrow['ediinvoices']==0){ - echo '<option selected value=0>'._('Disabled') . '</option>'; - echo '<option value=1>'._('Enabled'). '</option>'; + echo '<option selected value="0">'._('Disabled') . '</option>'; + echo '<option value="1">'._('Enabled'). '</option>'; } else { - echo '<option value=0>'._('Disabled') . '</option>'; - echo '<option selected value=1>'._('Enabled') . '</option>'; + echo '<option value="0">'._('Disabled') . '</option>'; + echo '<option selected value="1">'._('Enabled') . '</option>'; } echo '</select><a href="' . $rootpath . '/EDIMessageFormat.php?MessageType=INVOIC&PartnerCode=' . $_SESSION['CustomerID'] . '">'._('Create') . '/' . _('Edit Invoice Message Format').'</a></td> </tr>'; echo '<tr><td>'._('Enable Receiving of EDI Orders') . ':</td> - <td><select tabindex=2 name="EDIOrders">'; + <td><select tabindex="2" name="EDIOrders">'; if ($myrow['ediorders']==0){ - echo '<option selected value=0>'._('Disabled') . '</option>'; - echo '<option value=1>'._('Enabled') . '</option>'; + echo '<option selected value="0">'._('Disabled') . '</option>'; + echo '<option value="1">'._('Enabled') . '</option>'; } else { - echo '<option value=0>'._('Disabled') . '</option>'; - echo '<option selected value=1>'._('Enabled') . '</option>'; + echo '<option value="0">'._('Disabled') . '</option>'; + echo '<option selected value="1">'._('Enabled') . '</option>'; } echo '</select></td> @@ -128,10 +128,10 @@ echo '<tr><td>'._('Customer EDI Reference') . ':</td> <td><input ' . (in_array('EDIReference',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=3 type="text" name="EDIReference" size=20 maxlength=20 value="' . $myrow['edireference'] . '"></td></tr>'; + ' tabindex=3 type="text" name="EDIReference" size="20" maxlength="20" value="' . $myrow['edireference'] . '"></td></tr>'; echo '<tr><td>'._('EDI Communication Method') . ':</td> - <td><select tabindex=4 name="EDITransport" >'; + <td><select tabindex="4" name="EDITransport" >'; if ($myrow['editransport']=='email'){ echo '<option selected value="email">'._('Email Attachments') . '</option>'; @@ -145,18 +145,18 @@ echo '<tr><td>'._('FTP Server or Email Address') . ':</td> <td><input ' . (in_array('EDIAddress',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=5 type="text" name="EDIAddress" size=42 maxlength=40 value="' . $myrow['ediaddress'] . '"></td></tr>'; + ' tabindex=5 type="text" name="EDIAddress" size="42" maxlength="40" value="' . $myrow['ediaddress'] . '"></td></tr>'; if ($myrow['editransport']=='ftp'){ echo '<tr><td>'._('FTP Server User Name') . ':</td> - <td><input tabindex=6 type="text" name="EDIServerUser" size=20 maxlength=20 value="' . $myrow['ediserveruser'] . '" /></td></tr>'; + <td><input tabindex="6" type="text" name="EDIServerUser" size="20" maxlength="20" value="' . $myrow['ediserveruser'] . '" /></td></tr>'; echo '<tr><td>'._('FTP Server Password') . ':</td> - <td><input tabindex=7 type="text" name="EDIServerPwd" size=20 maxlength=20 value="' . $myrow['ediserverpwd'] . '" /></td></tr>'; + <td><input tabindex="7" type="text" name="EDIServerPwd" size="20" maxlength="20" value="' . $myrow['ediserverpwd'] . '" /></td></tr>'; } echo '</table> - <br /><div class="centre"><input tabindex=8 type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> + <br /><div class="centre"><input tabindex="8" type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> </form>'; include('includes/footer.inc'); Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerAllocations.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -336,7 +336,7 @@ if (isset($_POST['AllocTrans'])) { // Page called with trans number - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="AllocTrans" value="' . $_POST['AllocTrans'] . '" />'; Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerBranches.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -659,14 +659,14 @@ if (!isset($_POST['EstDeliveryDays'])) { $_POST['EstDeliveryDays']=0; } - echo '<td><input ' .(in_array('EstDeliveryDays',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="11" type="text" class=number name="EstDeliveryDays" size="4" maxlength="2" value='. $_POST['EstDeliveryDays'].' /></td> + echo '<td><input ' .(in_array('EstDeliveryDays',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="11" type="text" class="number" name="EstDeliveryDays" size="4" maxlength="2" value="'. $_POST['EstDeliveryDays'].'" /></td> </tr> <tr> <td>'._('Forward Date After (day in month)').':</td>'; if (!isset($_POST['FwdDate'])) { $_POST['FwdDate']=0; } - echo '<td><input ' .(in_array('FwdDate',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="12" type="text" class=number name="FwdDate" size="4" maxlength="2" value='. $_POST['FwdDate'].' /></td> + echo '<td><input ' .(in_array('FwdDate',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="12" type="text" class="number" name="FwdDate" size="4" maxlength="2" value="'. $_POST['FwdDate'].'" /></td> </tr>'; @@ -814,11 +814,11 @@ <td>'._('Transactions on this branch') . ':</td> <td><select tabindex="20" name="DisableTrans">'; if ($_POST['DisableTrans']==0){ - echo '<option selected value=0>' . _('Enabled') . '</option> - <option value=1>' . _('Disabled') . '</option>'; + echo '<option selected value="0">' . _('Enabled') . '</option> + <option value="1">' . _('Disabled') . '</option>'; } else { - echo '<option selected value=1>' . _('Disabled') . '</option> - <option value=0>' . _('Enabled') . '</option>'; + echo '<option selected value="1">' . _('Disabled') . '</option> + <option value="0">' . _('Enabled') . '</option>'; } echo ' </select></td></tr>'; Modified: trunk/CustomerInquiry.php =================================================================== --- trunk/CustomerInquiry.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerInquiry.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -135,11 +135,11 @@ echo '<table class="selection" width="70%"> <tr> - <th width=20%>' . _('Total Balance') . '</th> - <th width=20%>' . _('Current') . '</th> - <th width=20%>' . _('Now Due') . '</th> - <th width=20%>' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th> - <th width=20%>' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; + <th width="20%">' . _('Total Balance') . '</th> + <th width="20%">' . _('Current') . '</th> + <th width="20%">' . _('Now Due') . '</th> + <th width="20%">' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th> + <th width="20%">' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; echo '<tr> <td class="number">' . locale_number_format($CustomerRecord['balance'],$CustomerRecord['decimalplaces']) . '</td> @@ -152,7 +152,7 @@ echo '<br /> <div class="centre"> - <form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post> + <form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post"> <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />' . _('Show all transactions after') . ': <input tabindex="1" type="text" class="date" alt="' .$_SESSION['DefaultDateFormat']. '" id="datepicker" name="TransAfterDate" value="' . $_POST['TransAfterDate'] . '" maxlength="10" size="12" /> <input tabindex="2" type="submit" name="Refresh Inquiry" value="' . _('Refresh Inquiry') . '" /> Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerReceipt.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -1005,7 +1005,7 @@ ORDER BY tagref"; $result=DB_query($SQL,$db); - echo '<option value=0></option>'; + echo '<option value="0"></option>'; while ($myrow=DB_fetch_array($result)){ if (isset($_POST['tag']) and $_POST['tag']==$myrow['tagref']){ echo '<option selected value=' . $myrow['tagref'] . '>' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerTypes.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -180,7 +180,7 @@ $sql = "SELECT typeid, typename FROM debtortype"; $result = DB_query($sql,$db); - echo '<br /><table class=selection>'; + echo '<br /><table class="selection">'; echo '<tr> <th>' . _('Type ID') . '</th> <th>' . _('Type Name') . '</th> @@ -222,7 +222,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class=selection>'; //Main table + echo '<p><table class="selection">'; //Main table // The user wish to EDIT an existing type Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Customers.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -420,7 +420,7 @@ } if ($SetupErrors>0) { - echo '<br /><div class=centre><a href="'.htmlspecialchars($_SERVER['PHP_SELF']) .'" >'._('Click here to continue').'</a></div>'; + echo '<br /><div class="centre"><a href="'.htmlspecialchars($_SERVER['PHP_SELF']) .'" >'._('Click here to continue').'</a></div>'; include('includes/footer.inc'); exit; } @@ -431,35 +431,35 @@ $DataError =0; - echo '<table class="selection" cellspacing=4> - <tr><td valign=top><table class="selection">'; + echo '<table class="selection" cellspacing="4"> + <tr><td valign="top"><table class="selection">'; /* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one, then provide an input box for the DebtorNo to manually assigned */ if ($_SESSION['AutoDebtorNo']==0) { - echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex=1 type="text" name="DebtorNo" size=11 maxlength=10 /></td></tr>'; + echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex="1" type="text" name="DebtorNo" size="11" maxlength="10" /></td></tr>'; } echo '<tr><td>' . _('Customer Name') . ':</td> - <td><input tabindex=2 type="Text" name="CustName" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="CustName" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Telephone') . ':</td> - <td><input tabindex=2 type="Text" name="Phone" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Phone" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Facsimile') . ':</td> - <td><input tabindex=2 type="Text" name="Fax" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Fax" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Email Address') . ':</td> - <td><input tabindex=2 type="Text" name="Email" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Email" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 1 (Street)') . ':</td> - <td><input tabindex=3 type="Text" name="Address1" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="3" type="Text" name="Address1" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 2 (Suburb/City)') . ':</td> - <td><input tabindex=4 type="Text" name="Address2" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="4" type="Text" name="Address2" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 3 (State/Province)') . ':</td> - <td><input tabindex=5 type="Text" name="Address3" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="5" type="Text" name="Address3" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 4 (Postal Code)') . ':</td> - <td><input tabindex=6 type="Text" name="Address4" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="6" type="Text" name="Address4" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 5') . ':</td> - <td><input tabindex=7 type="Text" name="Address5" size=22 maxlength=20 /></td></tr>'; + <td><input tabindex="7" type="Text" name="Address5" size="22" maxlength="20" /></td></tr>'; echo '<tr><td>' . _('Address Line 6') . ':</td> - <td><input tabindex=8 type="Text" name="Address6" size=17 maxlength=15 /></td></tr>'; + <td><input tabindex="8" type="Text" name="Address6" size="17" maxlength="15" /></td></tr>'; @@ -498,13 +498,13 @@ $DateString = Date($_SESSION['DefaultDateFormat']); echo '<tr><td>' . _('Customer Since') . ' (' . $_SESSION['DefaultDateFormat'] . '):</td> - <td><input tabindex=10 type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size=12 maxlength=10 /></td></tr>'; + <td><input tabindex="10" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size="12" maxlength="10" /></td></tr>'; echo '</table></td> <td><table class="selection"> <tr> <td>' . _('Discount Percent') . ':</td> - <td><input tabindex="11" type="textbox" class="number" name="Discount" value=0 size="5" maxlength="4" /></td> + <td><input tabindex="11" type="textbox" class="number" name="Discount" value="0" size="5" maxlength="4" /></td> </tr> <tr> <td>' . _('Discount Code') . ':</td> @@ -531,7 +531,7 @@ echo '<tr> <td>' . _('Payment Terms') . ':</td> - <td><select tabindex=15 name="PaymentTerms">'; + <td><select tabindex="15" name="PaymentTerms">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['termsindicator'] . '">' . $myrow['terms'] . '</option>'; @@ -597,8 +597,8 @@ <tr> <td>' . _('Invoice Addressing') . ':</td> <td><select tabindex="19" name="AddrInvBranch"> - <option selected value=0>' . _('Address to HO') . '</option> - <option value=1>' . _('Address to Branch') . '</option> + <option selected value="0">' . _('Address to HO') . '</option> + <option value="1">' . _('Address to Branch') . '</option> </select> </td> </tr> @@ -946,11 +946,11 @@ <td>' . _('Require Customer PO Line on SO') . ':</td> <td><select name="CustomerPOLine">'; if ($_POST['CustomerPOLine']==0){ - echo '<option selected value=0>' . _('No') . '</option>'; - echo '<option value=1>' . _('Yes') . '</option>'; + echo '<option selected value="0">' . _('No') . '</option>'; + echo '<option value="1">' . _('Yes') . '</option>'; } else { - echo '<option value=0>' . _('No') . '</option>'; - echo '<option selected value=1>' . _('Yes') . '</option>'; + echo '<option value="0">' . _('No') . '</option>'; + echo '<option selected value="1">' . _('Yes') . '</option>'; } echo '</select></td> </tr>'; @@ -1008,7 +1008,7 @@ ORDER BY contid"; $result = DB_query($sql,$db); - echo '<table class=selection>'; + echo '<table class="selection">'; if (isset($_GET['Modify'])) { echo '<tr> <th>' . _('Name') . '</th> Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DeliveryDetails.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -588,20 +588,20 @@ } else { /*link to print the quotation */ - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotation.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Landscape)') .'</a></td> </tr> </table>'; - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotationPortrait.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Portrait)') .'</a></td> </tr> </table>'; } - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="'. $rootpath .'/SelectOrderItems.php?identifier='.$identifier . '&NewOrder=Yes">'. _('Add Another Sales Order') .'</a></td> @@ -807,7 +807,7 @@ echo '</b> ' . _('Customer Name') . ' :<b> ' . $_SESSION['Items'.$identifier]->CustomerName . '</b></p>'; -echo '<form action="' . $_SERVER['PHP_SELF'] . '?identifier='.$identifier . '" method=post>'; +echo '<form action="' . $_SERVER['PHP_SELF'] . '?identifier='.$identifier . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -943,7 +943,7 @@ $DisplayVolume = number_format($_SESSION['Items'.$identifier]->totalVolume,2); $DisplayWeight = number_format($_SESSION['Items'.$identifier]->totalWeight,2); - echo '<table class=selection><tr> + echo '<table class="selection"><tr> <td>'. _('Total Weight') .':</td> <td>'. $DisplayWeight .'</td> <td>'. _('Total Volume') .':</td> @@ -996,7 +996,7 @@ // The estimated Dispatch date or Delivery date for this order echo '<tr> <td>'. _('Estimated Delivery Date') .':</td> - <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size=15 maxlength=14 name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '" /></td> + <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size="15" maxlength="14" name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '" /></td> </tr>'; // The date when a quote was issued to the customer echo '<tr> @@ -1034,14 +1034,14 @@ </tr> <tr> <td>'. _('Contact Phone Number') .':</td> - <td><input type="text" size=25 maxlength=25 name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" /></td> + <td><input type="text" size="25" maxlength="25" name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" /></td> </tr> <tr> - <td>' . _('Contact Email') . ':</td><td><input type="text" size=40 maxlength=38 name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '" /></td> + <td>' . _('Contact Email') . ':</td><td><input type="text" size="40" maxlength="38" name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '" /></td> </tr> <tr> <td>'. _('Customer Reference') .':</td> - <td><input type="text" size=25 maxlength=25 name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '" /></td> + <td><input type="text" size="25" maxlength="25" name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '" /></td> </tr> <tr> <td>'. _('Comments') .':</td> @@ -1068,11 +1068,11 @@ echo '<tr> <td>'. _('Reprint packing slip') .':</td> <td><select name="ReprintPackingSlip">'; - echo '<option value=0>' . _('Yes') . '</option>'; - echo '<option selected value=1>' . _('No') . '</option>'; + echo '<option value="0">' . _('Yes') . '</option>'; + echo '<option selected value="1">' . _('No') . '</option>'; echo '</select> '. _('Last printed') .': ' . ConvertSQLDate($_SESSION['DatePackingSlipPrinted']) . '</td></tr>'; } else { - echo '<input type="hidden" name="ReprintPackingSlip" value=0 />'; + echo '<input type="hidden" name="ReprintPackingSlip" value="0" />'; } echo '<tr> @@ -1111,11 +1111,11 @@ echo '<tr><td>'. _('Quotation Only') .':</td> <td><select name="Quotation">'; if ($_SESSION['Items'.$identifier]->Quotation==1){ - echo '<option selected value=1>' . _('Yes') . '</option>'; - echo '<option value=0>' . _('No') . '</option>'; + echo '<option selected value="1">' . _('Yes') . '</option>'; + echo '<option value="0">' . _('No') . '</option>'; } else { - echo '<option value=1>' . _('Yes') . '</option>'; - echo '<option selected value=0>' . _('No') . '</option>'; + echo '<option value="1">' . _('Yes') . '</option>'; + echo '<option selected value="0">' . _('No') . '</option>'; } echo '</select></td></tr>'; Modified: trunk/DiscountCategories.php =================================================================== --- trunk/DiscountCategories.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DiscountCategories.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -71,7 +71,7 @@ $sql = "SELECT DISTINCT discountcategory FROM stockmaster WHERE discountcategory <>''"; $result = DB_query($sql, $db); if (DB_num_rows($result) > 0) { - echo '<table class=selection><tr><td>'. _('Discount Category Code') .': </td>'; + echo '<table class="selection"><tr><td>'. _('Discount Category Code') .': </td>'; echo '<td><select name="DiscCat" onChange="ReloadForm(update.select)">'; @@ -100,13 +100,13 @@ echo '<table class="selection"><tr><td>'. _('Discount Category Code') .':</td><td>'; if (isset($_POST['DiscCat'])) { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 value="' . $_POST['DiscCat'] .'" /></td> + echo '<input type="text" name="DiscountCategory" maxlength="2" size="2" value="' . $_POST['DiscCat'] .'" /></td> <td>'._('OR') . '</td> <td></td> <td>'._('OR').'</td> </tr>'; } else { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 /></td> + echo '<input type="text" name="DiscountCategory" maxlength="2" size="2" /></td> <td>' ._('OR') . '</td> <td></td> <td>'._('OR') . '</td> @@ -123,11 +123,11 @@ $_POST['PartDesc']=''; } echo '<tr><td>'. _('Enter Stock Code') .':</td> - <td><input type="text" name="StockID" size=20 maxlength=20 value="' . $_POST['StockID'] . '" /></td> + <td><input type="text" name="StockID" size="20" maxlength="20" value="' . $_POST['StockID'] . '" /></td> <td>'._('Partial code') . ':</td> - <td><input type="text" name="PartID" size=10 maxlength=10 value="' . $_POST['PartID'] . '" /></td> + <td><input type="text" name="PartID" size="10" maxlength="10" value="' . $_POST['PartID'] . '" /></td> <td>' . _('Partial description') . ':</td> - <td><input type="text" name="PartDesc" size=10 value="' . $_POST['PartDesc'] .'" maxlength=10 /></td> + <td><input type="text" name="PartDesc" size="10" value="' . $_POST['PartDesc'] .'" maxlength="10" /></td> <td><input type="submit" name="search" value="' . _('Search') .'" /></td> </tr>'; @@ -155,10 +155,10 @@ } } } else { - echo '<table class=selection> + echo '<table class="selection"> <tr> <td>'._('Assign discount category').'</td>'; - echo '<td><input type="text" name="DiscountCategory" maxlength=2 size=2 /></td>'; + echo '<td><input type="text" name="DiscountCategory" maxlength="2" size="2" /></td>'; echo '<td>'._('to all items in stock category').'</td>'; $sql = "SELECT categoryid, categorydescription Modified: trunk/DiscountMatrix.php =================================================================== --- trunk/DiscountMatrix.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DiscountMatrix.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -95,7 +95,7 @@ echo '<tr><td>' . _('Customer Price List') . ' (' . _('Sales Type') . '):</td><td>'; -echo '<select tabindex=1 name="SalesType">'; +echo '<select tabindex="1" name="SalesType">'; while ($myrow = DB_fetch_array($result)){ if (isset($_POST['SalesType']) and $myrow['typeabbrev']==$_POST['SalesType']){ @@ -129,11 +129,11 @@ echo '<tr> <td>' . _('Quantity Break') . '</td> - <td><input class="number" tabindex=3 ' . (in_array('QuantityBreak',$Errors) ? 'class="inputerror"' : '') .' type="text" name="QuantityBreak" size="10" maxlength="10" /></td> + <td><input class="number" tabindex="3" ' . (in_array('QuantityBreak',$Errors) ? 'class="inputerror"' : '') .' type="text" name="QuantityBreak" size="10" maxlength="10" /></td> </tr> <tr> <td>' . _('Discount Rate') . ' (%):</td> - <td><input class="number" tabindex=4 ' . (in_array('DiscountRate',$Errors) ? 'class="inputerror"' : '') . 'type="text" name="DiscountRate" size="5" maxlength="5" /></td> + <td><input class="number" tabindex="4" ' . (in_array('DiscountRate',$Errors) ? 'class="inputerror"' : '') . 'type="text" name="DiscountRate" size="5" maxlength="5" /></td> </tr> </table> <br /> Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/EDIMessageFormat.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -100,7 +100,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<p><table border=0 width=100%> +echo '<p><table border="0" width="100%"> <p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p>'; @@ -124,7 +124,7 @@ $result = DB_query($sql,$db); echo '<table class="selection">'; - echo '<tr><th colspan="5"><font size=3>' . _('Definition of') . ' ' . $MessageType . ' ' . _('for') . ' ' . $PartnerCode.'</font></th></tr>'; + echo '<tr><th colspan="5"><font size="3">' . _('Definition of') . ' ' . $MessageType . ' ' . _('for') . ' ' . $PartnerCode.'</font></th></tr>'; $TableHeader = '<tr> <th>' . _('Section') . '</th> <th>' . _('Sequence') . '</th> @@ -145,7 +145,7 @@ printf('<td>%s</td> - <td class=number>%s</td> + <td class="number">%s</td> <td>%s</td> <td><a href="%s&SelectedMessageLine=%s">' . _('Edit') . '</a></td> <td><a href="%s&delete=%s">' . _('Delete') . '</a></td> @@ -162,7 +162,7 @@ echo '</table><p>'; if (DB_num_rows($result)==0){ echo '<div class="centre"> - <input tabindex=1 type="submit" name="NewEDIInvMsg" value="' . _('Create New EDI Invoice Message From Default Template') . '" /> + <input tabindex="1" type="submit" name="NewEDIInvMsg" value="' . _('Create New EDI Invoice Message From Default Template') . '" /> </div> <br />'; } @@ -199,7 +199,7 @@ echo '<input type="hidden" name="PartnerCode" value="' . $PartnerCode . '" />'; } -echo '<table class=selection>'; +echo '<table class="selection">'; if ($myrow['messagetype']!='') { echo '<tr><th colspan="2">' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</th></tr>'; @@ -207,7 +207,7 @@ echo '<tr><td>' . _('Section') . ':</td>'; echo '<td>'; -echo '<select tabindex=2 name="Section">'; +echo '<select tabindex="2" name="Section">'; if ($_POST['Section']=='Heading') { echo '<option selected value="Heading">' . _('Heading') . '</option>'; @@ -235,17 +235,17 @@ echo '</td></tr>'; echo '<tr><td>Sequence Number:</td>'; -echo '<td><input tabindex=3 type="text" name=SequenceNo size=3 maxlength=3 value='.$_POST['SequenceNo'].' />'; +echo '<td><input tabindex="3" type="text" name="SequenceNo" size="3" maxlength="3" value='.$_POST['SequenceNo'].' />'; echo '</td></tr>'; echo '<tr><td>' . _('Line Text') . ':' .'</td>'; echo '<td>'; -echo '<input tabindex=4 type="text" name="LineText" size=50 maxlength=50 value='.$_POST['LineText'] .' />'; +echo '<input tabindex="4" type="text" name="LineText" size="50" maxlength="50" value='.$_POST['LineText'] .' />'; echo '</td></tr>'; echo '</table><br />'; if (isset($_GET['SelectedMessageLine'])) { - echo '<div class="centre"><input tabindex=5 type="submit" name="update" value="'. _('Update Information'). '" /></div>'; + echo '<div class="centre"><input tabindex="5" type="submit" name="update" value="'. _('Update Information'). '" /></div>'; } else { - echo '<div class="centre"><input tabindex=5 type="submit" name="submit" value="'. _('Enter Information'). '" /></div>'; + echo '<div class="centre"><input tabindex="5" type="submit" name="submit" value="'. _('Enter Information'). '" /></div>'; } echo '</form>'; Modified: trunk/EmailCustTrans.php =================================================================== --- trunk/EmailCustTrans.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/EmailCustTrans.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -61,7 +61,7 @@ } echo '<tr><td>' . _('Email') . ' ' . $_GET['InvOrCredit'] . ' ' . _('number') . ' ' . $_GET['FromTransNo'] . ' ' . _('to') . ':</td> - <td><input type="text" name="EmailAddr" maxlength=60 size=60 value="' . $EmailAddress . '" /></td> + <td><input type="text" name="EmailAddr" maxlength="60" size="60" value="' . $EmailAddress . '" /></td> </table>'; echo '<br /><div class="centre"><input type="submit" name="DoIt" value="' . _('OK') . '" />'; Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/ExchangeRateTrend.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -21,7 +21,7 @@ // SHOW OUR MAIN INPUT FORM // ************************ - echo '<form method="post" name=update action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" name="update" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('View Currency Trend') . '" alt="" />' . ' ' . _('View Currency Trend') . '</p>'; Modified: trunk/FTP_RadioBeacon.php =================================================================== --- trunk/FTP_RadioBeacon.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FTP_RadioBeacon.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -46,16 +46,16 @@ echo '<table cellpadding="2" colspan="7" width="100%">'; $TableHeader = '<tr> - <td class=tableheader>' . _('Modify') . '</td> - <td class=tableheader>' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> - <td class=tableheader>' . _('Customer') . '</td> - <td class=tableheader>' . _('Branch') . '</td> - <td class=tableheader>' . _('Cust Order') . ' #</td> - <td class=tableheader>' . _('Order Date') . '</td> - <td class=tableheader>' . _('Req Del Date') . '</td> - <td class=tableheader>' . _('Delivery To') . '</td> - <td class=tableheader>' . _('Order Total') . '</td> - <td class=tableheader>' . _('Last Send') . '</td> + <td class="tableheader">' . _('Modify') . '</td> + <td class="tableheader">' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> + <td class="tableheader">' . _('Customer') . '</td> + <td class="tableheader">' . _('Branch') . '</td> + <td class="tableheader">' . _('Cust Order') . ' #</td> + <td class="tableheader">' . _('Order Date') . '</td> + <td class="tableheader">' . _('Req Del Date') . '</td> + <td class="tableheader">' . _('Delivery To') . '</td> + <td class="tableheader">' . _('Order Total') . '</td> + <td class="tableheader">' . _('Last Send') . '</td> </tr>'; echo $TableHeader; @@ -79,16 +79,16 @@ $ModifyPage = $rootpath . 'SelectOrderItems.php?' . SID . '&ModifyOrderNumber=' . $myrow['orderno']; if ($myrow['printedpackingslip'] ==1){ - printf('<td><font size=2><a href="%s">%s</a></font></td> - <td><font color=RED size=2>' . _('Already') . '<br />' . _('Sent') . '</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td class=number><font size=2>%s</font></td> - <td><font size=2>%s</font></td></tr>', + printf('<td><font size="2"><a href="%s">%s</a></font></td> + <td><font color=RED size="2">' . _('Already') . '<br />' . _('Sent') . '</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td class="number"><font size="2">%s</font></td> + <td><font size="2">%s</font></td></tr>', $ModifyPage, $myrow['orderno'], $myrow['name'], @@ -100,16 +100,16 @@ $FormatedOrderValue, $FormatedDateLastSent); } else { - printf('<td><font size=2><a href="%s">%s</a></font></td> - <td><font size=2><a href="%s">' . _('Send') . '</a></font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td class=number><font size=2>%s</font></td> - <td><font size=2>%s</font></td></tr>', + printf('<td><font size="2"><a href="%s">%s</a></font></td> + <td><font size="2"><a href="%s">' . _('Send') . '</a></font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td class="number"><font size="2">%s</font></td> + <td><font size="2">%s</font></td></tr>', $ModifyPage, $myrow['orderno'], $FTPDispatchNote, Modified: trunk/Factors.php =================================================================== --- trunk/Factors.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Factors.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -200,7 +200,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="FactorID" value="' . $FactorID .'" /> - <table class=selection> + <table class="selection"> <input type="hidden" name="New" value="Yes" /> <tr> <td>' . _('Factor company Name') . ':</td> @@ -208,18 +208,18 @@ </tr> <tr> <td>' . _('Address Line 1') . ':</td> - <td><input tabindex=2 type="text" name="Address1" size="42" maxlength="40" value="' . $_POST['Address1'] .'" /></td> + <td><input tabindex="2" type="text" name="Address1" size="42" maxlength="40" value="' . $_POST['Address1'] .'" /></td> </tr> <tr><td>' . _('Address Line 2') . ':</td> - <td><input tabindex=3 type="text" name="Address2" size="42" maxlength="40" value="' . $_POST['Address2'] .'" /></td> + <td><input tabindex="3" type="text" name="Address2" size="42" maxlength="40" value="' . $_POST['Address2'] .'" /></td> </tr> <tr> <td>' . _('Address Line 3') . ':</td> - <td><input tabindex=4 type="text" name="Address3" size="42" maxlength="40" value="' .$_POST['Address3'] .'" /></td> + <td><input tabindex="4" type="text" name="Address3" size="42" maxlength="40" value="' .$_POST['Address3'] .'" /></td> </tr> <tr> <td>' . _('Address Line 4') . ':</td> - <td><input tabindex=5 type="text" name="Address4" size="42" maxlength="40" value="' . $_POST['Address4'].'" /></td> + <td><input tabindex="5" type="text" name="Address4" size="42" maxlength="40" value="' . $_POST['Address4'].'" /></td> </tr> <tr> <td>' . _('Address Line 5') . ':</td> @@ -239,11 +239,11 @@ </tr> <tr> <td>' . _('Fax') . ':</td> - <td><input tabindex="10" type="text" name="Fax" value=0 size="20" maxlength="25" value="' . $_POST['Fax'] .'" /></td> + <td><input tabindex="10" type="text" name="Fax" value="0" size="20" maxlength="25" value="' . $_POST['Fax'] .'" /></td> </tr> <tr> <td>' . _('Email') . ':</td> - <td><input tabindex="11" type="text" name="Email" size="55" maxlength=55 value="' . $_POST['Email'] . '" /></td> + <td><input tabindex="11" type="text" name="Email" size="55" maxlength="55" value="' . $_POST['Email'] . '" /></td> </tr> </table>'; } Modified: trunk/FixedAssetItems.php =================================================================== --- trunk/FixedAssetItems.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetItems.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -381,7 +381,7 @@ $result = DB_Txn_Commit($db); echo '<form name="AssetForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '"> - <table class=selection>'; + <table class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/FixedAssetRegister.php =================================================================== --- trunk/FixedAssetRegister.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetRegister.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -77,7 +77,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<div class="centre">' ._('From') . ':' . $_POST['FromDate'] . ' ' . _('to') . ' ' . $_POST['ToDate'] . '</div>'; echo '<br /> - <table width=80% cellspacing="1" class="selection"> + <table width="80%" cellspacing="1" class="selection"> <tr> <th>' . _('Asset ID') . '</th> <th>' . _('Description') . '</th> @@ -247,7 +247,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<tr> <th>' . _('Asset Category') . '</th> - <td><select name=AssetCategory> + <td><select name="AssetCategory"> <option value="%">' . _('ALL') . '</option>'; while ($myrow = DB_fetch_array($result)) { if (isset($_POST['AssetCategory']) and $myrow['categoryid'] == $_POST['AssetCategory']) { @@ -297,7 +297,7 @@ echo '<tr> <th>' . _(' From Date') . '</th> - <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" maxlength=10 size=11 value="' . $_POST['FromDate'] . '" /></td> + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" maxlength="10" size="11" value="' . $_POST['FromDate'] . '" /></td> </tr> <tr> <th>' . _('To Date ') . '</th> @@ -308,7 +308,7 @@ <div class="centre"> <input type="submit" name="submit" value="' . _('Show Assets') . '" /> <input type="submit" name="pdf" value="' . _('Print as a pdf') . '" /> - <input type="Submit" name = "csv" value= "' . _('Print as CSV') . '" /> + <input type="Submit" name = "csv" value="' . _('Print as CSV') . '" /> </div> </form>'; } Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetTransfer.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -26,7 +26,7 @@ } else { $sql="SELECT categoryid, categorydescription FROM fixedassetcategories"; $result=DB_query($sql, $db); - echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; + echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FormDesigner.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -13,7 +13,7 @@ * given in the object $key */ $FontSizes=FontSizes(); - echo '<td class=number>'._('Font Size').' = '.'</td><td><select name="'.$key['id'].'FontSize">'; + echo '<td class="number">'._('Font Size').' = '.'</td><td><select name="'.$key['id'].'FontSize">'; foreach ($FontSizes as $FontSize) { if ($FontSize==$key->FontSize) { echo '<option selected value="'.$FontSize.'">'.$FontSize.'</option>'; @@ -23,9 +23,9 @@ } echo '</select></td>'; /* Display the X co-ordinate (mm from the left hand side of page) */ - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; /* ... [truncated message content] |
From: <vv...@us...> - 2012-01-23 22:18:52
|
Revision: 4836 http://web-erp.svn.sourceforge.net/web-erp/?rev=4836&view=rev Author: vvs2012 Date: 2012-01-23 22:18:42 +0000 (Mon, 23 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/AddCustomerTypeNotes.php trunk/Areas.php trunk/AuditTrail.php trunk/BOMs.php trunk/BankAccounts.php trunk/BankMatching.php trunk/COGSGLPostings.php trunk/CreditItemsControlled.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/CustEDISetup.php trunk/CustomerAllocations.php trunk/CustomerBranches.php trunk/CustomerInquiry.php trunk/CustomerReceipt.php trunk/CustomerTypes.php trunk/Customers.php trunk/DeliveryDetails.php trunk/DiscountCategories.php trunk/DiscountMatrix.php trunk/EDIMessageFormat.php trunk/EmailCustTrans.php trunk/ExchangeRateTrend.php trunk/FTP_RadioBeacon.php trunk/Factors.php trunk/FixedAssetItems.php trunk/FixedAssetRegister.php trunk/FixedAssetTransfer.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLAccountCSV.php trunk/GLAccountInquiry.php trunk/GLAccountReport.php trunk/GLAccounts.php trunk/GLBudgets.php trunk/GLProfit_Loss.php trunk/GLTagProfit_Loss.php trunk/GeocodeSetup.php trunk/Locations.php trunk/MRP.php trunk/MRPDemandTypes.php trunk/MRPDemands.php trunk/MRPPlannedWorkOrders.php trunk/MRPReport.php trunk/MRPShortages.php trunk/PDFCustTransListing.php trunk/PDFCustomerList.php trunk/PDFDIFOT.php trunk/PDFLowGP.php trunk/PDFOrderStatus.php trunk/PDFPeriodStockTransListing.php trunk/PDFPriceList.php trunk/PDFPrintLabel.php trunk/PDFStockTransfer.php trunk/PDFSuppTransListing.php trunk/POReport.php trunk/PO_AuthorisationLevels.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_OrderDetails.php trunk/PO_PDFPurchOrder.php trunk/PO_SelectOSPurchOrder.php trunk/PO_SelectPurchOrder.php trunk/PaymentMethods.php trunk/PaymentTerms.php trunk/Payments.php trunk/PcAssignCashToTab.php trunk/PcAuthorizeExpenses.php trunk/PcClaimExpensesFromTab.php trunk/PcReportTab.php trunk/PcTabs.php trunk/PcTypeTabs.php trunk/Prices.php trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/Prices_Customer.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/PurchData.php trunk/RecurringSalesOrders.php trunk/SMTPServer.php trunk/SalesAnalReptCols.php trunk/SalesAnalRepts.php trunk/SalesCategoryPeriodInquiry.php trunk/SalesGLPostings.php trunk/SalesInquiry.php trunk/SalesTopItemsInquiry.php trunk/SalesTypes.php trunk/SelectAsset.php trunk/SelectCreditItems.php trunk/SelectCustomer.php trunk/SelectGLAccount.php trunk/SelectOrderItems.php trunk/SelectSalesOrder.php trunk/SelectSupplier.php trunk/SelectWorkOrder.php trunk/Shipt_Select.php trunk/StockAdjustments.php trunk/StockAdjustmentsControlled.php trunk/StockCategories.php trunk/StockCostUpdate.php trunk/StockCounts.php trunk/StockLocMovements.php trunk/StockLocTransferReceive.php trunk/StockMovements.php trunk/Stocks.php trunk/SuppContractChgs.php trunk/SuppFixedAssetChgs.php trunk/SuppInvGRNs.php trunk/SuppShiptChgs.php trunk/SuppTransGLAnalysis.php trunk/SupplierContacts.php trunk/SupplierCredit.php trunk/SupplierInquiry.php trunk/SupplierInvoice.php trunk/SupplierTransInquiry.php trunk/Suppliers.php trunk/SystemParameters.php trunk/Tax.php trunk/TaxCategories.php trunk/TaxGroups.php trunk/UserSettings.php trunk/WWW_Access.php trunk/WWW_Users.php trunk/WhereUsedInquiry.php trunk/WorkOrderReceive.php trunk/Z_CheckAllocationsFrom.php trunk/Z_CheckDebtorsControl.php trunk/Z_CurrencyDebtorsBalances.php trunk/Z_DataExport.php trunk/Z_MakeNewCompany.php trunk/Z_ReApplyCostToSA.php trunk/Z_SalesIntegrityCheck.php trunk/doc/Change.log Modified: trunk/AddCustomerTypeNotes.php =================================================================== --- trunk/AddCustomerTypeNotes.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/AddCustomerTypeNotes.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -198,7 +198,7 @@ </tr> <tr> <td>'. _('Date').':</td> - <td><input type="text" name="date" class=date alt="'.$_SESSION['DefaultDateFormat'].'" value="'. $_POST['date']. '" size="10" maxlength="10" /></td> + <td><input type="text" name="date" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" value="'. $_POST['date']. '" size="10" maxlength="10" /></td> </tr> <tr> <td>'. _('Priority').':</td> Modified: trunk/Areas.php =================================================================== --- trunk/Areas.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Areas.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -213,7 +213,7 @@ echo '<table class="selection"> <tr> <td>' . _('Area Code') . ':</td> - <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength=3 /></td> + <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength="3"/></td> </tr>'; } Modified: trunk/AuditTrail.php =================================================================== --- trunk/AuditTrail.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/AuditTrail.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -39,9 +39,9 @@ echo '<table class="selection">'; echo '<tr><td>'. _('From Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="1" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value="' .$_POST['FromDate']. '" /></td></tr>'; + <td><input tabindex="1" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value="' .$_POST['FromDate']. '" /></td></tr>'; echo '<tr><td>'. _('To Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="2" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value="' . $_POST['ToDate'] . '" /></td></tr>'; + <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value="' . $_POST['ToDate'] . '" /></td></tr>'; // Show user selections echo '<tr><td>'. _('User ID'). '</td> @@ -159,7 +159,7 @@ } $result = DB_query($sql,$db); - echo '<table border=0 width="98%" class=selection>'; + echo '<table border="0" width="98%" class="selection">'; echo '<tr><th>' . _('Date/Time') . '</th> <th>' . _('User') . '</th> <th>' . _('Type') . '</th> @@ -206,7 +206,7 @@ echo '</tr>'; } } - echo '<tr bgcolor=black> <td colspan="6"></td> </tr>'; + echo '<tr bgcolor="black"> <td colspan="6"></td> </tr>'; } unset($_SESSION['SQLString']); } Modified: trunk/BOMs.php =================================================================== --- trunk/BOMs.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BOMs.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -418,7 +418,7 @@ break; } - echo '<br /><div class=centre><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('Select a Different BOM') . '</a></div><br />'; + echo '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('Select a Different BOM') . '</a></div><br />'; echo '<table class="selection">'; // Display Manufatured Parent Items $sql = "SELECT bom.parent, @@ -834,7 +834,7 @@ '<div class="page_help_text">'. _('Select a manufactured part') . ' (' . _('or Assembly or Kit part') . ') ' . _('to maintain the bill of material for using the options below') . '<br /><font size="1">' . _('Parts must be defined in the stock item entry') . '/' . _('modification screen as manufactured') . ', ' . _('kits or assemblies to be available for construction of a bill of material') .'</div>'. '</font> <br /> <table class="selection" cellpadding="3" colspan="4"> - <tr><td><font size=1>' . _('Enter text extracts in the') . ' <b>' . _('description') . '</b>:</font></td> + <tr><td><font size="1">' . _('Enter text extracts in the') . ' <b>' . _('description') . '</b>:</font></td> <td><input tabindex="1" type="text" name="Keywords" size="20" maxlength="25" /></td> <td><font size="3"><b>' . _('OR') . '</b></font></td> <td><font size="1">' . _('Enter extract of the') . ' <b>' . _('Stock Code') . '</b>:</font></td> Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BankAccounts.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -213,7 +213,7 @@ } elseif ($myrow['invoice']==2) { $DefaultBankAccount=_('Currency Default'); } - printf('<td>%s<br /><font size=2>%s</font></td> + printf('<td>%s<br /><font size="2">%s</font></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -324,9 +324,9 @@ } echo '<tr><td>' . _('Bank Account Name') . ': </td> - <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size=40 maxlength=50 /></td></tr> + <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Account Code') . ': </td> - <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size=40 maxlength=50 /></td></tr> + <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Account Number') . ': </td> <td><input tabindex="3" ' . (in_array('AccountNumber',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountNumber" value="' . $_POST['BankAccountNumber'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Address') . ': </td> Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/BankMatching.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -82,7 +82,7 @@ echo '<div class="page_help_text">' . _('Use this screen to match webERP Receipts and Payments to your Bank Statement. Check your bank statement and click the check-box when you find the matching transaction.') . '</div><br />'; -echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; +echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="Type" value="' . $Type . '" />'; Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/COGSGLPostings.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -258,9 +258,9 @@ FROM areas"; $result = DB_query($sql,$db); -echo '<table class=selection> +echo '<table class="selection"> <tr><td>' . _('Area') . ':</td> - <td><select tabindex=1 name="Area"> + <td><select tabindex="1" name="Area"> <option value="AN">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { @@ -281,7 +281,7 @@ </tr> <tr> <td>' . _('Stock Category') . ':</td> - <td><select tabindex=2 name="StkCat"> + <td><select tabindex="2" name="StkCat"> <option value="ANY">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { @@ -303,7 +303,7 @@ </tr> <tr> <td>' . _('Sales Type') . ' / ' . _('Price List') . ':</td> - <td><select tabindex=3 name="SalesType"> + <td><select tabindex="3" name="SalesType"> <option value="AN">' . _('Any Other') . '</option>'; while ($myrow = DB_fetch_array($result)) { Modified: trunk/CreditItemsControlled.php =================================================================== --- trunk/CreditItemsControlled.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CreditItemsControlled.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -75,7 +75,7 @@ echo '<br /><a href="' . $rootpath . '/' . $CreditLink . '">'. _('Back to Credit Note Entry'). '</a>'; -echo '<br /><font size=2><b>'. _('Credit of Controlled Item'). ' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('from') .' '. $_SESSION['CreditItems']->CustomerName . '</b></font></div>'; +echo '<br /><font size="2"<b>'. _('Credit of Controlled Item'). ' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('from') .' '. $_SESSION['CreditItems']->CustomerName . '</b></font></div>'; /** vars needed by InputSerialItem : **/ $LocationOut = $_SESSION['CreditItems']->Location; Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CreditStatus.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -248,7 +248,7 @@ echo '<td><input tabindex="3" type="checkbox" checked name="DisallowInvoices" /></td> </tr>'; } else { - echo '<td><input tabindex=3 type="checkbox" name="DisallowInvoices" /></td> + echo '<td><input tabindex="3" type="checkbox" name="DisallowInvoices" /></td> </tr>'; } echo '</table> Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Credit_Invoice.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -262,9 +262,9 @@ echo '<table cellpadding="2" colspan="7" class="selection"><tr>'; echo '<tr><th colspan="13">'; - echo '<div class="centre"><font color=blue size=4><b>' . _('Credit Invoice') . ' ' . $_SESSION['ProcessingCredit'] . '</b> - <b>'.' - ' . $_SESSION['CreditItems']->CustomerName . '</b></font> - <font size=3 color=blue> - ' . _('Credit Note amounts stated in') . ' ' . $_SESSION['CreditItems']->DefaultCurrency . '</div></font>'; + echo '<div class="centre"><b>' . _('Credit Invoice') . ' ' . $_SESSION['ProcessingCredit'] . '</b> + <b>'.' - ' . $_SESSION['CreditItems']->CustomerName . '</b> + - ' . _('Credit Note amounts stated in') . ' ' . $_SESSION['CreditItems']->DefaultCurrency . '</div>'; echo '</th></tr>'; echo '<th>' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> @@ -315,19 +315,19 @@ if ($LnItm->Controlled==1){ - echo '<td><input type="hidden" name="Quantity_' . $LnItm->LineNumber .'" value=' . $LnItm->QtyDispatched . '><a href="' . $rootpath . '/CreditItemsControlled.php?LineNo=' . $LnItm->LineNumber . '&CreditInvoice=Yes">' . $LnItm->QtyDispatched . '</a></td>'; + echo '<td><input type="hidden" name="Quantity_' . $LnItm->LineNumber .'" value="' . $LnItm->QtyDispatched . '"><a href="' . $rootpath . '/CreditItemsControlled.php?LineNo=' . $LnItm->LineNumber . '&CreditInvoice=Yes">' . $LnItm->QtyDispatched . '</a></td>'; } else { - echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Quantity_' . $LnItm->LineNumber .'" maxlength=6 size=6 value=' . $LnItm->QtyDispatched . '></td>'; + echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Quantity_' . $LnItm->LineNumber .'" maxlength="6" size="6" value="' . $LnItm->QtyDispatched . '"></td>'; } $DisplayLineTotal = locale_number_format($LineTotal,$_SESSION['CreditItems']->CurrDecimalPlaces); $j++; - echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Price_' . $LnItm->LineNumber . '" maxlength=12 size=6 value=' . $LnItm->Price . '></td> - <td><input tabindex=' . $j . ' type="text" class="number" name="Discount_' . $LnItm->LineNumber . '" maxlength=3 size=3 value=' . ($LnItm->DiscountPercent * 100) . '></td> + echo '<td><input tabindex=' . $j . ' type="text" class="number" name="Price_' . $LnItm->LineNumber . '" maxlength="12" size="6" value="' . $LnItm->Price . '"></td> + <td><input tabindex=' . $j . ' type="text" class="number" name="Discount_' . $LnItm->LineNumber . '" maxlength="3" size="3" value="' . ($LnItm->DiscountPercent * 100) . '"></td> <td class="number">' . $DisplayLineTotal . '</td>'; /*Need to list the taxes applicable to this line */ @@ -355,7 +355,7 @@ } if (!isset($_POST['ProcessCredit'])) { echo '<input type="text" class="number" name="' . $LnItm->LineNumber . $Tax->TaxCalculationOrder . - '_TaxRate" maxlength=4 size=4 value="' . $Tax->TaxRate*100 . '">'; + '_TaxRate" maxlength="4" size="4" value="' . $Tax->TaxRate*100 . '">'; } $i++; if ($Tax->TaxOnTax ==1){ @@ -380,7 +380,7 @@ <td class="number">' . $DisplayGrossLineTotal . '</td> <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?Delete=' . $LnItm->LineNumber . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this item from the credit?') . '\');">' . _('Delete') . '</a></td></tr>'; - echo '<tr' . $RowStarter . '><td colspan="12"><textarea tabindex=' . $j .' name="Narrative_' . $LnItm->LineNumber . '" cols=100% rows=1>' . $LnItm->Narrative . '</textarea><br /><hr></td></tr>'; + echo '<tr' . $RowStarter . '><td colspan="12"><textarea tabindex=' . $j .' name="Narrative_' . $LnItm->LineNumber . '" cols="100%" rows="1">' . $LnItm->Narrative . '</textarea><br /><hr></td></tr>'; $j++; } } /*end foreach loop displaying the invoice lines to credit */ @@ -875,7 +875,7 @@ $StkMoveNo = DB_Last_Insert_ID($db,'stockmoves','stkmoveno'); /*Insert the StockSerialMovements and update the StockSerialItems for controlled items*/ - //echo "<div align=left><pre>"; var_dump($CreditLine); echo "</pre> </div>"; + //echo "<div align="left"><pre>"; var_dump($CreditLine); echo "</pre> </div>"; if ($CreditLine->Controlled ==1){ foreach($CreditLine->SerialItems as $Item){ /*We need to add the StockSerialItem record and The StockSerialMoves as well */ Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Currencies.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -231,7 +231,7 @@ while ($myrow = DB_fetch_array($result)) { if ($myrow[1]==$FunctionalCurrency){ - echo '<tr bgcolor=#FFbbbb>'; + echo '<tr bgcolor="#FFbbbb">'; } elseif ($k==1){ echo '<tr class="EvenTableRows">'; $k=0; Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustEDISetup.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -97,30 +97,30 @@ <td>' . $myrow['name'] . '</td> </tr>'; echo '<tr><td>'._('Enable Sending of EDI Invoices').':</td> - <td><select tabindex=1 name="EDIInvoices">'; + <td><select tabindex="1" name="EDIInvoices">'; if ($myrow['ediinvoices']==0){ - echo '<option selected value=0>'._('Disabled') . '</option>'; - echo '<option value=1>'._('Enabled'). '</option>'; + echo '<option selected value="0">'._('Disabled') . '</option>'; + echo '<option value="1">'._('Enabled'). '</option>'; } else { - echo '<option value=0>'._('Disabled') . '</option>'; - echo '<option selected value=1>'._('Enabled') . '</option>'; + echo '<option value="0">'._('Disabled') . '</option>'; + echo '<option selected value="1">'._('Enabled') . '</option>'; } echo '</select><a href="' . $rootpath . '/EDIMessageFormat.php?MessageType=INVOIC&PartnerCode=' . $_SESSION['CustomerID'] . '">'._('Create') . '/' . _('Edit Invoice Message Format').'</a></td> </tr>'; echo '<tr><td>'._('Enable Receiving of EDI Orders') . ':</td> - <td><select tabindex=2 name="EDIOrders">'; + <td><select tabindex="2" name="EDIOrders">'; if ($myrow['ediorders']==0){ - echo '<option selected value=0>'._('Disabled') . '</option>'; - echo '<option value=1>'._('Enabled') . '</option>'; + echo '<option selected value="0">'._('Disabled') . '</option>'; + echo '<option value="1">'._('Enabled') . '</option>'; } else { - echo '<option value=0>'._('Disabled') . '</option>'; - echo '<option selected value=1>'._('Enabled') . '</option>'; + echo '<option value="0">'._('Disabled') . '</option>'; + echo '<option selected value="1">'._('Enabled') . '</option>'; } echo '</select></td> @@ -128,10 +128,10 @@ echo '<tr><td>'._('Customer EDI Reference') . ':</td> <td><input ' . (in_array('EDIReference',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=3 type="text" name="EDIReference" size=20 maxlength=20 value="' . $myrow['edireference'] . '"></td></tr>'; + ' tabindex=3 type="text" name="EDIReference" size="20" maxlength="20" value="' . $myrow['edireference'] . '"></td></tr>'; echo '<tr><td>'._('EDI Communication Method') . ':</td> - <td><select tabindex=4 name="EDITransport" >'; + <td><select tabindex="4" name="EDITransport" >'; if ($myrow['editransport']=='email'){ echo '<option selected value="email">'._('Email Attachments') . '</option>'; @@ -145,18 +145,18 @@ echo '<tr><td>'._('FTP Server or Email Address') . ':</td> <td><input ' . (in_array('EDIAddress',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=5 type="text" name="EDIAddress" size=42 maxlength=40 value="' . $myrow['ediaddress'] . '"></td></tr>'; + ' tabindex=5 type="text" name="EDIAddress" size="42" maxlength="40" value="' . $myrow['ediaddress'] . '"></td></tr>'; if ($myrow['editransport']=='ftp'){ echo '<tr><td>'._('FTP Server User Name') . ':</td> - <td><input tabindex=6 type="text" name="EDIServerUser" size=20 maxlength=20 value="' . $myrow['ediserveruser'] . '" /></td></tr>'; + <td><input tabindex="6" type="text" name="EDIServerUser" size="20" maxlength="20" value="' . $myrow['ediserveruser'] . '" /></td></tr>'; echo '<tr><td>'._('FTP Server Password') . ':</td> - <td><input tabindex=7 type="text" name="EDIServerPwd" size=20 maxlength=20 value="' . $myrow['ediserverpwd'] . '" /></td></tr>'; + <td><input tabindex="7" type="text" name="EDIServerPwd" size="20" maxlength="20" value="' . $myrow['ediserverpwd'] . '" /></td></tr>'; } echo '</table> - <br /><div class="centre"><input tabindex=8 type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> + <br /><div class="centre"><input tabindex="8" type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> </form>'; include('includes/footer.inc'); Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerAllocations.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -336,7 +336,7 @@ if (isset($_POST['AllocTrans'])) { // Page called with trans number - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="AllocTrans" value="' . $_POST['AllocTrans'] . '" />'; Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerBranches.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -659,14 +659,14 @@ if (!isset($_POST['EstDeliveryDays'])) { $_POST['EstDeliveryDays']=0; } - echo '<td><input ' .(in_array('EstDeliveryDays',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="11" type="text" class=number name="EstDeliveryDays" size="4" maxlength="2" value='. $_POST['EstDeliveryDays'].' /></td> + echo '<td><input ' .(in_array('EstDeliveryDays',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="11" type="text" class="number" name="EstDeliveryDays" size="4" maxlength="2" value="'. $_POST['EstDeliveryDays'].'" /></td> </tr> <tr> <td>'._('Forward Date After (day in month)').':</td>'; if (!isset($_POST['FwdDate'])) { $_POST['FwdDate']=0; } - echo '<td><input ' .(in_array('FwdDate',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="12" type="text" class=number name="FwdDate" size="4" maxlength="2" value='. $_POST['FwdDate'].' /></td> + echo '<td><input ' .(in_array('FwdDate',$Errors) ? 'class="inputerror"' : '' ) .' tabindex="12" type="text" class="number" name="FwdDate" size="4" maxlength="2" value="'. $_POST['FwdDate'].'" /></td> </tr>'; @@ -814,11 +814,11 @@ <td>'._('Transactions on this branch') . ':</td> <td><select tabindex="20" name="DisableTrans">'; if ($_POST['DisableTrans']==0){ - echo '<option selected value=0>' . _('Enabled') . '</option> - <option value=1>' . _('Disabled') . '</option>'; + echo '<option selected value="0">' . _('Enabled') . '</option> + <option value="1">' . _('Disabled') . '</option>'; } else { - echo '<option selected value=1>' . _('Disabled') . '</option> - <option value=0>' . _('Enabled') . '</option>'; + echo '<option selected value="1">' . _('Disabled') . '</option> + <option value="0">' . _('Enabled') . '</option>'; } echo ' </select></td></tr>'; Modified: trunk/CustomerInquiry.php =================================================================== --- trunk/CustomerInquiry.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerInquiry.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -135,11 +135,11 @@ echo '<table class="selection" width="70%"> <tr> - <th width=20%>' . _('Total Balance') . '</th> - <th width=20%>' . _('Current') . '</th> - <th width=20%>' . _('Now Due') . '</th> - <th width=20%>' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th> - <th width=20%>' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; + <th width="20%">' . _('Total Balance') . '</th> + <th width="20%">' . _('Current') . '</th> + <th width="20%">' . _('Now Due') . '</th> + <th width="20%">' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th> + <th width="20%">' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; echo '<tr> <td class="number">' . locale_number_format($CustomerRecord['balance'],$CustomerRecord['decimalplaces']) . '</td> @@ -152,7 +152,7 @@ echo '<br /> <div class="centre"> - <form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post> + <form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post"> <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />' . _('Show all transactions after') . ': <input tabindex="1" type="text" class="date" alt="' .$_SESSION['DefaultDateFormat']. '" id="datepicker" name="TransAfterDate" value="' . $_POST['TransAfterDate'] . '" maxlength="10" size="12" /> <input tabindex="2" type="submit" name="Refresh Inquiry" value="' . _('Refresh Inquiry') . '" /> Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerReceipt.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -1005,7 +1005,7 @@ ORDER BY tagref"; $result=DB_query($SQL,$db); - echo '<option value=0></option>'; + echo '<option value="0"></option>'; while ($myrow=DB_fetch_array($result)){ if (isset($_POST['tag']) and $_POST['tag']==$myrow['tagref']){ echo '<option selected value=' . $myrow['tagref'] . '>' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/CustomerTypes.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -180,7 +180,7 @@ $sql = "SELECT typeid, typename FROM debtortype"; $result = DB_query($sql,$db); - echo '<br /><table class=selection>'; + echo '<br /><table class="selection">'; echo '<tr> <th>' . _('Type ID') . '</th> <th>' . _('Type Name') . '</th> @@ -222,7 +222,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class=selection>'; //Main table + echo '<p><table class="selection">'; //Main table // The user wish to EDIT an existing type Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Customers.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -420,7 +420,7 @@ } if ($SetupErrors>0) { - echo '<br /><div class=centre><a href="'.htmlspecialchars($_SERVER['PHP_SELF']) .'" >'._('Click here to continue').'</a></div>'; + echo '<br /><div class="centre"><a href="'.htmlspecialchars($_SERVER['PHP_SELF']) .'" >'._('Click here to continue').'</a></div>'; include('includes/footer.inc'); exit; } @@ -431,35 +431,35 @@ $DataError =0; - echo '<table class="selection" cellspacing=4> - <tr><td valign=top><table class="selection">'; + echo '<table class="selection" cellspacing="4"> + <tr><td valign="top"><table class="selection">'; /* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one, then provide an input box for the DebtorNo to manually assigned */ if ($_SESSION['AutoDebtorNo']==0) { - echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex=1 type="text" name="DebtorNo" size=11 maxlength=10 /></td></tr>'; + echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex="1" type="text" name="DebtorNo" size="11" maxlength="10" /></td></tr>'; } echo '<tr><td>' . _('Customer Name') . ':</td> - <td><input tabindex=2 type="Text" name="CustName" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="CustName" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Telephone') . ':</td> - <td><input tabindex=2 type="Text" name="Phone" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Phone" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Facsimile') . ':</td> - <td><input tabindex=2 type="Text" name="Fax" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Fax" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Email Address') . ':</td> - <td><input tabindex=2 type="Text" name="Email" size=30 maxlength=40 /></td></tr>'; + <td><input tabindex="2" type="Text" name="Email" size="30" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 1 (Street)') . ':</td> - <td><input tabindex=3 type="Text" name="Address1" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="3" type="Text" name="Address1" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 2 (Suburb/City)') . ':</td> - <td><input tabindex=4 type="Text" name="Address2" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="4" type="Text" name="Address2" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 3 (State/Province)') . ':</td> - <td><input tabindex=5 type="Text" name="Address3" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="5" type="Text" name="Address3" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 4 (Postal Code)') . ':</td> - <td><input tabindex=6 type="Text" name="Address4" size=42 maxlength=40 /></td></tr>'; + <td><input tabindex="6" type="Text" name="Address4" size="42" maxlength="40" /></td></tr>'; echo '<tr><td>' . _('Address Line 5') . ':</td> - <td><input tabindex=7 type="Text" name="Address5" size=22 maxlength=20 /></td></tr>'; + <td><input tabindex="7" type="Text" name="Address5" size="22" maxlength="20" /></td></tr>'; echo '<tr><td>' . _('Address Line 6') . ':</td> - <td><input tabindex=8 type="Text" name="Address6" size=17 maxlength=15 /></td></tr>'; + <td><input tabindex="8" type="Text" name="Address6" size="17" maxlength="15" /></td></tr>'; @@ -498,13 +498,13 @@ $DateString = Date($_SESSION['DefaultDateFormat']); echo '<tr><td>' . _('Customer Since') . ' (' . $_SESSION['DefaultDateFormat'] . '):</td> - <td><input tabindex=10 type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size=12 maxlength=10 /></td></tr>'; + <td><input tabindex="10" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size="12" maxlength="10" /></td></tr>'; echo '</table></td> <td><table class="selection"> <tr> <td>' . _('Discount Percent') . ':</td> - <td><input tabindex="11" type="textbox" class="number" name="Discount" value=0 size="5" maxlength="4" /></td> + <td><input tabindex="11" type="textbox" class="number" name="Discount" value="0" size="5" maxlength="4" /></td> </tr> <tr> <td>' . _('Discount Code') . ':</td> @@ -531,7 +531,7 @@ echo '<tr> <td>' . _('Payment Terms') . ':</td> - <td><select tabindex=15 name="PaymentTerms">'; + <td><select tabindex="15" name="PaymentTerms">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['termsindicator'] . '">' . $myrow['terms'] . '</option>'; @@ -597,8 +597,8 @@ <tr> <td>' . _('Invoice Addressing') . ':</td> <td><select tabindex="19" name="AddrInvBranch"> - <option selected value=0>' . _('Address to HO') . '</option> - <option value=1>' . _('Address to Branch') . '</option> + <option selected value="0">' . _('Address to HO') . '</option> + <option value="1">' . _('Address to Branch') . '</option> </select> </td> </tr> @@ -946,11 +946,11 @@ <td>' . _('Require Customer PO Line on SO') . ':</td> <td><select name="CustomerPOLine">'; if ($_POST['CustomerPOLine']==0){ - echo '<option selected value=0>' . _('No') . '</option>'; - echo '<option value=1>' . _('Yes') . '</option>'; + echo '<option selected value="0">' . _('No') . '</option>'; + echo '<option value="1">' . _('Yes') . '</option>'; } else { - echo '<option value=0>' . _('No') . '</option>'; - echo '<option selected value=1>' . _('Yes') . '</option>'; + echo '<option value="0">' . _('No') . '</option>'; + echo '<option selected value="1">' . _('Yes') . '</option>'; } echo '</select></td> </tr>'; @@ -1008,7 +1008,7 @@ ORDER BY contid"; $result = DB_query($sql,$db); - echo '<table class=selection>'; + echo '<table class="selection">'; if (isset($_GET['Modify'])) { echo '<tr> <th>' . _('Name') . '</th> Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DeliveryDetails.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -588,20 +588,20 @@ } else { /*link to print the quotation */ - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotation.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Landscape)') .'</a></td> </tr> </table>'; - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotationPortrait.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Portrait)') .'</a></td> </tr> </table>'; } - echo '<br /><table class=selection> + echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Order') . '" alt=""></td> <td>' . ' ' . '<a href="'. $rootpath .'/SelectOrderItems.php?identifier='.$identifier . '&NewOrder=Yes">'. _('Add Another Sales Order') .'</a></td> @@ -807,7 +807,7 @@ echo '</b> ' . _('Customer Name') . ' :<b> ' . $_SESSION['Items'.$identifier]->CustomerName . '</b></p>'; -echo '<form action="' . $_SERVER['PHP_SELF'] . '?identifier='.$identifier . '" method=post>'; +echo '<form action="' . $_SERVER['PHP_SELF'] . '?identifier='.$identifier . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -943,7 +943,7 @@ $DisplayVolume = number_format($_SESSION['Items'.$identifier]->totalVolume,2); $DisplayWeight = number_format($_SESSION['Items'.$identifier]->totalWeight,2); - echo '<table class=selection><tr> + echo '<table class="selection"><tr> <td>'. _('Total Weight') .':</td> <td>'. $DisplayWeight .'</td> <td>'. _('Total Volume') .':</td> @@ -996,7 +996,7 @@ // The estimated Dispatch date or Delivery date for this order echo '<tr> <td>'. _('Estimated Delivery Date') .':</td> - <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size=15 maxlength=14 name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '" /></td> + <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size="15" maxlength="14" name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '" /></td> </tr>'; // The date when a quote was issued to the customer echo '<tr> @@ -1034,14 +1034,14 @@ </tr> <tr> <td>'. _('Contact Phone Number') .':</td> - <td><input type="text" size=25 maxlength=25 name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" /></td> + <td><input type="text" size="25" maxlength="25" name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" /></td> </tr> <tr> - <td>' . _('Contact Email') . ':</td><td><input type="text" size=40 maxlength=38 name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '" /></td> + <td>' . _('Contact Email') . ':</td><td><input type="text" size="40" maxlength="38" name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '" /></td> </tr> <tr> <td>'. _('Customer Reference') .':</td> - <td><input type="text" size=25 maxlength=25 name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '" /></td> + <td><input type="text" size="25" maxlength="25" name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '" /></td> </tr> <tr> <td>'. _('Comments') .':</td> @@ -1068,11 +1068,11 @@ echo '<tr> <td>'. _('Reprint packing slip') .':</td> <td><select name="ReprintPackingSlip">'; - echo '<option value=0>' . _('Yes') . '</option>'; - echo '<option selected value=1>' . _('No') . '</option>'; + echo '<option value="0">' . _('Yes') . '</option>'; + echo '<option selected value="1">' . _('No') . '</option>'; echo '</select> '. _('Last printed') .': ' . ConvertSQLDate($_SESSION['DatePackingSlipPrinted']) . '</td></tr>'; } else { - echo '<input type="hidden" name="ReprintPackingSlip" value=0 />'; + echo '<input type="hidden" name="ReprintPackingSlip" value="0" />'; } echo '<tr> @@ -1111,11 +1111,11 @@ echo '<tr><td>'. _('Quotation Only') .':</td> <td><select name="Quotation">'; if ($_SESSION['Items'.$identifier]->Quotation==1){ - echo '<option selected value=1>' . _('Yes') . '</option>'; - echo '<option value=0>' . _('No') . '</option>'; + echo '<option selected value="1">' . _('Yes') . '</option>'; + echo '<option value="0">' . _('No') . '</option>'; } else { - echo '<option value=1>' . _('Yes') . '</option>'; - echo '<option selected value=0>' . _('No') . '</option>'; + echo '<option value="1">' . _('Yes') . '</option>'; + echo '<option selected value="0">' . _('No') . '</option>'; } echo '</select></td></tr>'; Modified: trunk/DiscountCategories.php =================================================================== --- trunk/DiscountCategories.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DiscountCategories.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -71,7 +71,7 @@ $sql = "SELECT DISTINCT discountcategory FROM stockmaster WHERE discountcategory <>''"; $result = DB_query($sql, $db); if (DB_num_rows($result) > 0) { - echo '<table class=selection><tr><td>'. _('Discount Category Code') .': </td>'; + echo '<table class="selection"><tr><td>'. _('Discount Category Code') .': </td>'; echo '<td><select name="DiscCat" onChange="ReloadForm(update.select)">'; @@ -100,13 +100,13 @@ echo '<table class="selection"><tr><td>'. _('Discount Category Code') .':</td><td>'; if (isset($_POST['DiscCat'])) { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 value="' . $_POST['DiscCat'] .'" /></td> + echo '<input type="text" name="DiscountCategory" maxlength="2" size="2" value="' . $_POST['DiscCat'] .'" /></td> <td>'._('OR') . '</td> <td></td> <td>'._('OR').'</td> </tr>'; } else { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 /></td> + echo '<input type="text" name="DiscountCategory" maxlength="2" size="2" /></td> <td>' ._('OR') . '</td> <td></td> <td>'._('OR') . '</td> @@ -123,11 +123,11 @@ $_POST['PartDesc']=''; } echo '<tr><td>'. _('Enter Stock Code') .':</td> - <td><input type="text" name="StockID" size=20 maxlength=20 value="' . $_POST['StockID'] . '" /></td> + <td><input type="text" name="StockID" size="20" maxlength="20" value="' . $_POST['StockID'] . '" /></td> <td>'._('Partial code') . ':</td> - <td><input type="text" name="PartID" size=10 maxlength=10 value="' . $_POST['PartID'] . '" /></td> + <td><input type="text" name="PartID" size="10" maxlength="10" value="' . $_POST['PartID'] . '" /></td> <td>' . _('Partial description') . ':</td> - <td><input type="text" name="PartDesc" size=10 value="' . $_POST['PartDesc'] .'" maxlength=10 /></td> + <td><input type="text" name="PartDesc" size="10" value="' . $_POST['PartDesc'] .'" maxlength="10" /></td> <td><input type="submit" name="search" value="' . _('Search') .'" /></td> </tr>'; @@ -155,10 +155,10 @@ } } } else { - echo '<table class=selection> + echo '<table class="selection"> <tr> <td>'._('Assign discount category').'</td>'; - echo '<td><input type="text" name="DiscountCategory" maxlength=2 size=2 /></td>'; + echo '<td><input type="text" name="DiscountCategory" maxlength="2" size="2" /></td>'; echo '<td>'._('to all items in stock category').'</td>'; $sql = "SELECT categoryid, categorydescription Modified: trunk/DiscountMatrix.php =================================================================== --- trunk/DiscountMatrix.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/DiscountMatrix.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -95,7 +95,7 @@ echo '<tr><td>' . _('Customer Price List') . ' (' . _('Sales Type') . '):</td><td>'; -echo '<select tabindex=1 name="SalesType">'; +echo '<select tabindex="1" name="SalesType">'; while ($myrow = DB_fetch_array($result)){ if (isset($_POST['SalesType']) and $myrow['typeabbrev']==$_POST['SalesType']){ @@ -129,11 +129,11 @@ echo '<tr> <td>' . _('Quantity Break') . '</td> - <td><input class="number" tabindex=3 ' . (in_array('QuantityBreak',$Errors) ? 'class="inputerror"' : '') .' type="text" name="QuantityBreak" size="10" maxlength="10" /></td> + <td><input class="number" tabindex="3" ' . (in_array('QuantityBreak',$Errors) ? 'class="inputerror"' : '') .' type="text" name="QuantityBreak" size="10" maxlength="10" /></td> </tr> <tr> <td>' . _('Discount Rate') . ' (%):</td> - <td><input class="number" tabindex=4 ' . (in_array('DiscountRate',$Errors) ? 'class="inputerror"' : '') . 'type="text" name="DiscountRate" size="5" maxlength="5" /></td> + <td><input class="number" tabindex="4" ' . (in_array('DiscountRate',$Errors) ? 'class="inputerror"' : '') . 'type="text" name="DiscountRate" size="5" maxlength="5" /></td> </tr> </table> <br /> Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/EDIMessageFormat.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -100,7 +100,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<p><table border=0 width=100%> +echo '<p><table border="0" width="100%"> <p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p>'; @@ -124,7 +124,7 @@ $result = DB_query($sql,$db); echo '<table class="selection">'; - echo '<tr><th colspan="5"><font size=3>' . _('Definition of') . ' ' . $MessageType . ' ' . _('for') . ' ' . $PartnerCode.'</font></th></tr>'; + echo '<tr><th colspan="5"><font size="3">' . _('Definition of') . ' ' . $MessageType . ' ' . _('for') . ' ' . $PartnerCode.'</font></th></tr>'; $TableHeader = '<tr> <th>' . _('Section') . '</th> <th>' . _('Sequence') . '</th> @@ -145,7 +145,7 @@ printf('<td>%s</td> - <td class=number>%s</td> + <td class="number">%s</td> <td>%s</td> <td><a href="%s&SelectedMessageLine=%s">' . _('Edit') . '</a></td> <td><a href="%s&delete=%s">' . _('Delete') . '</a></td> @@ -162,7 +162,7 @@ echo '</table><p>'; if (DB_num_rows($result)==0){ echo '<div class="centre"> - <input tabindex=1 type="submit" name="NewEDIInvMsg" value="' . _('Create New EDI Invoice Message From Default Template') . '" /> + <input tabindex="1" type="submit" name="NewEDIInvMsg" value="' . _('Create New EDI Invoice Message From Default Template') . '" /> </div> <br />'; } @@ -199,7 +199,7 @@ echo '<input type="hidden" name="PartnerCode" value="' . $PartnerCode . '" />'; } -echo '<table class=selection>'; +echo '<table class="selection">'; if ($myrow['messagetype']!='') { echo '<tr><th colspan="2">' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</th></tr>'; @@ -207,7 +207,7 @@ echo '<tr><td>' . _('Section') . ':</td>'; echo '<td>'; -echo '<select tabindex=2 name="Section">'; +echo '<select tabindex="2" name="Section">'; if ($_POST['Section']=='Heading') { echo '<option selected value="Heading">' . _('Heading') . '</option>'; @@ -235,17 +235,17 @@ echo '</td></tr>'; echo '<tr><td>Sequence Number:</td>'; -echo '<td><input tabindex=3 type="text" name=SequenceNo size=3 maxlength=3 value='.$_POST['SequenceNo'].' />'; +echo '<td><input tabindex="3" type="text" name="SequenceNo" size="3" maxlength="3" value='.$_POST['SequenceNo'].' />'; echo '</td></tr>'; echo '<tr><td>' . _('Line Text') . ':' .'</td>'; echo '<td>'; -echo '<input tabindex=4 type="text" name="LineText" size=50 maxlength=50 value='.$_POST['LineText'] .' />'; +echo '<input tabindex="4" type="text" name="LineText" size="50" maxlength="50" value='.$_POST['LineText'] .' />'; echo '</td></tr>'; echo '</table><br />'; if (isset($_GET['SelectedMessageLine'])) { - echo '<div class="centre"><input tabindex=5 type="submit" name="update" value="'. _('Update Information'). '" /></div>'; + echo '<div class="centre"><input tabindex="5" type="submit" name="update" value="'. _('Update Information'). '" /></div>'; } else { - echo '<div class="centre"><input tabindex=5 type="submit" name="submit" value="'. _('Enter Information'). '" /></div>'; + echo '<div class="centre"><input tabindex="5" type="submit" name="submit" value="'. _('Enter Information'). '" /></div>'; } echo '</form>'; Modified: trunk/EmailCustTrans.php =================================================================== --- trunk/EmailCustTrans.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/EmailCustTrans.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -61,7 +61,7 @@ } echo '<tr><td>' . _('Email') . ' ' . $_GET['InvOrCredit'] . ' ' . _('number') . ' ' . $_GET['FromTransNo'] . ' ' . _('to') . ':</td> - <td><input type="text" name="EmailAddr" maxlength=60 size=60 value="' . $EmailAddress . '" /></td> + <td><input type="text" name="EmailAddr" maxlength="60" size="60" value="' . $EmailAddress . '" /></td> </table>'; echo '<br /><div class="centre"><input type="submit" name="DoIt" value="' . _('OK') . '" />'; Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/ExchangeRateTrend.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -21,7 +21,7 @@ // SHOW OUR MAIN INPUT FORM // ************************ - echo '<form method="post" name=update action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" name="update" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('View Currency Trend') . '" alt="" />' . ' ' . _('View Currency Trend') . '</p>'; Modified: trunk/FTP_RadioBeacon.php =================================================================== --- trunk/FTP_RadioBeacon.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FTP_RadioBeacon.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -46,16 +46,16 @@ echo '<table cellpadding="2" colspan="7" width="100%">'; $TableHeader = '<tr> - <td class=tableheader>' . _('Modify') . '</td> - <td class=tableheader>' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> - <td class=tableheader>' . _('Customer') . '</td> - <td class=tableheader>' . _('Branch') . '</td> - <td class=tableheader>' . _('Cust Order') . ' #</td> - <td class=tableheader>' . _('Order Date') . '</td> - <td class=tableheader>' . _('Req Del Date') . '</td> - <td class=tableheader>' . _('Delivery To') . '</td> - <td class=tableheader>' . _('Order Total') . '</td> - <td class=tableheader>' . _('Last Send') . '</td> + <td class="tableheader">' . _('Modify') . '</td> + <td class="tableheader">' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> + <td class="tableheader">' . _('Customer') . '</td> + <td class="tableheader">' . _('Branch') . '</td> + <td class="tableheader">' . _('Cust Order') . ' #</td> + <td class="tableheader">' . _('Order Date') . '</td> + <td class="tableheader">' . _('Req Del Date') . '</td> + <td class="tableheader">' . _('Delivery To') . '</td> + <td class="tableheader">' . _('Order Total') . '</td> + <td class="tableheader">' . _('Last Send') . '</td> </tr>'; echo $TableHeader; @@ -79,16 +79,16 @@ $ModifyPage = $rootpath . 'SelectOrderItems.php?' . SID . '&ModifyOrderNumber=' . $myrow['orderno']; if ($myrow['printedpackingslip'] ==1){ - printf('<td><font size=2><a href="%s">%s</a></font></td> - <td><font color=RED size=2>' . _('Already') . '<br />' . _('Sent') . '</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td class=number><font size=2>%s</font></td> - <td><font size=2>%s</font></td></tr>', + printf('<td><font size="2"><a href="%s">%s</a></font></td> + <td><font color=RED size="2">' . _('Already') . '<br />' . _('Sent') . '</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td class="number"><font size="2">%s</font></td> + <td><font size="2">%s</font></td></tr>', $ModifyPage, $myrow['orderno'], $myrow['name'], @@ -100,16 +100,16 @@ $FormatedOrderValue, $FormatedDateLastSent); } else { - printf('<td><font size=2><a href="%s">%s</a></font></td> - <td><font size=2><a href="%s">' . _('Send') . '</a></font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td><font size=2>%s</font></td> - <td class=number><font size=2>%s</font></td> - <td><font size=2>%s</font></td></tr>', + printf('<td><font size="2"><a href="%s">%s</a></font></td> + <td><font size="2"><a href="%s">' . _('Send') . '</a></font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td><font size="2">%s</font></td> + <td class="number"><font size="2">%s</font></td> + <td><font size="2">%s</font></td></tr>', $ModifyPage, $myrow['orderno'], $FTPDispatchNote, Modified: trunk/Factors.php =================================================================== --- trunk/Factors.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/Factors.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -200,7 +200,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="FactorID" value="' . $FactorID .'" /> - <table class=selection> + <table class="selection"> <input type="hidden" name="New" value="Yes" /> <tr> <td>' . _('Factor company Name') . ':</td> @@ -208,18 +208,18 @@ </tr> <tr> <td>' . _('Address Line 1') . ':</td> - <td><input tabindex=2 type="text" name="Address1" size="42" maxlength="40" value="' . $_POST['Address1'] .'" /></td> + <td><input tabindex="2" type="text" name="Address1" size="42" maxlength="40" value="' . $_POST['Address1'] .'" /></td> </tr> <tr><td>' . _('Address Line 2') . ':</td> - <td><input tabindex=3 type="text" name="Address2" size="42" maxlength="40" value="' . $_POST['Address2'] .'" /></td> + <td><input tabindex="3" type="text" name="Address2" size="42" maxlength="40" value="' . $_POST['Address2'] .'" /></td> </tr> <tr> <td>' . _('Address Line 3') . ':</td> - <td><input tabindex=4 type="text" name="Address3" size="42" maxlength="40" value="' .$_POST['Address3'] .'" /></td> + <td><input tabindex="4" type="text" name="Address3" size="42" maxlength="40" value="' .$_POST['Address3'] .'" /></td> </tr> <tr> <td>' . _('Address Line 4') . ':</td> - <td><input tabindex=5 type="text" name="Address4" size="42" maxlength="40" value="' . $_POST['Address4'].'" /></td> + <td><input tabindex="5" type="text" name="Address4" size="42" maxlength="40" value="' . $_POST['Address4'].'" /></td> </tr> <tr> <td>' . _('Address Line 5') . ':</td> @@ -239,11 +239,11 @@ </tr> <tr> <td>' . _('Fax') . ':</td> - <td><input tabindex="10" type="text" name="Fax" value=0 size="20" maxlength="25" value="' . $_POST['Fax'] .'" /></td> + <td><input tabindex="10" type="text" name="Fax" value="0" size="20" maxlength="25" value="' . $_POST['Fax'] .'" /></td> </tr> <tr> <td>' . _('Email') . ':</td> - <td><input tabindex="11" type="text" name="Email" size="55" maxlength=55 value="' . $_POST['Email'] . '" /></td> + <td><input tabindex="11" type="text" name="Email" size="55" maxlength="55" value="' . $_POST['Email'] . '" /></td> </tr> </table>'; } Modified: trunk/FixedAssetItems.php =================================================================== --- trunk/FixedAssetItems.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetItems.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -381,7 +381,7 @@ $result = DB_Txn_Commit($db); echo '<form name="AssetForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '"> - <table class=selection>'; + <table class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/FixedAssetRegister.php =================================================================== --- trunk/FixedAssetRegister.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetRegister.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -77,7 +77,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<div class="centre">' ._('From') . ':' . $_POST['FromDate'] . ' ' . _('to') . ' ' . $_POST['ToDate'] . '</div>'; echo '<br /> - <table width=80% cellspacing="1" class="selection"> + <table width="80%" cellspacing="1" class="selection"> <tr> <th>' . _('Asset ID') . '</th> <th>' . _('Description') . '</th> @@ -247,7 +247,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<tr> <th>' . _('Asset Category') . '</th> - <td><select name=AssetCategory> + <td><select name="AssetCategory"> <option value="%">' . _('ALL') . '</option>'; while ($myrow = DB_fetch_array($result)) { if (isset($_POST['AssetCategory']) and $myrow['categoryid'] == $_POST['AssetCategory']) { @@ -297,7 +297,7 @@ echo '<tr> <th>' . _(' From Date') . '</th> - <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" maxlength=10 size=11 value="' . $_POST['FromDate'] . '" /></td> + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" maxlength="10" size="11" value="' . $_POST['FromDate'] . '" /></td> </tr> <tr> <th>' . _('To Date ') . '</th> @@ -308,7 +308,7 @@ <div class="centre"> <input type="submit" name="submit" value="' . _('Show Assets') . '" /> <input type="submit" name="pdf" value="' . _('Print as a pdf') . '" /> - <input type="Submit" name = "csv" value= "' . _('Print as CSV') . '" /> + <input type="Submit" name = "csv" value="' . _('Print as CSV') . '" /> </div> </form>'; } Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FixedAssetTransfer.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -26,7 +26,7 @@ } else { $sql="SELECT categoryid, categorydescription FROM fixedassetcategories"; $result=DB_query($sql, $db); - echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; + echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-01-22 22:17:50 UTC (rev 4835) +++ trunk/FormDesigner.php 2012-01-23 22:18:42 UTC (rev 4836) @@ -13,7 +13,7 @@ * given in the object $key */ $FontSizes=FontSizes(); - echo '<td class=number>'._('Font Size').' = '.'</td><td><select name="'.$key['id'].'FontSize">'; + echo '<td class="number">'._('Font Size').' = '.'</td><td><select name="'.$key['id'].'FontSize">'; foreach ($FontSizes as $FontSize) { if ($FontSize==$key->FontSize) { echo '<option selected value="'.$FontSize.'">'.$FontSize.'</option>'; @@ -23,9 +23,9 @@ } echo '</select></td>'; /* Display the X co-ordinate (mm from the left hand side of page) */ - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; /* ... [truncated message content] |
From: <vv...@us...> - 2012-01-22 22:18:01
|
Revision: 4835 http://web-erp.svn.sourceforge.net/web-erp/?rev=4835&view=rev Author: vvs2012 Date: 2012-01-22 22:17:50 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Added quotes and missing closing tags in multiple files Modified Paths: -------------- trunk/Areas.php trunk/BOMListing.php trunk/BankAccounts.php trunk/BankMatching.php trunk/COGSGLPostings.php trunk/ConfirmDispatch_Invoice.php trunk/CreditItemsControlled.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/CustEDISetup.php trunk/CustomerAllocations.php trunk/CustomerTransInquiry.php trunk/Customers.php trunk/DailyBankTransactions.php trunk/DeliveryDetails.php trunk/DiscountCategories.php trunk/EDIMessageFormat.php trunk/EmailConfirmation.php trunk/FTP_RadioBeacon.php trunk/Factors.php trunk/FixedAssetItems.php trunk/FixedAssetRegister.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLAccountCSV.php trunk/GLAccounts.php trunk/GLBalanceSheet.php trunk/GLBudgets.php trunk/GLProfit_Loss.php trunk/GLTags.php trunk/GLTrialBalance.php trunk/GeocodeSetup.php trunk/GoodsReceivedControlled.php trunk/InventoryPlanningPrefSupplier.php trunk/Locations.php trunk/MRPCalendar.php trunk/MRPDemands.php trunk/MRPPlannedWorkOrders.php trunk/PDFBankingSummary.php trunk/PDFCustomerList.php trunk/PDFDIFOT.php trunk/PDFDeliveryDifferences.php trunk/PDFOrdersInvoiced.php trunk/PDFPeriodStockTransListing.php trunk/PDFPickingList.php trunk/PDFPrintLabel.php trunk/PDFStockCheckComparison.php trunk/PDFStockLocTransfer.php trunk/PDFStockTransfer.php trunk/PDFSuppTransListing.php trunk/POReport.php trunk/PO_AuthorisationLevels.php trunk/PO_AuthoriseMyOrders.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_OrderDetails.php trunk/PO_SelectOSPurchOrder.php trunk/PO_SelectPurchOrder.php trunk/PaymentMethods.php trunk/PaymentTerms.php trunk/Payments.php trunk/PcAssignCashToTab.php trunk/PcAuthorizeExpenses.php trunk/PcClaimExpensesFromTab.php trunk/PcReportTab.php trunk/PcTabs.php trunk/PeriodsInquiry.php trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/Prices_Customer.php trunk/PrintCustStatements.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/RecurringSalesOrders.php trunk/ReorderLevelLocation.php trunk/ReverseGRN.php trunk/SalesAnalReptCols.php trunk/SalesAnalRepts.php trunk/SalesCategories.php trunk/SalesGLPostings.php trunk/SalesGraph.php trunk/SalesInquiry.php trunk/SalesTopItemsInquiry.php trunk/SalesTypes.php trunk/SecurityTokens.php trunk/SelectAsset.php trunk/SelectCompletedOrder.php trunk/SelectCreditItems.php trunk/SelectCustomer.php trunk/SelectOrderItems.php trunk/SelectProduct.php trunk/SelectSalesOrder.php trunk/SelectSupplier.php trunk/SelectWorkOrder.php trunk/Shipments.php trunk/ShiptsList.php trunk/StockCheck.php trunk/StockCounts.php trunk/StockDispatch.php trunk/StockLocTransferReceive.php trunk/Stocks.php trunk/SuppCreditGRNs.php trunk/SuppInvGRNs.php trunk/SupplierAllocations.php trunk/SupplierContacts.php trunk/SupplierCredit.php trunk/SupplierTenders.php trunk/SupplierTypes.php trunk/Suppliers.php trunk/SystemParameters.php trunk/TaxAuthorities.php trunk/UnitsOfMeasure.php trunk/UserSettings.php trunk/WWW_Access.php trunk/WWW_Users.php trunk/WorkOrderCosting.php trunk/WorkOrderIssue.php trunk/WorkOrderReceive.php trunk/WorkOrderStatus.php trunk/Z_ChangeStockCategory.php trunk/Z_DataExport.php trunk/Z_ImportChartOfAccounts.php trunk/Z_ImportFixedAssets.php trunk/Z_ImportStocks.php trunk/Z_MakeNewCompany.php trunk/Z_ReApplyCostToSA.php trunk/Z_ReverseSuppPaymentRun.php trunk/Z_UpdateChartDetailsBFwd.php trunk/Z_Upgrade3.10.php trunk/Z_Upgrade_3.04-3.05.php trunk/Z_Upgrade_3.05-3.06.php trunk/Z_Upgrade_3.07-3.08.php trunk/Z_Upgrade_3.08-3.09.php trunk/Z_Upgrade_3.09-3.10.php trunk/Z_Upgrade_3.10-3.11.php trunk/Z_UploadForm.php trunk/Z_poAddLanguage.php trunk/Z_poEditLangHeader.php trunk/Z_poEditLangRemaining.php trunk/Z_poRebuildDefault.php trunk/doc/Change.log trunk/index.php Modified: trunk/Areas.php =================================================================== --- trunk/Areas.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Areas.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -213,7 +213,7 @@ echo '<table class="selection"> <tr> <td>' . _('Area Code') . ':</td> - <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength=3></td> + <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength=3 /></td> </tr>'; } Modified: trunk/BOMListing.php =================================================================== --- trunk/BOMListing.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BOMListing.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -117,7 +117,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<tr><td>' . _('From Inventory Part Code') . ':' . '</font></td> - <td><input tabindex="1" type="text" name="FromCriteria" size="20" maxlength="20" value="1"></td> + <td><input tabindex="1" type="text" name="FromCriteria" size="20" maxlength="20" value="1" /></td> </tr>'; echo '<tr><td>' . _('To Inventory Part Code') . ':' . '</td> @@ -126,7 +126,7 @@ echo '</table> - <br /><div class="centre"><input tabindex="3" type="submit" name="PrintPDF" value="' . _('Print PDF') . '"></div>'; + <br /><div class="centre"><input tabindex="3" type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /></div>'; echo '<script>defaultControl(document.forms[0].FromCriteria);</script>'; } include('includes/footer.inc');; Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BankAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -276,8 +276,8 @@ $_POST['CurrCode'] = $myrow['currcode']; $_POST['DefAccount'] = $myrow['invoice']; - echo '<input type="hidden" name="SelectedBankAccount" value="' . $SelectedBankAccount . '">'; - echo '<input type="hidden" name="AccountCode" value="' . $_POST['AccountCode'] . '">'; + echo '<input type="hidden" name="SelectedBankAccount" value="' . $SelectedBankAccount . '" />'; + echo '<input type="hidden" name="AccountCode" value="' . $_POST['AccountCode'] . '" />'; echo '<table class="selection"> <tr><td>' . _('Bank Account GL Code') . ':</td> <td>' . $_POST['AccountCode'] . '</td> @@ -324,13 +324,13 @@ } echo '<tr><td>' . _('Bank Account Name') . ': </td> - <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size=40 maxlength=50></td></tr> + <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size=40 maxlength=50 /></td></tr> <tr><td>' . _('Bank Account Code') . ': </td> - <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size=40 maxlength=50></td></tr> + <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size=40 maxlength=50 /></td></tr> <tr><td>' . _('Bank Account Number') . ': </td> - <td><input tabindex="3" ' . (in_array('AccountNumber',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountNumber" value="' . $_POST['BankAccountNumber'] . '" size="40" maxlength="50"></td></tr> + <td><input tabindex="3" ' . (in_array('AccountNumber',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountNumber" value="' . $_POST['BankAccountNumber'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Address') . ': </td> - <td><input tabindex="4" ' . (in_array('BankAddress',$Errors) ? 'class="inputerror"' : '' ) .' type="Text" name="BankAddress" value="' . $_POST['BankAddress'] . '" size="40" maxlength="50"></td></tr> + <td><input tabindex="4" ' . (in_array('BankAddress',$Errors) ? 'class="inputerror"' : '' ) .' type="Text" name="BankAddress" value="' . $_POST['BankAddress'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Currency Of Account') . ': </td> <td><select tabindex="5" name="CurrCode">'; @@ -388,7 +388,7 @@ echo '</select></td>'; echo '</tr></table><br /> - <div class="centre"><input tabindex="7" type="submit" name="submit" value="'. _('Enter Information') .'"></div>'; + <div class="centre"><input tabindex="7" type="submit" name="submit" value="'. _('Enter Information') .'" /></div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BankMatching.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -90,7 +90,7 @@ echo '<table class="selection"> <tr> <td align="left">' . _('Bank Account') . ':</td> - <td colspan=3><select tabindex="1" name="BankAccount">'; + <td colspan="3"><select tabindex="1" name="BankAccount">'; $sql = "SELECT accountcode, bankaccountname FROM bankaccounts"; $resultBankActs = DB_query($sql,$db); Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/COGSGLPostings.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -248,7 +248,7 @@ $_POST['StkCat'] = $myrow['stkcat']; $_POST['SalesType'] = $myrow['salestype']; - echo '<input type="hidden" name="SelectedCOGSPostingID" value="' . $SelectedCOGSPostingID . '">'; + echo '<input type="hidden" name="SelectedCOGSPostingID" value="' . $SelectedCOGSPostingID . '" />'; } //end of if $SelectedCOGSPostingID only do the else when a new record is being entered Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/ConfirmDispatch_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -327,13 +327,13 @@ if (isset($_POST['ProcessInvoice'])) { echo '<td class="number">' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</td>'; } else { - echo '<td class="number"><input type="hidden" name="' . $LnItm->LineNumber . '_QtyDispatched" value="' . $LnItm->QtyDispatched . '"><a href="' . $rootpath .'/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">' .locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</a></td>'; + echo '<td class="number"><input type="hidden" name="' . $LnItm->LineNumber . '_QtyDispatched" value="' . $LnItm->QtyDispatched . '" /><a href="' . $rootpath .'/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">' .locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</a></td>'; } } else { if (isset($_POST['ProcessInvoice'])) { echo '<td class="number">' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</td>'; } else { - echo '<td class="number"><input tabindex="'.$j.'" type="text" class="number" name="' . $LnItm->LineNumber . '_QtyDispatched" maxlength="12" size="12" value="' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '"></td>'; + echo '<td class="number"><input tabindex="'.$j.'" type="text" class="number" name="' . $LnItm->LineNumber . '_QtyDispatched" maxlength="12" size="12" value="' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '" /></td>'; } } $DisplayDiscountPercent = locale_number_format($LnItm->DiscountPercent*100,2) . '%'; @@ -476,7 +476,7 @@ OR $_POST['ChargeFreightCost']==0)) { echo '<td colspan="2" class="number">'. _('Charge Freight Cost inc Tax').'</td> - <td><input tabindex='.$j.' type="text" class="number" size="10" maxlength="12" name="ChargeFreightCost" value="0"></td>'; + <td><input tabindex='.$j.' type="text" class="number" size="10" maxlength="12" name="ChargeFreightCost" value="0" /></td>'; $_SESSION['Items'.$identifier]->FreightCost=0; } else { echo '<td colspan="2" class="number">'. _('Charge Freight Cost inc Tax').'</td>'; @@ -1613,9 +1613,9 @@ echo '<br /><div class="centre">'; if ($_SESSION['InvoicePortraitFormat']==0){ - echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTrans.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Landscape') . ')</a><br /><br />'; + echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTrans.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Landscape') . ')</a><br /><br />'; } else { - echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTransPortrait.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Portrait') . ')</a><br /><br />'; + echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTransPortrait.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Portrait') . ')</a><br /><br />'; } echo '<a href="'.$rootpath.'/SelectSalesOrder.php">'. _('Select another order for invoicing'). '</a><br /><br />'; echo '<a href="'.$rootpath.'/SelectOrderItems.php?NewOrder=Yes">'._('Sales Order Entry').'</a></div><br />'; @@ -1635,12 +1635,12 @@ echo '<table class="selection"> <tr> <td>' ._('Date On Invoice'). ':</td> - <td><input tabindex='.$j.' type="text" maxlength="10" size="15" name="DispatchDate" value="'.$DefaultDispatchDate.'" id="datepicker" alt="'.$_SESSION['DefaultDateFormat'].'" class="date"></td> + <td><input tabindex='.$j.' type="text" maxlength="10" size="15" name="DispatchDate" value="'.$DefaultDispatchDate.'" id="datepicker" alt="'.$_SESSION['DefaultDateFormat'].'" class="date" /></td> </tr>'; $j++; echo '<tr> <td>' . _('Consignment Note Ref'). ':</td> - <td><input tabindex='.$j.' type="text" maxlength="15" size="15" name="Consignment" value="' . $_POST['Consignment'] . '"></td> + <td><input tabindex='.$j.' type="text" maxlength="15" size="15" name="Consignment" value="' . $_POST['Consignment'] . '" /></td> </tr>'; $j++; echo '<tr> Modified: trunk/CreditItemsControlled.php =================================================================== --- trunk/CreditItemsControlled.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CreditItemsControlled.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -70,7 +70,7 @@ echo '<div class="centre">'; if ($CreditLink == 'Credit_Invoice.php'){ - echo '<input type="hidden" name="CreditInvoice" value="Yes">'; + echo '<input type="hidden" name="CreditInvoice" value="Yes" />'; } echo '<br /><a href="' . $rootpath . '/' . $CreditLink . '">'. _('Back to Credit Note Entry'). '</a>'; Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CreditStatus.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -240,7 +240,7 @@ echo '<tr> <td>'. _('Description') .':</td> <td><input ' . (in_array('ReasonDescription',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=2 type="text" name="ReasonDescription" VALUE="'. $_POST['ReasonDescription'] .'" size="28" maxlength="30"></td> + ' tabindex=2 type="text" name="ReasonDescription" VALUE="'. $_POST['ReasonDescription'] .'" size="28" maxlength="30" /></td> </tr> <tr> <td>'. _('Disallow Invoices') . '</td>'; Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Credit_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -418,7 +418,7 @@ } if (!isset($_POST['ProcessCredit'])) { - echo '<input type="text" class="number" name="FreightTaxRate' . $FreightTaxLine->TaxCalculationOrder . '" maxlength="4" size="4" value=' . $FreightTaxLine->TaxRate * 100 . '>'; + echo '<input type="text" class="number" name="FreightTaxRate' . $FreightTaxLine->TaxCalculationOrder . '" maxlength="4" size="4" value="' . $FreightTaxLine->TaxRate * 100 . '" />'; } if ($FreightTaxLine->TaxOnTax ==1){ $TaxTotals[$FreightTaxLine->TaxAuthID] += ($FreightTaxLine->TaxRate * ($_SESSION['CreditItems']->FreightCost + $FreightTaxTotal)); @@ -444,7 +444,7 @@ echo '<tr> <td colspan="7" class="number">' . _('Credit Totals') . '</td> <td class="number"><hr><b>' . $DisplayTotal . '</b><hr></td> - <td colspan=2></td> + <td colspan="2"></td> <td class="number"><hr><b>' . locale_number_format($TaxTotal,$_SESSION['CreditItems']->CurrDecimalPlaces) . '<hr></td> <td class="number"><hr><b>' . locale_number_format($TaxTotal+($_SESSION['CreditItems']->total + $_SESSION['CreditItems']->FreightCost),$_SESSION['CreditItems']->CurrDecimalPlaces) . '</b><hr></td> </tr></table>'; @@ -1509,9 +1509,9 @@ } $j++; echo '<tr><td>' . _('Credit note text') . '</td><td><textarea tabindex=' . $j . ' name="CreditText" cols="31" rows="5">' . $_POST['CreditText'] . '</textarea></td></tr>'; - echo '</table><br /><div class="centre"><input tabindex=' . $j . ' type="submit" name="Update" value=' . _('Update') . '><p>'; + echo '</table><br /><div class="centre"><input tabindex=' . $j . ' type="submit" name="Update" value=' . _('Update') . ' /><br />'; $j++; - echo '<input type="submit" tabindex='.$j++.' name="ProcessCredit" Value="' . _('Process Credit') .'"></div>'; + echo '<input type="submit" tabindex='.$j++.' name="ProcessCredit" Value="' . _('Process Credit') .'" /></div>'; } echo '</form>'; Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Currencies.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -247,7 +247,7 @@ } if ($myrow[1]!=$FunctionalCurrency){ - printf('<td><img src="%s"></td> + printf('<td><img src="%s" /></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -276,7 +276,7 @@ $rootpath, '&CurrencyToShow=' . $myrow['currabrev']); } else { - printf('<td><img src="%s"></td> + printf('<td><img src="%s" /></td> <td>%s</td> <td>%s</td> <td>%s</td> Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CustEDISetup.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -150,13 +150,13 @@ if ($myrow['editransport']=='ftp'){ echo '<tr><td>'._('FTP Server User Name') . ':</td> - <td><input tabindex=6 type="text" name="EDIServerUser" size=20 maxlength=20 value="' . $myrow['ediserveruser'] . '"></td></tr>'; + <td><input tabindex=6 type="text" name="EDIServerUser" size=20 maxlength=20 value="' . $myrow['ediserveruser'] . '" /></td></tr>'; echo '<tr><td>'._('FTP Server Password') . ':</td> - <td><input tabindex=7 type="text" name="EDIServerPwd" size=20 maxlength=20 value="' . $myrow['ediserverpwd'] . '"></td></tr>'; + <td><input tabindex=7 type="text" name="EDIServerPwd" size=20 maxlength=20 value="' . $myrow['ediserverpwd'] . '" /></td></tr>'; } echo '</table> - <br /><div class="centre"><input tabindex=8 type="submit" name="submit" value="' ._('Update EDI Configuration'). '"></div> + <br /><div class="centre"><input tabindex=8 type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> </form>'; include('includes/footer.inc'); Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CustomerAllocations.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -397,7 +397,7 @@ <td class="number">' . locale_number_format($balance,$_SESSION['Alloc']->CurrDecimalPlaces) . '</td> </tr>'; } else { - echo '<input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '"></td>'; + echo '<input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '" /></td>'; echo '<td class="number"><input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"'; if (ABS($AllocnItem->AllocAmt-$YetToAlloc) < 0.01) { Modified: trunk/CustomerTransInquiry.php =================================================================== --- trunk/CustomerTransInquiry.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CustomerTransInquiry.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -137,7 +137,7 @@ if ($_POST['TransType']==10){ /* invoices */ printf($format_base . - '<td><a target="_blank" href=%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice"><img src="%s" title="' . _('Click to preview the invoice') . '"></a></td> + '<td><a target="_blank" href=%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice"><img src="%s" title="' . _('Click to preview the invoice') . '" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -156,7 +156,7 @@ } elseif ($_POST['TransType']==11){ /* credit notes */ printf($format_base . - '<td><a target="_blank" href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit"><img src="%s" title="' . _('Click to preview the credit') . '"></a></td> + '<td><a target="_blank" href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit"><img src="%s" title="' . _('Click to preview the credit') . '" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Customers.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -437,29 +437,29 @@ /* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one, then provide an input box for the DebtorNo to manually assigned */ if ($_SESSION['AutoDebtorNo']==0) { - echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex=1 type="text" name="DebtorNo" size=11 maxlength=10></td></tr>'; + echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex=1 type="text" name="DebtorNo" size=11 maxlength=10 /></td></tr>'; } echo '<tr><td>' . _('Customer Name') . ':</td> - <td><input tabindex=2 type="Text" name="CustName" size=42 maxlength=40></td></tr>'; + <td><input tabindex=2 type="Text" name="CustName" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Telephone') . ':</td> - <td><input tabindex=2 type="Text" name="Phone" size=30 maxlength=40></td></tr>'; + <td><input tabindex=2 type="Text" name="Phone" size=30 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Facsimile') . ':</td> - <td><input tabindex=2 type="Text" name="Fax" size=30 maxlength=40></td></tr>'; + <td><input tabindex=2 type="Text" name="Fax" size=30 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Email Address') . ':</td> - <td><input tabindex=2 type="Text" name="Email" size=30 maxlength=40></td></tr>'; + <td><input tabindex=2 type="Text" name="Email" size=30 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 1 (Street)') . ':</td> - <td><input tabindex=3 type="Text" name="Address1" size=42 maxlength=40></td></tr>'; + <td><input tabindex=3 type="Text" name="Address1" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 2 (Suburb/City)') . ':</td> - <td><input tabindex=4 type="Text" name="Address2" size=42 maxlength=40></td></tr>'; + <td><input tabindex=4 type="Text" name="Address2" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 3 (State/Province)') . ':</td> - <td><input tabindex=5 type="Text" name="Address3" size=42 maxlength=40></td></tr>'; + <td><input tabindex=5 type="Text" name="Address3" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 4 (Postal Code)') . ':</td> - <td><input tabindex=6 type="Text" name="Address4" size=42 maxlength=40></td></tr>'; + <td><input tabindex=6 type="Text" name="Address4" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 5') . ':</td> - <td><input tabindex=7 type="Text" name="Address5" size=22 maxlength=20></td></tr>'; + <td><input tabindex=7 type="Text" name="Address5" size=22 maxlength=20 /></td></tr>'; echo '<tr><td>' . _('Address Line 6') . ':</td> - <td><input tabindex=8 type="Text" name="Address6" size=17 maxlength=15></td></tr>'; + <td><input tabindex=8 type="Text" name="Address6" size=17 maxlength=15 /></td></tr>'; @@ -467,10 +467,10 @@ $result=DB_query("SELECT typeabbrev, sales_type FROM salestypes ",$db); if (DB_num_rows($result)==0){ $DataError =1; - echo '<tr><td colspan=2>' . prnMsg(_('No sales types/price lists defined'),'error') . '<br /><a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a></td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('No sales types/price lists defined'),'error') . '<br /><a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a></td></tr>'; } else { echo '<tr><td>' . _('Sales Type/Price List') . ':</td> - <td><select tabindex=9 name="SalesType">'; + <td><select tabindex="9" name="SalesType">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>'; @@ -484,10 +484,10 @@ if (DB_num_rows($result)==0){ $DataError =1; echo '<a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a>'; - echo '<tr><td colspan=2>' . prnMsg(_('No Customer types/price lists defined'),'error') . '</td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('No Customer types/price lists defined'),'error') . '</td></tr>'; } else { echo '<tr><td>' . _('Customer Type') . ':</td> - <td><select tabindex=9 name="typeid">'; + <td><select tabindex="9" name="typeid">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; @@ -498,7 +498,7 @@ $DateString = Date($_SESSION['DefaultDateFormat']); echo '<tr><td>' . _('Customer Since') . ' (' . $_SESSION['DefaultDateFormat'] . '):</td> - <td><input tabindex=10 type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size=12 maxlength=10></td></tr>'; + <td><input tabindex=10 type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size=12 maxlength=10 /></td></tr>'; echo '</table></td> <td><table class="selection"> @@ -520,13 +520,13 @@ </tr> <tr> <td>' . _('Tax Reference') . ':</td> - <td><input tabindex=15 type="text" name="TaxRef" size="22" maxlength="20" /></td> + <td><input tabindex="15" type="text" name="TaxRef" size="22" maxlength="20" /></td> </tr>'; $result=DB_query("SELECT terms, termsindicator FROM paymentterms",$db); if (DB_num_rows($result)==0){ $DataError =1; - echo '<tr><td colspan=2>' . prnMsg(_('There are no payment terms currently defined - go to the setup tab of the main menu and set at least one up first'),'error') . '</td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('There are no payment terms currently defined - go to the setup tab of the main menu and set at least one up first'),'error') . '</td></tr>'; } else { echo '<tr> Modified: trunk/DailyBankTransactions.php =================================================================== --- trunk/DailyBankTransactions.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DailyBankTransactions.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -141,7 +141,7 @@ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<br /><div class="centre"><input type="submit" name="Return" value="' . _('Select Another Date'). '"></div>'; + echo '<br /><div class="centre"><input type="submit" name="Return" value="' . _('Select Another Date'). '" /></div>'; echo '</form>'; } include('includes/footer.inc'); Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DeliveryDetails.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -814,12 +814,12 @@ /*Display the order with or without discount depending on access level*/ if (in_array(2,$_SESSION['AllowedPageSecurityTokens'])){ - echo '<table cellpading=2 colspan=7>'; + echo '<table cellpading="2" colspan="7">'; if ($_SESSION['Items'.$identifier]->Quotation==1){ - echo '<tr><th colspan=7>'._('Quotation Summary').'</th></tr>'; + echo '<tr><th colspan="7">'._('Quotation Summary').'</th></tr>'; } else { - echo '<tr><th colspan=7>'._('Order Summary').'</th></tr>'; + echo '<tr><th colspan="7">'._('Order Summary').'</th></tr>'; } echo '<tr> <th>'. _('Item Code') .'</th> Modified: trunk/DiscountCategories.php =================================================================== --- trunk/DiscountCategories.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DiscountCategories.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -85,7 +85,7 @@ } echo '</select></td>'; - echo '<td><input type="submit" name="select" value="'._('Select').'"></td> + echo '<td><input type="submit" name="select" value="'._('Select').'" /></td> </tr> </table> <br />'; @@ -93,20 +93,20 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type="hidden" name="ChooseOption" value="'.$_POST['ChooseOption'].'">'; - echo '<input type="hidden" name="selectchoice" value="'.$_POST['selectchoice'].'">'; + echo '<input type="hidden" name="ChooseOption" value="'.$_POST['ChooseOption'].'" />'; + echo '<input type="hidden" name="selectchoice" value="'.$_POST['selectchoice'].'" />'; if (isset($_POST['ChooseOption']) and $_POST['ChooseOption']==1) { echo '<table class="selection"><tr><td>'. _('Discount Category Code') .':</td><td>'; if (isset($_POST['DiscCat'])) { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 value="' . $_POST['DiscCat'] .'"></td> + echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 value="' . $_POST['DiscCat'] .'" /></td> <td>'._('OR') . '</td> <td></td> <td>'._('OR').'</td> </tr>'; } else { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2></td> + echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 /></td> <td>' ._('OR') . '</td> <td></td> <td>'._('OR') . '</td> @@ -123,17 +123,17 @@ $_POST['PartDesc']=''; } echo '<tr><td>'. _('Enter Stock Code') .':</td> - <td><input type="text" name="StockID" size=20 maxlength=20 value="' . $_POST['StockID'] . '"></td> + <td><input type="text" name="StockID" size=20 maxlength=20 value="' . $_POST['StockID'] . '" /></td> <td>'._('Partial code') . ':</td> - <td><input type="text" name="PartID" size=10 maxlength=10 value="' . $_POST['PartID'] . '"></td> + <td><input type="text" name="PartID" size=10 maxlength=10 value="' . $_POST['PartID'] . '" /></td> <td>' . _('Partial description') . ':</td> - <td><input type="text" name="PartDesc" size=10 value="' . $_POST['PartDesc'] .'" maxlength=10></td> - <td><input type="submit" name="search" value="' . _('Search') .'"></td> + <td><input type="text" name="PartDesc" size=10 value="' . $_POST['PartDesc'] .'" maxlength=10 /></td> + <td><input type="submit" name="search" value="' . _('Search') .'" /></td> </tr>'; echo '</table>'; - echo '<br /><div class="centre"><input type="submit" name="submit" value="'. _('Update Item') .'"></div>'; + echo '<br /><div class="centre"><input type="submit" name="submit" value="'. _('Update Item') .'" /></div>'; if (isset($_POST['search'])) { if ($_POST['PartID']!='' and $_POST['PartDesc']=='') @@ -169,7 +169,7 @@ echo '<option value="'.$myrow['categoryid'].'">'.$myrow['categorydescription'].'</option>'; } echo '</select></td></tr></table>'; - echo '<br /><div class="centre"><input type="submit" name="SubmitCategory" value="'. _('Update Items') .'"></div>'; + echo '<br /><div class="centre"><input type="submit" name="SubmitCategory" value="'. _('Update Items') .'" /></div>'; } echo '</form>'; @@ -245,7 +245,7 @@ echo '</select></td></tr> </table> <br />'; - echo '<div class="centre"><input type="submit" name="selectchoice" value="'._('Select').'"></div>'; + echo '<div class="centre"><input type="submit" name="selectchoice" value="'._('Select').'" /></div>'; } include('includes/footer.inc'); Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/EDIMessageFormat.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -202,7 +202,7 @@ echo '<table class=selection>'; if ($myrow['messagetype']!='') { - echo '<tr><th colspan=2><font size=3>' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</font></th></tr>'; + echo '<tr><th colspan="2">' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</th></tr>'; } echo '<tr><td>' . _('Section') . ':</td>'; Modified: trunk/EmailConfirmation.php =================================================================== --- trunk/EmailConfirmation.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/EmailConfirmation.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -252,7 +252,7 @@ <title>Email Confirmation</title> </head> <body> -<Table width='60%'> +<table width='60%'> <tr> <td align='center' colspan='4'> <?php echo "<IMG src='" . $rootpath . '/' . $_SESSION['LogoFile'] . "' alt='Logo'" . "width='500' height='100' align='center' border='0'>" ?> Modified: trunk/FTP_RadioBeacon.php =================================================================== --- trunk/FTP_RadioBeacon.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FTP_RadioBeacon.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -44,7 +44,7 @@ /*show a table of the orders returned by the SQL */ -echo '<table cellpadding=2 colspan=7 WIDTH=100%>'; +echo '<table cellpadding="2" colspan="7" width="100%">'; $TableHeader = '<tr> <td class=tableheader>' . _('Modify') . '</td> <td class=tableheader>' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> Modified: trunk/Factors.php =================================================================== --- trunk/Factors.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Factors.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -275,7 +275,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type="hidden" name="New" value="No">'; + echo '<input type="hidden" name="New" value="No" />'; echo '<table class="selection"> <tr> <th>' . _('ID') . '</th> Modified: trunk/FixedAssetItems.php =================================================================== --- trunk/FixedAssetItems.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FixedAssetItems.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -390,7 +390,7 @@ /*If the page was called without $AssetID passed to page then assume a new asset is to be entered other wise the form showing the fields with the existing entries against the asset will show for editing with a hidden AssetID field. New is set to flag that the page may have called itself and still be entering a new asset, in which case the page needs to know not to go looking up details for an existing asset*/ $New = 1; - echo '<input type="hidden" name="New" value="">'. "\n"; + echo '<input type="hidden" name="New" value="" /><br />'; $_POST['LongDescription'] = ''; $_POST['Description'] = ''; @@ -469,7 +469,7 @@ echo '<tr> <td>'. _('Image File (.jpg)') . ':</td> - <td><input type="file" id="ItemPicture" name="ItemPicture"></td>'; + <td><input type="file" id="ItemPicture" name="ItemPicture" /></td>'; if (function_exists('imagecreatefromjpg')){ $AssetImgLink = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC'. @@ -480,7 +480,7 @@ '" >'; } else { if( isset($AssetID) and file_exists($_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg') ) { - $AssetImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg" >'; + $AssetImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg" />'; } else { $AssetImgLink = _('No Image'); } Modified: trunk/FixedAssetRegister.php =================================================================== --- trunk/FixedAssetRegister.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FixedAssetRegister.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -220,7 +220,7 @@ } else { echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" />'; - echo '<input type="hidden" name="ToDate" value=' . $_POST['ToDate'] . '>'; + echo '<input type="hidden" name="ToDate" value="' . $_POST['ToDate'] . '" />'; echo '<input type="hidden" name="AssetCategory" value="' . $_POST['AssetCategory'] . '" />'; echo '<input type="hidden" name="AssetID" value="' . $_POST['AssetID'] . '" />'; echo '<input type="hidden" name="AssetLocation" value="' . $_POST['AssetLocation'] . '" />'; Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FormDesigner.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -158,11 +158,11 @@ $Papers=array('A4_Landscape', 'A4_Portrait', 'A5_Landscape', 'A5_Portrait', 'A3_Landscape', 'A3_Portrait', 'letter_Portrait', 'letter_Landscape', 'legal_Portrait', 'legal_Landscape'); // Possible paper sizes/orientations echo '<form method="post" id="Form" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input name=FormName type="hidden" value="'.$_POST['FormName'].'">'; -echo '<table width=95% border=1>'; //Start of outer table -echo '<tr><th width=33%>'._('Form Name').'<input type="text" name="formname" value="'.$FormDesign['name'].'"></th>'; +echo '<input name="FormName" type="hidden" value="'.$_POST['FormName'].'" />'; +echo '<table width="95%" border="1">'; //Start of outer table +echo '<tr><th width="33%">'._('Form Name').'<input type="text" name="formname" value="'.$FormDesign['name'].'" /></th>'; /* Select the paper size/orientation */ -echo '<th width=33%>'._('Paper Size').'<select name="PaperSize">'; +echo '<th width="33%">'._('Paper Size').'<select name="PaperSize">'; foreach ($Papers as $Paper) { if (mb_substr($Paper,-8)=='Portrait') { $PaperValue=mb_substr($Paper,0,mb_strlen($Paper)-9); @@ -177,33 +177,33 @@ } echo '</select></th>'; /* and the standard line height for the form */ -echo '<th width=33%>'._('Line Height').'<input type="text" class="number" name="LineHeight" size=3 maxlength=3 value="'.$FormDesign->LineHeight.'"></th></tr><tr>'; +echo '<th width=33%>'._('Line Height').'<input type="text" class="number" name="LineHeight" size="3" maxlength="3" value="'.$FormDesign->LineHeight.'" /></th></tr><tr>'; $counter=1; // Count how many sub tables are in the row foreach ($FormDesign as $key) { switch ($key['type']) { case 'image': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=8>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; - echo '<td class=number>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="8">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; + echo '<td class="number">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'SimpleText': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'."\n"; SimpleTextLine($key); echo '</table></td>'; $counter=$counter+1; break; case 'MultiLineText': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=4>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="4">'.$key['name'].'</th></tr>'."\n"; MultiTextLine($key); echo '</table></td>'; $counter=$counter+1; break; case 'ElementArray': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=7>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="7">'.$key['name'].'</th></tr>'."\n"; foreach ($key as $subkey) { if ($subkey['type']=='SimpleText') { echo '<tr>'; @@ -221,7 +221,7 @@ echo '<td>'.$subkey['name'].'</td>'; DataTextLine($subkey); } elseif ($subkey['type']=='StartLine') { - echo '<td colspan=3>'.$subkey['name'].' = '.'</td><td><input type="text" class="number" name="StartLine" size=4 maxlength=4 value="'.$key->y.'"></td>'; + echo '<td colspan="3">'.$subkey['name'].' = '.'</td><td><input type="text" class="number" name="StartLine" size="4" maxlength="4" value="'.$key->y.'"></td>'; } echo '</tr>'; } @@ -230,30 +230,30 @@ $counter=$counter+1; break; case 'CurvedRectangle': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; - echo '<td class=number>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td></tr><tr>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; - echo '<td class=number>'._('Radius').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'radius" size=3 maxlength=3 value="'.$key->radius.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; + echo '<td class="number">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td></tr><tr>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; + echo '<td class="number">'._('Radius').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'radius" size="3" maxlength="3" value="'.$key->radius.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'Rectangle': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; - echo '<td class=number>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td></tr><tr>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; + echo '<td class="number">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td></tr><tr>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'Line': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('Start x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'startx" size=4 maxlength=4 value="'.$key->startx.'"></td>'; - echo '<td class=number>'._('Start y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'starty" size=4 maxlength=4 value="'.$key->starty.'"></td></tr><tr>'; - echo '<td class=number>'._('End x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endx" size=4 maxlength=4 value="'.$key->endx.'"></td>'; - echo '<td class=number>'._('End y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endy" size=4 maxlength=4 value="'.$key->endy.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('Start x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'startx" size="4" maxlength="4" value="'.$key->startx.'"></td>'; + echo '<td class="number">'._('Start y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'starty" size="4" maxlength="4" value="'.$key->starty.'"></td></tr><tr>'; + echo '<td class="number">'._('End x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endx" size="4" maxlength="4" value="'.$key->endx.'"></td>'; + echo '<td class="number">'._('End y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endy" size="4" maxlength="4" value="'.$key->endy.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; Modified: trunk/FreightCosts.php =================================================================== --- trunk/FreightCosts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FreightCosts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -56,7 +56,7 @@ echo '</select></td></tr> </table> - <br /><div class="centre"><input type="submit" value="' . _('Accept') . '" name="Accept"></div> + <br /><div class="centre"><input type="submit" value="' . _('Accept') . '" name="Accept" /></div> </form>'; } else { @@ -300,7 +300,7 @@ $_POST['FixedPrice'] = $myrow['fixedprice']; $_POST['MinimumChg'] = $myrow['minimumchg']; - echo '<input type="hidden" name="SelectedFreightCost" value="' . $SelectedFreightCost . '">'; + echo '<input type="hidden" name="SelectedFreightCost" value="' . $SelectedFreightCost . '" />'; } else { $_POST['FixedPrice'] = 0; @@ -317,26 +317,26 @@ if (!isset($_POST['MAXCub'])) {$_POST['MAXCub']='';} echo '<br /><table class=selection>'; - echo '<tr><th colspan=2><font size=4 color=blue>' . _('For Deliveries From') . ' ' . $LocationName . ' ' . _('using') . ' ' . - $ShipperName . '</font></th></tr>'; + echo '<tr><th colspan="2">' . _('For Deliveries From') . ' ' . $LocationName . ' ' . _('using') . ' ' . + $ShipperName . '</th></tr>'; echo'<tr><td>' . _('Destination') . ':</td> - <td><input type="text" maxlength=20 size=20 name="Destination" value="' . $_POST['Destination'] . '"></td></tr>'; + <td><input type="text" maxlength=20 size=20 name="Destination" value="' . $_POST['Destination'] . '" /></td></tr>'; echo '<tr><td>' . _('Rate per Cubic Metre') . ':</td> - <td><input type="text" name="CubRate" class="number" size=6 maxlength=5 value="' . $_POST['CubRate'] . '"></td></tr>'; + <td><input type="text" name="CubRate" class="number" size=6 maxlength=5 value="' . $_POST['CubRate'] . '" /></td></tr>'; echo '<tr><td>' . _('Rate Per KG') . ':</td> - <td><input type="text" name="KGRate" class="number" size=6 maxlength=5 value="' . $_POST['KGRate'] . '"></td></tr>'; + <td><input type="text" name="KGRate" class="number" size=6 maxlength=5 value="' . $_POST['KGRate'] . '" /></td></tr>'; echo '<tr><td>' . _('Maximum Weight Per Package (KGs)') . ':</a></td> - <td><input type="text" name="MAXKGs" class="number" size=8 maxlength=7 value="' . $_POST['MAXKGs'] . '"></td></tr>'; + <td><input type="text" name="MAXKGs" class="number" size=8 maxlength=7 value="' . $_POST['MAXKGs'] . '" /></td></tr>'; echo '<tr><td>' . _('Maximum Volume Per Package (cubic metres)') . ':</a></td> - <td><input type="text" name="MAXCub" class="number" size=8 maxlength=7 value="' . $_POST['MAXCub'] . '"></td></tr>'; + <td><input type="text" name="MAXCub" class="number" size=8 maxlength=7 value="' . $_POST['MAXCub'] . '" /></td></tr>'; echo '<tr><td>' . _('Fixed Price (zero if rate per KG or Cubic)') . ':</a></td> - <td><input type="text" name="FixedPrice" class="number" size=6 maxlength=5 value="' . $_POST['FixedPrice'] . '"></td></tr>'; + <td><input type="text" name="FixedPrice" class="number" size=6 maxlength=5 value="' . $_POST['FixedPrice'] . '" /></td></tr>'; echo '<tr><td>' . _('Minimum Charge (0 is N/A)') . ':</a></td> - <td><input type="text" name="MinimumChg" class="number" size=6 maxlength=5 value="' . $_POST['MinimumChg'] . '"></td></tr>'; + <td><input type="text" name="MinimumChg" class="number" size=6 maxlength=5 value="' . $_POST['MinimumChg'] . '" /></td></tr>'; echo '</table><br />'; - echo '<div class="centre"><input type="submit" name="submit" value="' . _('Enter Information') . '"></div>'; + echo '<div class="centre"><input type="submit" name="submit" value="' . _('Enter Information') . '" /></div>'; echo '</form>'; Modified: trunk/GLAccountCSV.php =================================================================== --- trunk/GLAccountCSV.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLAccountCSV.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -79,7 +79,7 @@ // End select tag echo '</table><p> - <div class="centre"><input type="submit" name="MakeCSV" value="'._('Make CSV File').'"></div> + <div class="centre"><input type="submit" name="MakeCSV" value="'._('Make CSV File').'" /></div> </form>'; /* End of the Form rest of script is what happens if the show button is hit*/ Modified: trunk/GLAccounts.php =================================================================== --- trunk/GLAccounts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -222,8 +222,8 @@ $_POST['AccountName'] = $myrow['accountname']; $_POST['Group'] = $myrow['group_']; - echo '<input type="hidden" name="SelectedAccount" value="' . $SelectedAccount . '">'; - echo '<input type="hidden" name="AccountCode" VALUE="' . $_POST['AccountCode'] .'">'; + echo '<input type="hidden" name="SelectedAccount" value="' . $SelectedAccount . '" />'; + echo '<input type="hidden" name="AccountCode" VALUE="' . $_POST['AccountCode'] .'" />'; echo '<table class=selection> <tr><td>' . _('Account Code') . ':</td> <td>' . $_POST['AccountCode'] . '</td></tr>'; @@ -235,7 +235,7 @@ } if (!isset($_POST['AccountName'])) {$_POST['AccountName']='';} - echo '<tr><td>' . _('Account Name') . ":</td><td><input type='Text' size=51 maxlength=50 name='AccountName' value='" . $_POST['AccountName'] . "'></td></tr>"; + echo '<tr><td>' . _('Account Name') . ":</td><td><input type='Text' size=51 maxlength=50 name='AccountName' value='" . $_POST['AccountName'] . "' /></td></tr>"; $sql = 'SELECT groupname FROM accountgroups ORDER BY sequenceintb'; $result = DB_query($sql, $db); @@ -259,7 +259,7 @@ echo '</select></td></tr></table>'; - echo '<br /><div class="centre"><input type="Submit" name="submit" value="'. _('Enter Information') . '"></div>'; + echo '<br /><div class="centre"><input type="Submit" name="submit" value="'. _('Enter Information') . '" /></div>'; echo '</form>'; Modified: trunk/GLBalanceSheet.php =================================================================== --- trunk/GLBalanceSheet.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLBalanceSheet.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -63,7 +63,7 @@ </div>'; echo '<br /> <div class="centre"> - <input type="submit" name="PrintPDF" value="'._('Produce PDF Report').'"> + <input type="submit" name="PrintPDF" value="'._('Produce PDF Report').'" /> </div> </form>'; @@ -364,7 +364,7 @@ echo '<div class="invoice"> <table class="selection"> <tr> - <th colspan=6> + <th colspan="6"> <div class="centre"><font size="4" color="blue"><b>' . _('Balance Sheet as at') . ' ' . $BalanceDate .'</b></font> </div> @@ -620,7 +620,7 @@ </tr>'; } else { echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr></td> <td></td> <td><hr></td> @@ -628,7 +628,7 @@ } printf('<tr> - <td colspan=3><font size=4>%s</font></td> + <td colspan="3">%s</td> <td class="number">%s</td> <td></td> <td class="number">%s</td> Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLBudgets.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -191,7 +191,7 @@ echo '<td><input type="text" class="number" size=14 name="'.$i.'this" value="'. locale_number_format($Budget[$CurrentYearEndPeriod-(12-$i)],$_SESSION['CompanyRecord']['decimalplaces']) .'"></td>'; echo '<th>'. $PeriodEnd[$CurrentYearEndPeriod+($i)] .'</th>'; echo '<td bgcolor="d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; - echo '<td><input type="text" class="number" size=14 name="'.$i.'next" value="'. locale_number_format($Budget[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']) .'"></td>'; + echo '<td><input type="text" class="number" size=14 name="'.$i.'next" value="'. locale_number_format($Budget[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']) .'" /></td>'; echo '</tr>'; $LastYearActual=$LastYearActual+$Actual[$CurrentYearEndPeriod-(24-$i)]; $LastYearBudget=$LastYearBudget+$Budget[$CurrentYearEndPeriod-(24-$i)]; @@ -231,7 +231,7 @@ echo '<script>defaultControl(document.form.1next);</script>'; echo '<br /> <div class="centre"> - <input type="submit" name=update value="' . _('Update') . '"> + <input type="submit" name=update value="' . _('Update') . '" /> </div> </form>'; Modified: trunk/GLProfit_Loss.php =================================================================== --- trunk/GLProfit_Loss.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLProfit_Loss.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -748,7 +748,7 @@ if ($Section==1) { /*Income*/ echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr /></td> <td></td> <td><hr /></td> @@ -757,7 +757,7 @@ </tr>'; printf('<tr> - <td colspan="2"><font size=4>%s</font></td> + <td colspan="2">%s</td> <td></td> <td class="number">%s</td> <td></td> @@ -875,7 +875,7 @@ $ActGrp = $myrow['groupname']; if ($_POST['Detail']=='Detailed'){ printf('<tr> - <th colspan=8><font size=3 color=BLUE><b>%s</b></font></th> + <th colspan="8"><b>%s</b></th> </tr>', $myrow['groupname']); echo $TableHeader; @@ -1051,7 +1051,7 @@ if ($Section==1) { /*Income*/ echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr /></td> <td></td> <td><hr /></td> Modified: trunk/GLTags.php =================================================================== --- trunk/GLTags.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLTags.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -57,8 +57,8 @@ <table> <tr> <td>'. _('Description') . '</td> - <td><input type="text" size="30" maxlength="30" name="Description" value="'.$Description.'"></td> - <td><input type="hidden" name="reference" value="'.$_GET['SelectedTag'].'">'; + <td><input type="text" size="30" maxlength="30" name="Description" value="'.$Description.'" /></td> + <td><input type="hidden" name="reference" value="'.$_GET['SelectedTag'].'" />'; if (isset($_GET['Action']) AND $_GET['Action']=='edit') { echo '<input type="submit" name="update" value="' . _('Update') . '" />'; Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLTrialBalance.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -436,8 +436,8 @@ Account Code , Account Name... [truncated message content] |
From: <vv...@us...> - 2012-01-22 22:18:01
|
Revision: 4835 http://web-erp.svn.sourceforge.net/web-erp/?rev=4835&view=rev Author: vvs2012 Date: 2012-01-22 22:17:50 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Added quotes and missing closing tags in multiple files Modified Paths: -------------- trunk/Areas.php trunk/BOMListing.php trunk/BankAccounts.php trunk/BankMatching.php trunk/COGSGLPostings.php trunk/ConfirmDispatch_Invoice.php trunk/CreditItemsControlled.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/CustEDISetup.php trunk/CustomerAllocations.php trunk/CustomerTransInquiry.php trunk/Customers.php trunk/DailyBankTransactions.php trunk/DeliveryDetails.php trunk/DiscountCategories.php trunk/EDIMessageFormat.php trunk/EmailConfirmation.php trunk/FTP_RadioBeacon.php trunk/Factors.php trunk/FixedAssetItems.php trunk/FixedAssetRegister.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLAccountCSV.php trunk/GLAccounts.php trunk/GLBalanceSheet.php trunk/GLBudgets.php trunk/GLProfit_Loss.php trunk/GLTags.php trunk/GLTrialBalance.php trunk/GeocodeSetup.php trunk/GoodsReceivedControlled.php trunk/InventoryPlanningPrefSupplier.php trunk/Locations.php trunk/MRPCalendar.php trunk/MRPDemands.php trunk/MRPPlannedWorkOrders.php trunk/PDFBankingSummary.php trunk/PDFCustomerList.php trunk/PDFDIFOT.php trunk/PDFDeliveryDifferences.php trunk/PDFOrdersInvoiced.php trunk/PDFPeriodStockTransListing.php trunk/PDFPickingList.php trunk/PDFPrintLabel.php trunk/PDFStockCheckComparison.php trunk/PDFStockLocTransfer.php trunk/PDFStockTransfer.php trunk/PDFSuppTransListing.php trunk/POReport.php trunk/PO_AuthorisationLevels.php trunk/PO_AuthoriseMyOrders.php trunk/PO_Header.php trunk/PO_Items.php trunk/PO_OrderDetails.php trunk/PO_SelectOSPurchOrder.php trunk/PO_SelectPurchOrder.php trunk/PaymentMethods.php trunk/PaymentTerms.php trunk/Payments.php trunk/PcAssignCashToTab.php trunk/PcAuthorizeExpenses.php trunk/PcClaimExpensesFromTab.php trunk/PcReportTab.php trunk/PcTabs.php trunk/PeriodsInquiry.php trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/Prices_Customer.php trunk/PrintCustStatements.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/RecurringSalesOrders.php trunk/ReorderLevelLocation.php trunk/ReverseGRN.php trunk/SalesAnalReptCols.php trunk/SalesAnalRepts.php trunk/SalesCategories.php trunk/SalesGLPostings.php trunk/SalesGraph.php trunk/SalesInquiry.php trunk/SalesTopItemsInquiry.php trunk/SalesTypes.php trunk/SecurityTokens.php trunk/SelectAsset.php trunk/SelectCompletedOrder.php trunk/SelectCreditItems.php trunk/SelectCustomer.php trunk/SelectOrderItems.php trunk/SelectProduct.php trunk/SelectSalesOrder.php trunk/SelectSupplier.php trunk/SelectWorkOrder.php trunk/Shipments.php trunk/ShiptsList.php trunk/StockCheck.php trunk/StockCounts.php trunk/StockDispatch.php trunk/StockLocTransferReceive.php trunk/Stocks.php trunk/SuppCreditGRNs.php trunk/SuppInvGRNs.php trunk/SupplierAllocations.php trunk/SupplierContacts.php trunk/SupplierCredit.php trunk/SupplierTenders.php trunk/SupplierTypes.php trunk/Suppliers.php trunk/SystemParameters.php trunk/TaxAuthorities.php trunk/UnitsOfMeasure.php trunk/UserSettings.php trunk/WWW_Access.php trunk/WWW_Users.php trunk/WorkOrderCosting.php trunk/WorkOrderIssue.php trunk/WorkOrderReceive.php trunk/WorkOrderStatus.php trunk/Z_ChangeStockCategory.php trunk/Z_DataExport.php trunk/Z_ImportChartOfAccounts.php trunk/Z_ImportFixedAssets.php trunk/Z_ImportStocks.php trunk/Z_MakeNewCompany.php trunk/Z_ReApplyCostToSA.php trunk/Z_ReverseSuppPaymentRun.php trunk/Z_UpdateChartDetailsBFwd.php trunk/Z_Upgrade3.10.php trunk/Z_Upgrade_3.04-3.05.php trunk/Z_Upgrade_3.05-3.06.php trunk/Z_Upgrade_3.07-3.08.php trunk/Z_Upgrade_3.08-3.09.php trunk/Z_Upgrade_3.09-3.10.php trunk/Z_Upgrade_3.10-3.11.php trunk/Z_UploadForm.php trunk/Z_poAddLanguage.php trunk/Z_poEditLangHeader.php trunk/Z_poEditLangRemaining.php trunk/Z_poRebuildDefault.php trunk/doc/Change.log trunk/index.php Modified: trunk/Areas.php =================================================================== --- trunk/Areas.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Areas.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -213,7 +213,7 @@ echo '<table class="selection"> <tr> <td>' . _('Area Code') . ':</td> - <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength=3></td> + <td><input tabindex="1" ' . (in_array('AreaCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="AreaCode" value="' . $_POST['AreaCode'] . '" size="3" maxlength=3 /></td> </tr>'; } Modified: trunk/BOMListing.php =================================================================== --- trunk/BOMListing.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BOMListing.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -117,7 +117,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<tr><td>' . _('From Inventory Part Code') . ':' . '</font></td> - <td><input tabindex="1" type="text" name="FromCriteria" size="20" maxlength="20" value="1"></td> + <td><input tabindex="1" type="text" name="FromCriteria" size="20" maxlength="20" value="1" /></td> </tr>'; echo '<tr><td>' . _('To Inventory Part Code') . ':' . '</td> @@ -126,7 +126,7 @@ echo '</table> - <br /><div class="centre"><input tabindex="3" type="submit" name="PrintPDF" value="' . _('Print PDF') . '"></div>'; + <br /><div class="centre"><input tabindex="3" type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /></div>'; echo '<script>defaultControl(document.forms[0].FromCriteria);</script>'; } include('includes/footer.inc');; Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BankAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -276,8 +276,8 @@ $_POST['CurrCode'] = $myrow['currcode']; $_POST['DefAccount'] = $myrow['invoice']; - echo '<input type="hidden" name="SelectedBankAccount" value="' . $SelectedBankAccount . '">'; - echo '<input type="hidden" name="AccountCode" value="' . $_POST['AccountCode'] . '">'; + echo '<input type="hidden" name="SelectedBankAccount" value="' . $SelectedBankAccount . '" />'; + echo '<input type="hidden" name="AccountCode" value="' . $_POST['AccountCode'] . '" />'; echo '<table class="selection"> <tr><td>' . _('Bank Account GL Code') . ':</td> <td>' . $_POST['AccountCode'] . '</td> @@ -324,13 +324,13 @@ } echo '<tr><td>' . _('Bank Account Name') . ': </td> - <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size=40 maxlength=50></td></tr> + <td><input tabindex="2" ' . (in_array('AccountName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountName" value="' . $_POST['BankAccountName'] . '" size=40 maxlength=50 /></td></tr> <tr><td>' . _('Bank Account Code') . ': </td> - <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size=40 maxlength=50></td></tr> + <td><input tabindex="3" ' . (in_array('AccountCode',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountCode" value="' . $_POST['BankAccountCode'] . '" size=40 maxlength=50 /></td></tr> <tr><td>' . _('Bank Account Number') . ': </td> - <td><input tabindex="3" ' . (in_array('AccountNumber',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountNumber" value="' . $_POST['BankAccountNumber'] . '" size="40" maxlength="50"></td></tr> + <td><input tabindex="3" ' . (in_array('AccountNumber',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="BankAccountNumber" value="' . $_POST['BankAccountNumber'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Bank Address') . ': </td> - <td><input tabindex="4" ' . (in_array('BankAddress',$Errors) ? 'class="inputerror"' : '' ) .' type="Text" name="BankAddress" value="' . $_POST['BankAddress'] . '" size="40" maxlength="50"></td></tr> + <td><input tabindex="4" ' . (in_array('BankAddress',$Errors) ? 'class="inputerror"' : '' ) .' type="Text" name="BankAddress" value="' . $_POST['BankAddress'] . '" size="40" maxlength="50" /></td></tr> <tr><td>' . _('Currency Of Account') . ': </td> <td><select tabindex="5" name="CurrCode">'; @@ -388,7 +388,7 @@ echo '</select></td>'; echo '</tr></table><br /> - <div class="centre"><input tabindex="7" type="submit" name="submit" value="'. _('Enter Information') .'"></div>'; + <div class="centre"><input tabindex="7" type="submit" name="submit" value="'. _('Enter Information') .'" /></div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/BankMatching.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -90,7 +90,7 @@ echo '<table class="selection"> <tr> <td align="left">' . _('Bank Account') . ':</td> - <td colspan=3><select tabindex="1" name="BankAccount">'; + <td colspan="3"><select tabindex="1" name="BankAccount">'; $sql = "SELECT accountcode, bankaccountname FROM bankaccounts"; $resultBankActs = DB_query($sql,$db); Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/COGSGLPostings.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -248,7 +248,7 @@ $_POST['StkCat'] = $myrow['stkcat']; $_POST['SalesType'] = $myrow['salestype']; - echo '<input type="hidden" name="SelectedCOGSPostingID" value="' . $SelectedCOGSPostingID . '">'; + echo '<input type="hidden" name="SelectedCOGSPostingID" value="' . $SelectedCOGSPostingID . '" />'; } //end of if $SelectedCOGSPostingID only do the else when a new record is being entered Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/ConfirmDispatch_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -327,13 +327,13 @@ if (isset($_POST['ProcessInvoice'])) { echo '<td class="number">' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</td>'; } else { - echo '<td class="number"><input type="hidden" name="' . $LnItm->LineNumber . '_QtyDispatched" value="' . $LnItm->QtyDispatched . '"><a href="' . $rootpath .'/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">' .locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</a></td>'; + echo '<td class="number"><input type="hidden" name="' . $LnItm->LineNumber . '_QtyDispatched" value="' . $LnItm->QtyDispatched . '" /><a href="' . $rootpath .'/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">' .locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</a></td>'; } } else { if (isset($_POST['ProcessInvoice'])) { echo '<td class="number">' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '</td>'; } else { - echo '<td class="number"><input tabindex="'.$j.'" type="text" class="number" name="' . $LnItm->LineNumber . '_QtyDispatched" maxlength="12" size="12" value="' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '"></td>'; + echo '<td class="number"><input tabindex="'.$j.'" type="text" class="number" name="' . $LnItm->LineNumber . '_QtyDispatched" maxlength="12" size="12" value="' . locale_number_format($LnItm->QtyDispatched,$LnItm->DecimalPlaces) . '" /></td>'; } } $DisplayDiscountPercent = locale_number_format($LnItm->DiscountPercent*100,2) . '%'; @@ -476,7 +476,7 @@ OR $_POST['ChargeFreightCost']==0)) { echo '<td colspan="2" class="number">'. _('Charge Freight Cost inc Tax').'</td> - <td><input tabindex='.$j.' type="text" class="number" size="10" maxlength="12" name="ChargeFreightCost" value="0"></td>'; + <td><input tabindex='.$j.' type="text" class="number" size="10" maxlength="12" name="ChargeFreightCost" value="0" /></td>'; $_SESSION['Items'.$identifier]->FreightCost=0; } else { echo '<td colspan="2" class="number">'. _('Charge Freight Cost inc Tax').'</td>'; @@ -1613,9 +1613,9 @@ echo '<br /><div class="centre">'; if ($_SESSION['InvoicePortraitFormat']==0){ - echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTrans.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Landscape') . ')</a><br /><br />'; + echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTrans.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Landscape') . ')</a><br /><br />'; } else { - echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTransPortrait.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Portrait') . ')</a><br /><br />'; + echo '<img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a target="_blank" href="'.$rootpath.'/PrintCustTransPortrait.php?FromTransNo='.$InvoiceNo.'&InvOrCredit=Invoice&PrintPDF=True">'. _('Print this invoice'). ' (' . _('Portrait') . ')</a><br /><br />'; } echo '<a href="'.$rootpath.'/SelectSalesOrder.php">'. _('Select another order for invoicing'). '</a><br /><br />'; echo '<a href="'.$rootpath.'/SelectOrderItems.php?NewOrder=Yes">'._('Sales Order Entry').'</a></div><br />'; @@ -1635,12 +1635,12 @@ echo '<table class="selection"> <tr> <td>' ._('Date On Invoice'). ':</td> - <td><input tabindex='.$j.' type="text" maxlength="10" size="15" name="DispatchDate" value="'.$DefaultDispatchDate.'" id="datepicker" alt="'.$_SESSION['DefaultDateFormat'].'" class="date"></td> + <td><input tabindex='.$j.' type="text" maxlength="10" size="15" name="DispatchDate" value="'.$DefaultDispatchDate.'" id="datepicker" alt="'.$_SESSION['DefaultDateFormat'].'" class="date" /></td> </tr>'; $j++; echo '<tr> <td>' . _('Consignment Note Ref'). ':</td> - <td><input tabindex='.$j.' type="text" maxlength="15" size="15" name="Consignment" value="' . $_POST['Consignment'] . '"></td> + <td><input tabindex='.$j.' type="text" maxlength="15" size="15" name="Consignment" value="' . $_POST['Consignment'] . '" /></td> </tr>'; $j++; echo '<tr> Modified: trunk/CreditItemsControlled.php =================================================================== --- trunk/CreditItemsControlled.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CreditItemsControlled.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -70,7 +70,7 @@ echo '<div class="centre">'; if ($CreditLink == 'Credit_Invoice.php'){ - echo '<input type="hidden" name="CreditInvoice" value="Yes">'; + echo '<input type="hidden" name="CreditInvoice" value="Yes" />'; } echo '<br /><a href="' . $rootpath . '/' . $CreditLink . '">'. _('Back to Credit Note Entry'). '</a>'; Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CreditStatus.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -240,7 +240,7 @@ echo '<tr> <td>'. _('Description') .':</td> <td><input ' . (in_array('ReasonDescription',$Errors) ? 'class="inputerror"' : '' ) . - ' tabindex=2 type="text" name="ReasonDescription" VALUE="'. $_POST['ReasonDescription'] .'" size="28" maxlength="30"></td> + ' tabindex=2 type="text" name="ReasonDescription" VALUE="'. $_POST['ReasonDescription'] .'" size="28" maxlength="30" /></td> </tr> <tr> <td>'. _('Disallow Invoices') . '</td>'; Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Credit_Invoice.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -418,7 +418,7 @@ } if (!isset($_POST['ProcessCredit'])) { - echo '<input type="text" class="number" name="FreightTaxRate' . $FreightTaxLine->TaxCalculationOrder . '" maxlength="4" size="4" value=' . $FreightTaxLine->TaxRate * 100 . '>'; + echo '<input type="text" class="number" name="FreightTaxRate' . $FreightTaxLine->TaxCalculationOrder . '" maxlength="4" size="4" value="' . $FreightTaxLine->TaxRate * 100 . '" />'; } if ($FreightTaxLine->TaxOnTax ==1){ $TaxTotals[$FreightTaxLine->TaxAuthID] += ($FreightTaxLine->TaxRate * ($_SESSION['CreditItems']->FreightCost + $FreightTaxTotal)); @@ -444,7 +444,7 @@ echo '<tr> <td colspan="7" class="number">' . _('Credit Totals') . '</td> <td class="number"><hr><b>' . $DisplayTotal . '</b><hr></td> - <td colspan=2></td> + <td colspan="2"></td> <td class="number"><hr><b>' . locale_number_format($TaxTotal,$_SESSION['CreditItems']->CurrDecimalPlaces) . '<hr></td> <td class="number"><hr><b>' . locale_number_format($TaxTotal+($_SESSION['CreditItems']->total + $_SESSION['CreditItems']->FreightCost),$_SESSION['CreditItems']->CurrDecimalPlaces) . '</b><hr></td> </tr></table>'; @@ -1509,9 +1509,9 @@ } $j++; echo '<tr><td>' . _('Credit note text') . '</td><td><textarea tabindex=' . $j . ' name="CreditText" cols="31" rows="5">' . $_POST['CreditText'] . '</textarea></td></tr>'; - echo '</table><br /><div class="centre"><input tabindex=' . $j . ' type="submit" name="Update" value=' . _('Update') . '><p>'; + echo '</table><br /><div class="centre"><input tabindex=' . $j . ' type="submit" name="Update" value=' . _('Update') . ' /><br />'; $j++; - echo '<input type="submit" tabindex='.$j++.' name="ProcessCredit" Value="' . _('Process Credit') .'"></div>'; + echo '<input type="submit" tabindex='.$j++.' name="ProcessCredit" Value="' . _('Process Credit') .'" /></div>'; } echo '</form>'; Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Currencies.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -247,7 +247,7 @@ } if ($myrow[1]!=$FunctionalCurrency){ - printf('<td><img src="%s"></td> + printf('<td><img src="%s" /></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -276,7 +276,7 @@ $rootpath, '&CurrencyToShow=' . $myrow['currabrev']); } else { - printf('<td><img src="%s"></td> + printf('<td><img src="%s" /></td> <td>%s</td> <td>%s</td> <td>%s</td> Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CustEDISetup.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -150,13 +150,13 @@ if ($myrow['editransport']=='ftp'){ echo '<tr><td>'._('FTP Server User Name') . ':</td> - <td><input tabindex=6 type="text" name="EDIServerUser" size=20 maxlength=20 value="' . $myrow['ediserveruser'] . '"></td></tr>'; + <td><input tabindex=6 type="text" name="EDIServerUser" size=20 maxlength=20 value="' . $myrow['ediserveruser'] . '" /></td></tr>'; echo '<tr><td>'._('FTP Server Password') . ':</td> - <td><input tabindex=7 type="text" name="EDIServerPwd" size=20 maxlength=20 value="' . $myrow['ediserverpwd'] . '"></td></tr>'; + <td><input tabindex=7 type="text" name="EDIServerPwd" size=20 maxlength=20 value="' . $myrow['ediserverpwd'] . '" /></td></tr>'; } echo '</table> - <br /><div class="centre"><input tabindex=8 type="submit" name="submit" value="' ._('Update EDI Configuration'). '"></div> + <br /><div class="centre"><input tabindex=8 type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> </form>'; include('includes/footer.inc'); Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CustomerAllocations.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -397,7 +397,7 @@ <td class="number">' . locale_number_format($balance,$_SESSION['Alloc']->CurrDecimalPlaces) . '</td> </tr>'; } else { - echo '<input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '"></td>'; + echo '<input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '" /></td>'; echo '<td class="number"><input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"'; if (ABS($AllocnItem->AllocAmt-$YetToAlloc) < 0.01) { Modified: trunk/CustomerTransInquiry.php =================================================================== --- trunk/CustomerTransInquiry.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/CustomerTransInquiry.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -137,7 +137,7 @@ if ($_POST['TransType']==10){ /* invoices */ printf($format_base . - '<td><a target="_blank" href=%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice"><img src="%s" title="' . _('Click to preview the invoice') . '"></a></td> + '<td><a target="_blank" href=%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice"><img src="%s" title="' . _('Click to preview the invoice') . '" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -156,7 +156,7 @@ } elseif ($_POST['TransType']==11){ /* credit notes */ printf($format_base . - '<td><a target="_blank" href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit"><img src="%s" title="' . _('Click to preview the credit') . '"></a></td> + '<td><a target="_blank" href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit"><img src="%s" title="' . _('Click to preview the credit') . '" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Customers.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -437,29 +437,29 @@ /* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one, then provide an input box for the DebtorNo to manually assigned */ if ($_SESSION['AutoDebtorNo']==0) { - echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex=1 type="text" name="DebtorNo" size=11 maxlength=10></td></tr>'; + echo '<tr><td>' . _('Customer Code') . ':</td><td><input tabindex=1 type="text" name="DebtorNo" size=11 maxlength=10 /></td></tr>'; } echo '<tr><td>' . _('Customer Name') . ':</td> - <td><input tabindex=2 type="Text" name="CustName" size=42 maxlength=40></td></tr>'; + <td><input tabindex=2 type="Text" name="CustName" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Telephone') . ':</td> - <td><input tabindex=2 type="Text" name="Phone" size=30 maxlength=40></td></tr>'; + <td><input tabindex=2 type="Text" name="Phone" size=30 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Facsimile') . ':</td> - <td><input tabindex=2 type="Text" name="Fax" size=30 maxlength=40></td></tr>'; + <td><input tabindex=2 type="Text" name="Fax" size=30 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Email Address') . ':</td> - <td><input tabindex=2 type="Text" name="Email" size=30 maxlength=40></td></tr>'; + <td><input tabindex=2 type="Text" name="Email" size=30 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 1 (Street)') . ':</td> - <td><input tabindex=3 type="Text" name="Address1" size=42 maxlength=40></td></tr>'; + <td><input tabindex=3 type="Text" name="Address1" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 2 (Suburb/City)') . ':</td> - <td><input tabindex=4 type="Text" name="Address2" size=42 maxlength=40></td></tr>'; + <td><input tabindex=4 type="Text" name="Address2" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 3 (State/Province)') . ':</td> - <td><input tabindex=5 type="Text" name="Address3" size=42 maxlength=40></td></tr>'; + <td><input tabindex=5 type="Text" name="Address3" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 4 (Postal Code)') . ':</td> - <td><input tabindex=6 type="Text" name="Address4" size=42 maxlength=40></td></tr>'; + <td><input tabindex=6 type="Text" name="Address4" size=42 maxlength=40 /></td></tr>'; echo '<tr><td>' . _('Address Line 5') . ':</td> - <td><input tabindex=7 type="Text" name="Address5" size=22 maxlength=20></td></tr>'; + <td><input tabindex=7 type="Text" name="Address5" size=22 maxlength=20 /></td></tr>'; echo '<tr><td>' . _('Address Line 6') . ':</td> - <td><input tabindex=8 type="Text" name="Address6" size=17 maxlength=15></td></tr>'; + <td><input tabindex=8 type="Text" name="Address6" size=17 maxlength=15 /></td></tr>'; @@ -467,10 +467,10 @@ $result=DB_query("SELECT typeabbrev, sales_type FROM salestypes ",$db); if (DB_num_rows($result)==0){ $DataError =1; - echo '<tr><td colspan=2>' . prnMsg(_('No sales types/price lists defined'),'error') . '<br /><a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a></td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('No sales types/price lists defined'),'error') . '<br /><a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a></td></tr>'; } else { echo '<tr><td>' . _('Sales Type/Price List') . ':</td> - <td><select tabindex=9 name="SalesType">'; + <td><select tabindex="9" name="SalesType">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>'; @@ -484,10 +484,10 @@ if (DB_num_rows($result)==0){ $DataError =1; echo '<a href="SalesTypes.php?" target="_parent">' . _('Setup Types') . '</a>'; - echo '<tr><td colspan=2>' . prnMsg(_('No Customer types/price lists defined'),'error') . '</td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('No Customer types/price lists defined'),'error') . '</td></tr>'; } else { echo '<tr><td>' . _('Customer Type') . ':</td> - <td><select tabindex=9 name="typeid">'; + <td><select tabindex="9" name="typeid">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['typeid'] . '">' . $myrow['typename'] . '</option>'; @@ -498,7 +498,7 @@ $DateString = Date($_SESSION['DefaultDateFormat']); echo '<tr><td>' . _('Customer Since') . ' (' . $_SESSION['DefaultDateFormat'] . '):</td> - <td><input tabindex=10 type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size=12 maxlength=10></td></tr>'; + <td><input tabindex=10 type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="ClientSince" value="' . $DateString . '" size=12 maxlength=10 /></td></tr>'; echo '</table></td> <td><table class="selection"> @@ -520,13 +520,13 @@ </tr> <tr> <td>' . _('Tax Reference') . ':</td> - <td><input tabindex=15 type="text" name="TaxRef" size="22" maxlength="20" /></td> + <td><input tabindex="15" type="text" name="TaxRef" size="22" maxlength="20" /></td> </tr>'; $result=DB_query("SELECT terms, termsindicator FROM paymentterms",$db); if (DB_num_rows($result)==0){ $DataError =1; - echo '<tr><td colspan=2>' . prnMsg(_('There are no payment terms currently defined - go to the setup tab of the main menu and set at least one up first'),'error') . '</td></tr>'; + echo '<tr><td colspan="2">' . prnMsg(_('There are no payment terms currently defined - go to the setup tab of the main menu and set at least one up first'),'error') . '</td></tr>'; } else { echo '<tr> Modified: trunk/DailyBankTransactions.php =================================================================== --- trunk/DailyBankTransactions.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DailyBankTransactions.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -141,7 +141,7 @@ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method=post>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<br /><div class="centre"><input type="submit" name="Return" value="' . _('Select Another Date'). '"></div>'; + echo '<br /><div class="centre"><input type="submit" name="Return" value="' . _('Select Another Date'). '" /></div>'; echo '</form>'; } include('includes/footer.inc'); Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DeliveryDetails.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -814,12 +814,12 @@ /*Display the order with or without discount depending on access level*/ if (in_array(2,$_SESSION['AllowedPageSecurityTokens'])){ - echo '<table cellpading=2 colspan=7>'; + echo '<table cellpading="2" colspan="7">'; if ($_SESSION['Items'.$identifier]->Quotation==1){ - echo '<tr><th colspan=7>'._('Quotation Summary').'</th></tr>'; + echo '<tr><th colspan="7">'._('Quotation Summary').'</th></tr>'; } else { - echo '<tr><th colspan=7>'._('Order Summary').'</th></tr>'; + echo '<tr><th colspan="7">'._('Order Summary').'</th></tr>'; } echo '<tr> <th>'. _('Item Code') .'</th> Modified: trunk/DiscountCategories.php =================================================================== --- trunk/DiscountCategories.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/DiscountCategories.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -85,7 +85,7 @@ } echo '</select></td>'; - echo '<td><input type="submit" name="select" value="'._('Select').'"></td> + echo '<td><input type="submit" name="select" value="'._('Select').'" /></td> </tr> </table> <br />'; @@ -93,20 +93,20 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type="hidden" name="ChooseOption" value="'.$_POST['ChooseOption'].'">'; - echo '<input type="hidden" name="selectchoice" value="'.$_POST['selectchoice'].'">'; + echo '<input type="hidden" name="ChooseOption" value="'.$_POST['ChooseOption'].'" />'; + echo '<input type="hidden" name="selectchoice" value="'.$_POST['selectchoice'].'" />'; if (isset($_POST['ChooseOption']) and $_POST['ChooseOption']==1) { echo '<table class="selection"><tr><td>'. _('Discount Category Code') .':</td><td>'; if (isset($_POST['DiscCat'])) { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 value="' . $_POST['DiscCat'] .'"></td> + echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 value="' . $_POST['DiscCat'] .'" /></td> <td>'._('OR') . '</td> <td></td> <td>'._('OR').'</td> </tr>'; } else { - echo '<input type="text" name="DiscountCategory" maxlength=2 size=2></td> + echo '<input type="text" name="DiscountCategory" maxlength=2 size=2 /></td> <td>' ._('OR') . '</td> <td></td> <td>'._('OR') . '</td> @@ -123,17 +123,17 @@ $_POST['PartDesc']=''; } echo '<tr><td>'. _('Enter Stock Code') .':</td> - <td><input type="text" name="StockID" size=20 maxlength=20 value="' . $_POST['StockID'] . '"></td> + <td><input type="text" name="StockID" size=20 maxlength=20 value="' . $_POST['StockID'] . '" /></td> <td>'._('Partial code') . ':</td> - <td><input type="text" name="PartID" size=10 maxlength=10 value="' . $_POST['PartID'] . '"></td> + <td><input type="text" name="PartID" size=10 maxlength=10 value="' . $_POST['PartID'] . '" /></td> <td>' . _('Partial description') . ':</td> - <td><input type="text" name="PartDesc" size=10 value="' . $_POST['PartDesc'] .'" maxlength=10></td> - <td><input type="submit" name="search" value="' . _('Search') .'"></td> + <td><input type="text" name="PartDesc" size=10 value="' . $_POST['PartDesc'] .'" maxlength=10 /></td> + <td><input type="submit" name="search" value="' . _('Search') .'" /></td> </tr>'; echo '</table>'; - echo '<br /><div class="centre"><input type="submit" name="submit" value="'. _('Update Item') .'"></div>'; + echo '<br /><div class="centre"><input type="submit" name="submit" value="'. _('Update Item') .'" /></div>'; if (isset($_POST['search'])) { if ($_POST['PartID']!='' and $_POST['PartDesc']=='') @@ -169,7 +169,7 @@ echo '<option value="'.$myrow['categoryid'].'">'.$myrow['categorydescription'].'</option>'; } echo '</select></td></tr></table>'; - echo '<br /><div class="centre"><input type="submit" name="SubmitCategory" value="'. _('Update Items') .'"></div>'; + echo '<br /><div class="centre"><input type="submit" name="SubmitCategory" value="'. _('Update Items') .'" /></div>'; } echo '</form>'; @@ -245,7 +245,7 @@ echo '</select></td></tr> </table> <br />'; - echo '<div class="centre"><input type="submit" name="selectchoice" value="'._('Select').'"></div>'; + echo '<div class="centre"><input type="submit" name="selectchoice" value="'._('Select').'" /></div>'; } include('includes/footer.inc'); Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/EDIMessageFormat.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -202,7 +202,7 @@ echo '<table class=selection>'; if ($myrow['messagetype']!='') { - echo '<tr><th colspan=2><font size=3>' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</font></th></tr>'; + echo '<tr><th colspan="2">' . _('Definition of') . ' ' . $myrow['messagetype'] . ' ' . _('for') . ' ' . $myrow['partnercode'].'</th></tr>'; } echo '<tr><td>' . _('Section') . ':</td>'; Modified: trunk/EmailConfirmation.php =================================================================== --- trunk/EmailConfirmation.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/EmailConfirmation.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -252,7 +252,7 @@ <title>Email Confirmation</title> </head> <body> -<Table width='60%'> +<table width='60%'> <tr> <td align='center' colspan='4'> <?php echo "<IMG src='" . $rootpath . '/' . $_SESSION['LogoFile'] . "' alt='Logo'" . "width='500' height='100' align='center' border='0'>" ?> Modified: trunk/FTP_RadioBeacon.php =================================================================== --- trunk/FTP_RadioBeacon.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FTP_RadioBeacon.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -44,7 +44,7 @@ /*show a table of the orders returned by the SQL */ -echo '<table cellpadding=2 colspan=7 WIDTH=100%>'; +echo '<table cellpadding="2" colspan="7" width="100%">'; $TableHeader = '<tr> <td class=tableheader>' . _('Modify') . '</td> <td class=tableheader>' . _('Send to') . '<br />' . _('Radio Beacon') . '</td> Modified: trunk/Factors.php =================================================================== --- trunk/Factors.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/Factors.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -275,7 +275,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type="hidden" name="New" value="No">'; + echo '<input type="hidden" name="New" value="No" />'; echo '<table class="selection"> <tr> <th>' . _('ID') . '</th> Modified: trunk/FixedAssetItems.php =================================================================== --- trunk/FixedAssetItems.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FixedAssetItems.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -390,7 +390,7 @@ /*If the page was called without $AssetID passed to page then assume a new asset is to be entered other wise the form showing the fields with the existing entries against the asset will show for editing with a hidden AssetID field. New is set to flag that the page may have called itself and still be entering a new asset, in which case the page needs to know not to go looking up details for an existing asset*/ $New = 1; - echo '<input type="hidden" name="New" value="">'. "\n"; + echo '<input type="hidden" name="New" value="" /><br />'; $_POST['LongDescription'] = ''; $_POST['Description'] = ''; @@ -469,7 +469,7 @@ echo '<tr> <td>'. _('Image File (.jpg)') . ':</td> - <td><input type="file" id="ItemPicture" name="ItemPicture"></td>'; + <td><input type="file" id="ItemPicture" name="ItemPicture" /></td>'; if (function_exists('imagecreatefromjpg')){ $AssetImgLink = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC'. @@ -480,7 +480,7 @@ '" >'; } else { if( isset($AssetID) and file_exists($_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg') ) { - $AssetImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg" >'; + $AssetImgLink = '<img src="' . $_SESSION['part_pics_dir'] . '/ASSET_' .$AssetID.'.jpg" />'; } else { $AssetImgLink = _('No Image'); } Modified: trunk/FixedAssetRegister.php =================================================================== --- trunk/FixedAssetRegister.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FixedAssetRegister.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -220,7 +220,7 @@ } else { echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" />'; - echo '<input type="hidden" name="ToDate" value=' . $_POST['ToDate'] . '>'; + echo '<input type="hidden" name="ToDate" value="' . $_POST['ToDate'] . '" />'; echo '<input type="hidden" name="AssetCategory" value="' . $_POST['AssetCategory'] . '" />'; echo '<input type="hidden" name="AssetID" value="' . $_POST['AssetID'] . '" />'; echo '<input type="hidden" name="AssetLocation" value="' . $_POST['AssetLocation'] . '" />'; Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FormDesigner.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -158,11 +158,11 @@ $Papers=array('A4_Landscape', 'A4_Portrait', 'A5_Landscape', 'A5_Portrait', 'A3_Landscape', 'A3_Portrait', 'letter_Portrait', 'letter_Landscape', 'legal_Portrait', 'legal_Landscape'); // Possible paper sizes/orientations echo '<form method="post" id="Form" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input name=FormName type="hidden" value="'.$_POST['FormName'].'">'; -echo '<table width=95% border=1>'; //Start of outer table -echo '<tr><th width=33%>'._('Form Name').'<input type="text" name="formname" value="'.$FormDesign['name'].'"></th>'; +echo '<input name="FormName" type="hidden" value="'.$_POST['FormName'].'" />'; +echo '<table width="95%" border="1">'; //Start of outer table +echo '<tr><th width="33%">'._('Form Name').'<input type="text" name="formname" value="'.$FormDesign['name'].'" /></th>'; /* Select the paper size/orientation */ -echo '<th width=33%>'._('Paper Size').'<select name="PaperSize">'; +echo '<th width="33%">'._('Paper Size').'<select name="PaperSize">'; foreach ($Papers as $Paper) { if (mb_substr($Paper,-8)=='Portrait') { $PaperValue=mb_substr($Paper,0,mb_strlen($Paper)-9); @@ -177,33 +177,33 @@ } echo '</select></th>'; /* and the standard line height for the form */ -echo '<th width=33%>'._('Line Height').'<input type="text" class="number" name="LineHeight" size=3 maxlength=3 value="'.$FormDesign->LineHeight.'"></th></tr><tr>'; +echo '<th width=33%>'._('Line Height').'<input type="text" class="number" name="LineHeight" size="3" maxlength="3" value="'.$FormDesign->LineHeight.'" /></th></tr><tr>'; $counter=1; // Count how many sub tables are in the row foreach ($FormDesign as $key) { switch ($key['type']) { case 'image': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=8>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; - echo '<td class=number>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="8">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; + echo '<td class="number">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'SimpleText': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'."\n"; SimpleTextLine($key); echo '</table></td>'; $counter=$counter+1; break; case 'MultiLineText': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=4>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="4">'.$key['name'].'</th></tr>'."\n"; MultiTextLine($key); echo '</table></td>'; $counter=$counter+1; break; case 'ElementArray': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=7>'.$key['name'].'</th></tr>'."\n"; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="7">'.$key['name'].'</th></tr>'."\n"; foreach ($key as $subkey) { if ($subkey['type']=='SimpleText') { echo '<tr>'; @@ -221,7 +221,7 @@ echo '<td>'.$subkey['name'].'</td>'; DataTextLine($subkey); } elseif ($subkey['type']=='StartLine') { - echo '<td colspan=3>'.$subkey['name'].' = '.'</td><td><input type="text" class="number" name="StartLine" size=4 maxlength=4 value="'.$key->y.'"></td>'; + echo '<td colspan="3">'.$subkey['name'].' = '.'</td><td><input type="text" class="number" name="StartLine" size="4" maxlength="4" value="'.$key->y.'"></td>'; } echo '</tr>'; } @@ -230,30 +230,30 @@ $counter=$counter+1; break; case 'CurvedRectangle': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; - echo '<td class=number>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td></tr><tr>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; - echo '<td class=number>'._('Radius').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'radius" size=3 maxlength=3 value="'.$key->radius.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; + echo '<td class="number">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td></tr><tr>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; + echo '<td class="number">'._('Radius').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'radius" size="3" maxlength="3" value="'.$key->radius.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'Rectangle': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size=4 maxlength=4 value="'.$key->x.'"></td>'; - echo '<td class=number>'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size=4 maxlength=4 value="'.$key->y.'"></td></tr><tr>'; - echo '<td class=number>'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size=4 maxlength=4 value="'.$key->width.'"></td>'; - echo '<td class=number>'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size=4 maxlength=4 value="'.$key->height.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('x').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'x" size="4" maxlength="4" value="'.$key->x.'"></td>'; + echo '<td class="number">'._('y').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'y" size="4" maxlength="4" value="'.$key->y.'"></td></tr><tr>'; + echo '<td class="number">'._('Width').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'"></td>'; + echo '<td class="number">'._('Height').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'height" size="4" maxlength="4" value="'.$key->height.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; case 'Line': - echo '<td colspan=1 valign=top><table width=100% border=1><tr><th colspan=6>'.$key['name'].'</th></tr>'; - echo '<td class=number>'._('Start x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'startx" size=4 maxlength=4 value="'.$key->startx.'"></td>'; - echo '<td class=number>'._('Start y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'starty" size=4 maxlength=4 value="'.$key->starty.'"></td></tr><tr>'; - echo '<td class=number>'._('End x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endx" size=4 maxlength=4 value="'.$key->endx.'"></td>'; - echo '<td class=number>'._('End y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endy" size=4 maxlength=4 value="'.$key->endy.'"></td>'; + echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<td class="number">'._('Start x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'startx" size="4" maxlength="4" value="'.$key->startx.'"></td>'; + echo '<td class="number">'._('Start y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'starty" size="4" maxlength="4" value="'.$key->starty.'"></td></tr><tr>'; + echo '<td class="number">'._('End x co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endx" size="4" maxlength="4" value="'.$key->endx.'"></td>'; + echo '<td class="number">'._('End y co-ordinate').' = '.'</td><td><input type="text" class="number" name="'.$key['id'].'endy" size="4" maxlength="4" value="'.$key->endy.'"></td>'; echo '</table></td>'; $counter=$counter+1; break; Modified: trunk/FreightCosts.php =================================================================== --- trunk/FreightCosts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/FreightCosts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -56,7 +56,7 @@ echo '</select></td></tr> </table> - <br /><div class="centre"><input type="submit" value="' . _('Accept') . '" name="Accept"></div> + <br /><div class="centre"><input type="submit" value="' . _('Accept') . '" name="Accept" /></div> </form>'; } else { @@ -300,7 +300,7 @@ $_POST['FixedPrice'] = $myrow['fixedprice']; $_POST['MinimumChg'] = $myrow['minimumchg']; - echo '<input type="hidden" name="SelectedFreightCost" value="' . $SelectedFreightCost . '">'; + echo '<input type="hidden" name="SelectedFreightCost" value="' . $SelectedFreightCost . '" />'; } else { $_POST['FixedPrice'] = 0; @@ -317,26 +317,26 @@ if (!isset($_POST['MAXCub'])) {$_POST['MAXCub']='';} echo '<br /><table class=selection>'; - echo '<tr><th colspan=2><font size=4 color=blue>' . _('For Deliveries From') . ' ' . $LocationName . ' ' . _('using') . ' ' . - $ShipperName . '</font></th></tr>'; + echo '<tr><th colspan="2">' . _('For Deliveries From') . ' ' . $LocationName . ' ' . _('using') . ' ' . + $ShipperName . '</th></tr>'; echo'<tr><td>' . _('Destination') . ':</td> - <td><input type="text" maxlength=20 size=20 name="Destination" value="' . $_POST['Destination'] . '"></td></tr>'; + <td><input type="text" maxlength=20 size=20 name="Destination" value="' . $_POST['Destination'] . '" /></td></tr>'; echo '<tr><td>' . _('Rate per Cubic Metre') . ':</td> - <td><input type="text" name="CubRate" class="number" size=6 maxlength=5 value="' . $_POST['CubRate'] . '"></td></tr>'; + <td><input type="text" name="CubRate" class="number" size=6 maxlength=5 value="' . $_POST['CubRate'] . '" /></td></tr>'; echo '<tr><td>' . _('Rate Per KG') . ':</td> - <td><input type="text" name="KGRate" class="number" size=6 maxlength=5 value="' . $_POST['KGRate'] . '"></td></tr>'; + <td><input type="text" name="KGRate" class="number" size=6 maxlength=5 value="' . $_POST['KGRate'] . '" /></td></tr>'; echo '<tr><td>' . _('Maximum Weight Per Package (KGs)') . ':</a></td> - <td><input type="text" name="MAXKGs" class="number" size=8 maxlength=7 value="' . $_POST['MAXKGs'] . '"></td></tr>'; + <td><input type="text" name="MAXKGs" class="number" size=8 maxlength=7 value="' . $_POST['MAXKGs'] . '" /></td></tr>'; echo '<tr><td>' . _('Maximum Volume Per Package (cubic metres)') . ':</a></td> - <td><input type="text" name="MAXCub" class="number" size=8 maxlength=7 value="' . $_POST['MAXCub'] . '"></td></tr>'; + <td><input type="text" name="MAXCub" class="number" size=8 maxlength=7 value="' . $_POST['MAXCub'] . '" /></td></tr>'; echo '<tr><td>' . _('Fixed Price (zero if rate per KG or Cubic)') . ':</a></td> - <td><input type="text" name="FixedPrice" class="number" size=6 maxlength=5 value="' . $_POST['FixedPrice'] . '"></td></tr>'; + <td><input type="text" name="FixedPrice" class="number" size=6 maxlength=5 value="' . $_POST['FixedPrice'] . '" /></td></tr>'; echo '<tr><td>' . _('Minimum Charge (0 is N/A)') . ':</a></td> - <td><input type="text" name="MinimumChg" class="number" size=6 maxlength=5 value="' . $_POST['MinimumChg'] . '"></td></tr>'; + <td><input type="text" name="MinimumChg" class="number" size=6 maxlength=5 value="' . $_POST['MinimumChg'] . '" /></td></tr>'; echo '</table><br />'; - echo '<div class="centre"><input type="submit" name="submit" value="' . _('Enter Information') . '"></div>'; + echo '<div class="centre"><input type="submit" name="submit" value="' . _('Enter Information') . '" /></div>'; echo '</form>'; Modified: trunk/GLAccountCSV.php =================================================================== --- trunk/GLAccountCSV.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLAccountCSV.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -79,7 +79,7 @@ // End select tag echo '</table><p> - <div class="centre"><input type="submit" name="MakeCSV" value="'._('Make CSV File').'"></div> + <div class="centre"><input type="submit" name="MakeCSV" value="'._('Make CSV File').'" /></div> </form>'; /* End of the Form rest of script is what happens if the show button is hit*/ Modified: trunk/GLAccounts.php =================================================================== --- trunk/GLAccounts.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLAccounts.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -222,8 +222,8 @@ $_POST['AccountName'] = $myrow['accountname']; $_POST['Group'] = $myrow['group_']; - echo '<input type="hidden" name="SelectedAccount" value="' . $SelectedAccount . '">'; - echo '<input type="hidden" name="AccountCode" VALUE="' . $_POST['AccountCode'] .'">'; + echo '<input type="hidden" name="SelectedAccount" value="' . $SelectedAccount . '" />'; + echo '<input type="hidden" name="AccountCode" VALUE="' . $_POST['AccountCode'] .'" />'; echo '<table class=selection> <tr><td>' . _('Account Code') . ':</td> <td>' . $_POST['AccountCode'] . '</td></tr>'; @@ -235,7 +235,7 @@ } if (!isset($_POST['AccountName'])) {$_POST['AccountName']='';} - echo '<tr><td>' . _('Account Name') . ":</td><td><input type='Text' size=51 maxlength=50 name='AccountName' value='" . $_POST['AccountName'] . "'></td></tr>"; + echo '<tr><td>' . _('Account Name') . ":</td><td><input type='Text' size=51 maxlength=50 name='AccountName' value='" . $_POST['AccountName'] . "' /></td></tr>"; $sql = 'SELECT groupname FROM accountgroups ORDER BY sequenceintb'; $result = DB_query($sql, $db); @@ -259,7 +259,7 @@ echo '</select></td></tr></table>'; - echo '<br /><div class="centre"><input type="Submit" name="submit" value="'. _('Enter Information') . '"></div>'; + echo '<br /><div class="centre"><input type="Submit" name="submit" value="'. _('Enter Information') . '" /></div>'; echo '</form>'; Modified: trunk/GLBalanceSheet.php =================================================================== --- trunk/GLBalanceSheet.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLBalanceSheet.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -63,7 +63,7 @@ </div>'; echo '<br /> <div class="centre"> - <input type="submit" name="PrintPDF" value="'._('Produce PDF Report').'"> + <input type="submit" name="PrintPDF" value="'._('Produce PDF Report').'" /> </div> </form>'; @@ -364,7 +364,7 @@ echo '<div class="invoice"> <table class="selection"> <tr> - <th colspan=6> + <th colspan="6"> <div class="centre"><font size="4" color="blue"><b>' . _('Balance Sheet as at') . ' ' . $BalanceDate .'</b></font> </div> @@ -620,7 +620,7 @@ </tr>'; } else { echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr></td> <td></td> <td><hr></td> @@ -628,7 +628,7 @@ } printf('<tr> - <td colspan=3><font size=4>%s</font></td> + <td colspan="3">%s</td> <td class="number">%s</td> <td></td> <td class="number">%s</td> Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLBudgets.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -191,7 +191,7 @@ echo '<td><input type="text" class="number" size=14 name="'.$i.'this" value="'. locale_number_format($Budget[$CurrentYearEndPeriod-(12-$i)],$_SESSION['CompanyRecord']['decimalplaces']) .'"></td>'; echo '<th>'. $PeriodEnd[$CurrentYearEndPeriod+($i)] .'</th>'; echo '<td bgcolor="d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; - echo '<td><input type="text" class="number" size=14 name="'.$i.'next" value="'. locale_number_format($Budget[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']) .'"></td>'; + echo '<td><input type="text" class="number" size=14 name="'.$i.'next" value="'. locale_number_format($Budget[$CurrentYearEndPeriod+$i],$_SESSION['CompanyRecord']['decimalplaces']) .'" /></td>'; echo '</tr>'; $LastYearActual=$LastYearActual+$Actual[$CurrentYearEndPeriod-(24-$i)]; $LastYearBudget=$LastYearBudget+$Budget[$CurrentYearEndPeriod-(24-$i)]; @@ -231,7 +231,7 @@ echo '<script>defaultControl(document.form.1next);</script>'; echo '<br /> <div class="centre"> - <input type="submit" name=update value="' . _('Update') . '"> + <input type="submit" name=update value="' . _('Update') . '" /> </div> </form>'; Modified: trunk/GLProfit_Loss.php =================================================================== --- trunk/GLProfit_Loss.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLProfit_Loss.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -748,7 +748,7 @@ if ($Section==1) { /*Income*/ echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr /></td> <td></td> <td><hr /></td> @@ -757,7 +757,7 @@ </tr>'; printf('<tr> - <td colspan="2"><font size=4>%s</font></td> + <td colspan="2">%s</td> <td></td> <td class="number">%s</td> <td></td> @@ -875,7 +875,7 @@ $ActGrp = $myrow['groupname']; if ($_POST['Detail']=='Detailed'){ printf('<tr> - <th colspan=8><font size=3 color=BLUE><b>%s</b></font></th> + <th colspan="8"><b>%s</b></th> </tr>', $myrow['groupname']); echo $TableHeader; @@ -1051,7 +1051,7 @@ if ($Section==1) { /*Income*/ echo '<tr> - <td colspan=3></td> + <td colspan="3"></td> <td><hr /></td> <td></td> <td><hr /></td> Modified: trunk/GLTags.php =================================================================== --- trunk/GLTags.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLTags.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -57,8 +57,8 @@ <table> <tr> <td>'. _('Description') . '</td> - <td><input type="text" size="30" maxlength="30" name="Description" value="'.$Description.'"></td> - <td><input type="hidden" name="reference" value="'.$_GET['SelectedTag'].'">'; + <td><input type="text" size="30" maxlength="30" name="Description" value="'.$Description.'" /></td> + <td><input type="hidden" name="reference" value="'.$_GET['SelectedTag'].'" />'; if (isset($_GET['Action']) AND $_GET['Action']=='edit') { echo '<input type="submit" name="update" value="' . _('Update') . '" />'; Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2012-01-22 12:50:41 UTC (rev 4834) +++ trunk/GLTrialBalance.php 2012-01-22 22:17:50 UTC (rev 4835) @@ -436,8 +436,8 @@ Account Code , Account Name... [truncated message content] |
From: <tim...@us...> - 2012-01-22 12:50:48
|
Revision: 4834 http://web-erp.svn.sourceforge.net/web-erp/?rev=4834&view=rev Author: tim_schofield Date: 2012-01-22 12:50:41 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Fix for the scenario when multiple tenders are open at the same time and session variable was getting overwritten Modified Paths: -------------- trunk/SupplierTenderCreate.php Modified: trunk/SupplierTenderCreate.php =================================================================== --- trunk/SupplierTenderCreate.php 2012-01-22 10:19:44 UTC (rev 4833) +++ trunk/SupplierTenderCreate.php 2012-01-22 12:50:41 UTC (rev 4834) @@ -7,10 +7,17 @@ $Maximum_Number_Of_Parts_To_Show=50; -if (isset($_GET['New']) AND isset($_SESSION['tender'])) { - unset($_SESSION['tender']); +if (isset($_GET['New']) AND isset($_SESSION['tender'.$identifier])) { + unset($_SESSION['tender'.$identifier]); } +if (empty($_GET['identifier'])) { + /*unique session identifier to ensure that there is no conflict with other supplier tender sessions on the same machine */ + $identifier=date('U'); +} else { + $identifier=$_GET['identifier']; +} + if (isset($_GET['New']) AND $_SESSION['CanCreateTender']==0) { $title = _('Authorisation Problem'); include('includes/header.inc'); @@ -47,18 +54,18 @@ WHERE tenderid='" . $_GET['ID'] . "'"; $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); - if (isset($_SESSION['tender'])) { - unset($_SESSION['tender']); + if (isset($_SESSION['tender'.$identifier])) { + unset($_SESSION['tender'.$identifier]); } - $_SESSION['tender'] = new Tender(); - $_SESSION['tender']->TenderId = $myrow['tenderid']; - $_SESSION['tender']->Location = $myrow['location']; - $_SESSION['tender']->DelAdd1 = $myrow['address1']; - $_SESSION['tender']->DelAdd2 = $myrow['address2']; - $_SESSION['tender']->DelAdd3 = $myrow['address3']; - $_SESSION['tender']->DelAdd4 = $myrow['address4']; - $_SESSION['tender']->DelAdd5 = $myrow['address5']; - $_SESSION['tender']->DelAdd6 = $myrow['address6']; + $_SESSION['tender'.$identifier] = new Tender(); + $_SESSION['tender'.$identifier]->TenderId = $myrow['tenderid']; + $_SESSION['tender'.$identifier]->Location = $myrow['location']; + $_SESSION['tender'.$identifier]->DelAdd1 = $myrow['address1']; + $_SESSION['tender'.$identifier]->DelAdd2 = $myrow['address2']; + $_SESSION['tender'.$identifier]->DelAdd3 = $myrow['address3']; + $_SESSION['tender'.$identifier]->DelAdd4 = $myrow['address4']; + $_SESSION['tender'.$identifier]->DelAdd5 = $myrow['address5']; + $_SESSION['tender'.$identifier]->DelAdd6 = $myrow['address6']; $sql="SELECT tenderid, tendersuppliers.supplierid, @@ -70,7 +77,7 @@ WHERE tenderid='" . $_GET['ID'] . "'"; $result=DB_query($sql, $db); while ($myrow=DB_fetch_array($result)) { - $_SESSION['tender']->add_supplier_to_tender( + $_SESSION['tender'.$identifier]->add_supplier_to_tender( $myrow['supplierid'], $myrow['suppname'], $myrow['email']); @@ -88,8 +95,8 @@ WHERE tenderid='" . $_GET['ID'] . "'"; $result=DB_query($sql, $db); while ($myrow=DB_fetch_array($result)) { - $_SESSION['tender']->add_item_to_tender( - $_SESSION['tender']->LinesOnTender, + $_SESSION['tender'.$identifier]->add_item_to_tender( + $_SESSION['tender'.$identifier]->LinesOnTender, $myrow['stockid'], $myrow['quantity'], $myrow['description'], @@ -136,12 +143,12 @@ echo '<td>' . $myrow['address5'] . '</td>'; echo '<td>' . $myrow['address6'] . '</td>'; echo '<td>' . $myrow['telephone'] . '</td>'; - echo '<td><a href="'.$_SERVER['PHP_SELF'] . '?ID='.$myrow['tenderid'].'">'. _('Edit') .'</a></td>'; + echo '<td><a href="'.htmlspecialchars($_SERVER['PHP_SELF']) . '?identifier='.$identifier.'&ID='.$myrow['tenderid'].'">'. _('Edit') .'</a></td>'; } echo '</table>'; include('includes/footer.inc'); exit; -} else if (isset($_GET['ID']) or (isset($_SESSION['tender']->TenderId))) { +} else if (isset($_GET['ID']) or (isset($_SESSION['tender'.$identifier]->TenderId))) { $title = _('Edit an Existing Supplier Tender Request'); include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Purchase Order Tendering') . '" alt="" /> '.$title . '</p>'; @@ -152,21 +159,21 @@ } if (isset($_POST['Save'])) { - $_SESSION['tender']->RequiredByDate=$_POST['RequiredByDate']; - $_SESSION['tender']->save($db); - $_SESSION['tender']->EmailSuppliers(); + $_SESSION['tender'.$identifier]->RequiredByDate=$_POST['RequiredByDate']; + $_SESSION['tender'.$identifier]->save($db); + $_SESSION['tender'.$identifier]->EmailSuppliers(); prnMsg( _('The tender has been successfully saved'), 'success'); include('includes/footer.inc'); exit; } if (isset($_GET['DeleteSupplier'])) { - $_SESSION['tender']->remove_supplier_from_tender($_GET['DeleteSupplier']); + $_SESSION['tender'.$identifier]->remove_supplier_from_tender($_GET['DeleteSupplier']); $ShowTender = 1; } if (isset($_GET['DeleteItem'])) { - $_SESSION['tender']->remove_item_from_tender($_GET['DeleteItem']); + $_SESSION['tender'.$identifier]->remove_item_from_tender($_GET['DeleteItem']); $ShowTender = 1; } @@ -178,7 +185,7 @@ $result = DB_query($sql, $db); $myrow = DB_fetch_array($result); if (mb_strlen($myrow['email'])>0) { - $_SESSION['tender']->add_supplier_to_tender( + $_SESSION['tender'.$identifier]->add_supplier_to_tender( $_POST['SelectedSupplier'], $myrow['suppname'], $myrow['email']); @@ -198,8 +205,8 @@ $sql="SELECT description, decimalplaces FROM stockmaster WHERE stockid='".$StockID."'"; $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); - $_SESSION['tender']->add_item_to_tender( - $_SESSION['tender']->LinesOnTender, + $_SESSION['tender'.$identifier]->add_item_to_tender( + $_SESSION['tender'.$identifier]->LinesOnTender, $StockID, $Quantity, $myrow['description'], @@ -212,12 +219,12 @@ $ShowTender = 1; } -if (!isset($_SESSION['tender']) or isset($_POST['LookupDeliveryAddress']) or $ShowTender==1) { +if (!isset($_SESSION['tender'.$identifier]) or isset($_POST['LookupDeliveryAddress']) or $ShowTender==1) { /* Show Tender header screen */ - if (!isset($_SESSION['tender'])) { - $_SESSION['tender']=new Tender(); + if (!isset($_SESSION['tender'.$identifier])) { + $_SESSION['tender'.$identifier]=new Tender(); } - echo '<form name="form1" action="' . $_SERVER['PHP_SELF'] . '" method="post">'; + echo '<form name="form1" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; echo '<tr><th colspan="4"><font size="3" color="#616161">' . _('Tender header details') . '</font></th></tr>'; @@ -253,15 +260,15 @@ $_POST['Tel'] = $LocnRow['tel']; $_POST['Contact'] = $LocnRow['contact']; - $_SESSION['tender']->Location= $_POST['StkLocation']; - $_SESSION['tender']->DelAdd1 = $_POST['DelAdd1']; - $_SESSION['tender']->DelAdd2 = $_POST['DelAdd2']; - $_SESSION['tender']->DelAdd3 = $_POST['DelAdd3']; - $_SESSION['tender']->DelAdd4 = $_POST['DelAdd4']; - $_SESSION['tender']->DelAdd5 = $_POST['DelAdd5']; - $_SESSION['tender']->DelAdd6 = $_POST['DelAdd6']; - $_SESSION['tender']->Telephone = $_POST['Tel']; - $_SESSION['tender']->Contact = $_POST['Contact']; + $_SESSION['tender'.$identifier]->Location= $_POST['StkLocation']; + $_SESSION['tender'.$identifier]->DelAdd1 = $_POST['DelAdd1']; + $_SESSION['tender'.$identifier]->DelAdd2 = $_POST['DelAdd2']; + $_SESSION['tender'.$identifier]->DelAdd3 = $_POST['DelAdd3']; + $_SESSION['tender'.$identifier]->DelAdd4 = $_POST['DelAdd4']; + $_SESSION['tender'.$identifier]->DelAdd5 = $_POST['DelAdd5']; + $_SESSION['tender'.$identifier]->DelAdd6 = $_POST['DelAdd6']; + $_SESSION['tender'.$identifier]->Telephone = $_POST['Tel']; + $_SESSION['tender'.$identifier]->Contact = $_POST['Contact']; } else { /*The default location of the user is crook */ @@ -295,15 +302,15 @@ $_POST['Tel'] = $LocnRow['tel']; $_POST['Contact'] = $LocnRow['contact']; - $_SESSION['tender']->Location= $_POST['StkLocation']; - $_SESSION['tender']->DelAdd1 = $_POST['DelAdd1']; - $_SESSION['tender']->DelAdd2 = $_POST['DelAdd2']; - $_SESSION['tender']->DelAdd3 = $_POST['DelAdd3']; - $_SESSION['tender']->DelAdd4 = $_POST['DelAdd4']; - $_SESSION['tender']->DelAdd5 = $_POST['DelAdd5']; - $_SESSION['tender']->DelAdd6 = $_POST['DelAdd6']; - $_SESSION['tender']->Telephone = $_POST['Tel']; - $_SESSION['tender']->Contact = $_POST['Contact']; + $_SESSION['tender'.$identifier]->Location= $_POST['StkLocation']; + $_SESSION['tender'.$identifier]->DelAdd1 = $_POST['DelAdd1']; + $_SESSION['tender'.$identifier]->DelAdd2 = $_POST['DelAdd2']; + $_SESSION['tender'.$identifier]->DelAdd3 = $_POST['DelAdd3']; + $_SESSION['tender'.$identifier]->DelAdd4 = $_POST['DelAdd4']; + $_SESSION['tender'.$identifier]->DelAdd5 = $_POST['DelAdd5']; + $_SESSION['tender'.$identifier]->DelAdd6 = $_POST['DelAdd6']; + $_SESSION['tender'.$identifier]->Telephone = $_POST['Tel']; + $_SESSION['tender'.$identifier]->Contact = $_POST['Contact']; } } echo '<tr><td>' . _('Warehouse') . ':</td> @@ -315,7 +322,7 @@ $LocnResult = DB_query($sql,$db); while ($LocnRow=DB_fetch_array($LocnResult)){ - if ((isset($_SESSION['tender']->Location) AND $_SESSION['tender']->Location == $LocnRow['loccode'])){ + if ((isset($_SESSION['tender'.$identifier]->Location) AND $_SESSION['tender'.$identifier]->Location == $LocnRow['loccode'])){ echo '<option selected="True" value="' . $LocnRow['loccode'] . '">' . $LocnRow['locationname'] . '</option>'; } else { echo '<option value="' . $LocnRow['loccode'] . '">' . $LocnRow['locationname'] . '</option>'; @@ -329,7 +336,7 @@ /* Display the details of the delivery location */ echo '<tr><td>' . _('Delivery Contact') . ':</td> - <td><input type="text" name="Contact" size="41" value="' . $_SESSION['tender']->Contact . '" /></td> + <td><input type="text" name="Contact" size="41" value="' . $_SESSION['tender'.$identifier]->Contact . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 1 :</td> <td><input type="text" name="DelAdd1" size="41" maxlength="40" value="' . $_POST['DelAdd1'] . '" /></td> @@ -350,7 +357,7 @@ <td><input type="text" name="DelAdd6" size="16" maxlength="15" value="' . $_POST['DelAdd6'] . '" /></td> </tr>'; echo '<tr><td>' . _('Phone') . ':</td> - <td><input type="text" name="Tel" size="31" maxlength="30" value="' . $_SESSION['tender']->Telephone . '" /></td> + <td><input type="text" name="Tel" size="31" maxlength="30" value="' . $_SESSION['tender'.$identifier]->Telephone . '" /></td> </tr>'; echo '</table><br />'; @@ -363,11 +370,11 @@ echo '<tr><td valign="top"><table class="selection">'; echo '<tr><th colspan="4"><font size="3" color="#616161">' . _('Suppliers To Send Tender') . '</font></th></tr>'; echo '<tr><th>'. _('Supplier Code') . '</th><th>' ._('Supplier Name') . '</th><th>' ._('Email Address') . '</th></tr>'; - foreach ($_SESSION['tender']->Suppliers as $Supplier) { + foreach ($_SESSION['tender'.$identifier]->Suppliers as $Supplier) { echo '<tr><td>' . $Supplier->SupplierCode . '</td>'; echo '<td>' . $Supplier->SupplierName . '</td>'; echo '<td>' . $Supplier->EmailAddress . '</td>'; - echo '<td><a href="' . $_SERVER['PHP_SELF'] . '?DeleteSupplier=' . $Supplier->SupplierCode . '">' . _('Delete') . '</a></td></tr>'; + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '&DeleteSupplier=' . $Supplier->SupplierCode . '">' . _('Delete') . '</a></td></tr>'; } echo '</table></td>'; /* Item Details @@ -381,7 +388,7 @@ echo '<th>'._('UOM').'</th>'; echo '</tr>'; $k=0; - foreach ($_SESSION['tender']->LineItems as $LineItems) { + foreach ($_SESSION['tender'.$identifier]->LineItems as $LineItems) { if ($LineItems->Deleted==False) { if ($k==1){ echo '<tr class="EvenTableRows">'; @@ -394,7 +401,7 @@ echo '<td>'.$LineItems->ItemDescription.'</td>'; echo '<td class="number">' . locale_number_format($LineItems->Quantity,$LineItems->DecimalPlaces).'</td>'; echo '<td>'.$LineItems->Units.'</td>'; - echo '<td><a href="' . $_SERVER['PHP_SELF'] . '?DeleteItem=' . $LineItems->LineNo . '">' . _('Delete') . '</a></td></tr>'; + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '&DeleteItem=' . $LineItems->LineNo . '">' . _('Delete') . '</a></td></tr>'; echo '</tr>'; } } @@ -402,7 +409,7 @@ echo '<div class="centre"><input type="submit" name="Suppliers" value="' . _('Select Suppliers') . '" />'; echo '<input type="submit" name="Items" value="' . _('Select Item Details') . '" /></div><br />'; - if ($_SESSION['tender']->LinesOnTender > 0 AND $_SESSION['tender']->SuppliersOnTender > 0) { + if ($_SESSION['tender'.$identifier]->LinesOnTender > 0 AND $_SESSION['tender'.$identifier]->SuppliersOnTender > 0) { echo '<div class="centre"><input type="submit" name="Save" value="' . _('Save Tender') . '" /></div>'; } echo '</form>'; @@ -474,7 +481,7 @@ } if (isset($_POST['Suppliers'])) { - echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Suppliers') . '</p> <table cellpadding="3" colspan="4" class="selection"><tr><td>' . _('Enter a partial Name') . ':</td><td>'; @@ -494,7 +501,7 @@ } if (isset($_POST['SearchSupplier'])) { - echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $ListCount = DB_num_rows($result); $ListPageMax = ceil($ListCount / $_SESSION['DisplayRecordsMax']); @@ -573,7 +580,7 @@ /*The supplier has chosen option 2 */ if (isset($_POST['Items'])) { - echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Inventory Items') . '</p>'; $sql = "SELECT categoryid, @@ -636,7 +643,7 @@ } if (isset($_POST['Search'])){ /*ie seach for stock items */ - echo '<form method="post" action="' . $_SERVER['PHP_SELF'] .'">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Select items required on this tender').'</p>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tim...@us...> - 2012-01-22 12:50:48
|
Revision: 4834 http://web-erp.svn.sourceforge.net/web-erp/?rev=4834&view=rev Author: tim_schofield Date: 2012-01-22 12:50:41 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Fix for the scenario when multiple tenders are open at the same time and session variable was getting overwritten Modified Paths: -------------- trunk/SupplierTenderCreate.php Modified: trunk/SupplierTenderCreate.php =================================================================== --- trunk/SupplierTenderCreate.php 2012-01-22 10:19:44 UTC (rev 4833) +++ trunk/SupplierTenderCreate.php 2012-01-22 12:50:41 UTC (rev 4834) @@ -7,10 +7,17 @@ $Maximum_Number_Of_Parts_To_Show=50; -if (isset($_GET['New']) AND isset($_SESSION['tender'])) { - unset($_SESSION['tender']); +if (isset($_GET['New']) AND isset($_SESSION['tender'.$identifier])) { + unset($_SESSION['tender'.$identifier]); } +if (empty($_GET['identifier'])) { + /*unique session identifier to ensure that there is no conflict with other supplier tender sessions on the same machine */ + $identifier=date('U'); +} else { + $identifier=$_GET['identifier']; +} + if (isset($_GET['New']) AND $_SESSION['CanCreateTender']==0) { $title = _('Authorisation Problem'); include('includes/header.inc'); @@ -47,18 +54,18 @@ WHERE tenderid='" . $_GET['ID'] . "'"; $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); - if (isset($_SESSION['tender'])) { - unset($_SESSION['tender']); + if (isset($_SESSION['tender'.$identifier])) { + unset($_SESSION['tender'.$identifier]); } - $_SESSION['tender'] = new Tender(); - $_SESSION['tender']->TenderId = $myrow['tenderid']; - $_SESSION['tender']->Location = $myrow['location']; - $_SESSION['tender']->DelAdd1 = $myrow['address1']; - $_SESSION['tender']->DelAdd2 = $myrow['address2']; - $_SESSION['tender']->DelAdd3 = $myrow['address3']; - $_SESSION['tender']->DelAdd4 = $myrow['address4']; - $_SESSION['tender']->DelAdd5 = $myrow['address5']; - $_SESSION['tender']->DelAdd6 = $myrow['address6']; + $_SESSION['tender'.$identifier] = new Tender(); + $_SESSION['tender'.$identifier]->TenderId = $myrow['tenderid']; + $_SESSION['tender'.$identifier]->Location = $myrow['location']; + $_SESSION['tender'.$identifier]->DelAdd1 = $myrow['address1']; + $_SESSION['tender'.$identifier]->DelAdd2 = $myrow['address2']; + $_SESSION['tender'.$identifier]->DelAdd3 = $myrow['address3']; + $_SESSION['tender'.$identifier]->DelAdd4 = $myrow['address4']; + $_SESSION['tender'.$identifier]->DelAdd5 = $myrow['address5']; + $_SESSION['tender'.$identifier]->DelAdd6 = $myrow['address6']; $sql="SELECT tenderid, tendersuppliers.supplierid, @@ -70,7 +77,7 @@ WHERE tenderid='" . $_GET['ID'] . "'"; $result=DB_query($sql, $db); while ($myrow=DB_fetch_array($result)) { - $_SESSION['tender']->add_supplier_to_tender( + $_SESSION['tender'.$identifier]->add_supplier_to_tender( $myrow['supplierid'], $myrow['suppname'], $myrow['email']); @@ -88,8 +95,8 @@ WHERE tenderid='" . $_GET['ID'] . "'"; $result=DB_query($sql, $db); while ($myrow=DB_fetch_array($result)) { - $_SESSION['tender']->add_item_to_tender( - $_SESSION['tender']->LinesOnTender, + $_SESSION['tender'.$identifier]->add_item_to_tender( + $_SESSION['tender'.$identifier]->LinesOnTender, $myrow['stockid'], $myrow['quantity'], $myrow['description'], @@ -136,12 +143,12 @@ echo '<td>' . $myrow['address5'] . '</td>'; echo '<td>' . $myrow['address6'] . '</td>'; echo '<td>' . $myrow['telephone'] . '</td>'; - echo '<td><a href="'.$_SERVER['PHP_SELF'] . '?ID='.$myrow['tenderid'].'">'. _('Edit') .'</a></td>'; + echo '<td><a href="'.htmlspecialchars($_SERVER['PHP_SELF']) . '?identifier='.$identifier.'&ID='.$myrow['tenderid'].'">'. _('Edit') .'</a></td>'; } echo '</table>'; include('includes/footer.inc'); exit; -} else if (isset($_GET['ID']) or (isset($_SESSION['tender']->TenderId))) { +} else if (isset($_GET['ID']) or (isset($_SESSION['tender'.$identifier]->TenderId))) { $title = _('Edit an Existing Supplier Tender Request'); include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Purchase Order Tendering') . '" alt="" /> '.$title . '</p>'; @@ -152,21 +159,21 @@ } if (isset($_POST['Save'])) { - $_SESSION['tender']->RequiredByDate=$_POST['RequiredByDate']; - $_SESSION['tender']->save($db); - $_SESSION['tender']->EmailSuppliers(); + $_SESSION['tender'.$identifier]->RequiredByDate=$_POST['RequiredByDate']; + $_SESSION['tender'.$identifier]->save($db); + $_SESSION['tender'.$identifier]->EmailSuppliers(); prnMsg( _('The tender has been successfully saved'), 'success'); include('includes/footer.inc'); exit; } if (isset($_GET['DeleteSupplier'])) { - $_SESSION['tender']->remove_supplier_from_tender($_GET['DeleteSupplier']); + $_SESSION['tender'.$identifier]->remove_supplier_from_tender($_GET['DeleteSupplier']); $ShowTender = 1; } if (isset($_GET['DeleteItem'])) { - $_SESSION['tender']->remove_item_from_tender($_GET['DeleteItem']); + $_SESSION['tender'.$identifier]->remove_item_from_tender($_GET['DeleteItem']); $ShowTender = 1; } @@ -178,7 +185,7 @@ $result = DB_query($sql, $db); $myrow = DB_fetch_array($result); if (mb_strlen($myrow['email'])>0) { - $_SESSION['tender']->add_supplier_to_tender( + $_SESSION['tender'.$identifier]->add_supplier_to_tender( $_POST['SelectedSupplier'], $myrow['suppname'], $myrow['email']); @@ -198,8 +205,8 @@ $sql="SELECT description, decimalplaces FROM stockmaster WHERE stockid='".$StockID."'"; $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); - $_SESSION['tender']->add_item_to_tender( - $_SESSION['tender']->LinesOnTender, + $_SESSION['tender'.$identifier]->add_item_to_tender( + $_SESSION['tender'.$identifier]->LinesOnTender, $StockID, $Quantity, $myrow['description'], @@ -212,12 +219,12 @@ $ShowTender = 1; } -if (!isset($_SESSION['tender']) or isset($_POST['LookupDeliveryAddress']) or $ShowTender==1) { +if (!isset($_SESSION['tender'.$identifier]) or isset($_POST['LookupDeliveryAddress']) or $ShowTender==1) { /* Show Tender header screen */ - if (!isset($_SESSION['tender'])) { - $_SESSION['tender']=new Tender(); + if (!isset($_SESSION['tender'.$identifier])) { + $_SESSION['tender'.$identifier]=new Tender(); } - echo '<form name="form1" action="' . $_SERVER['PHP_SELF'] . '" method="post">'; + echo '<form name="form1" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; echo '<tr><th colspan="4"><font size="3" color="#616161">' . _('Tender header details') . '</font></th></tr>'; @@ -253,15 +260,15 @@ $_POST['Tel'] = $LocnRow['tel']; $_POST['Contact'] = $LocnRow['contact']; - $_SESSION['tender']->Location= $_POST['StkLocation']; - $_SESSION['tender']->DelAdd1 = $_POST['DelAdd1']; - $_SESSION['tender']->DelAdd2 = $_POST['DelAdd2']; - $_SESSION['tender']->DelAdd3 = $_POST['DelAdd3']; - $_SESSION['tender']->DelAdd4 = $_POST['DelAdd4']; - $_SESSION['tender']->DelAdd5 = $_POST['DelAdd5']; - $_SESSION['tender']->DelAdd6 = $_POST['DelAdd6']; - $_SESSION['tender']->Telephone = $_POST['Tel']; - $_SESSION['tender']->Contact = $_POST['Contact']; + $_SESSION['tender'.$identifier]->Location= $_POST['StkLocation']; + $_SESSION['tender'.$identifier]->DelAdd1 = $_POST['DelAdd1']; + $_SESSION['tender'.$identifier]->DelAdd2 = $_POST['DelAdd2']; + $_SESSION['tender'.$identifier]->DelAdd3 = $_POST['DelAdd3']; + $_SESSION['tender'.$identifier]->DelAdd4 = $_POST['DelAdd4']; + $_SESSION['tender'.$identifier]->DelAdd5 = $_POST['DelAdd5']; + $_SESSION['tender'.$identifier]->DelAdd6 = $_POST['DelAdd6']; + $_SESSION['tender'.$identifier]->Telephone = $_POST['Tel']; + $_SESSION['tender'.$identifier]->Contact = $_POST['Contact']; } else { /*The default location of the user is crook */ @@ -295,15 +302,15 @@ $_POST['Tel'] = $LocnRow['tel']; $_POST['Contact'] = $LocnRow['contact']; - $_SESSION['tender']->Location= $_POST['StkLocation']; - $_SESSION['tender']->DelAdd1 = $_POST['DelAdd1']; - $_SESSION['tender']->DelAdd2 = $_POST['DelAdd2']; - $_SESSION['tender']->DelAdd3 = $_POST['DelAdd3']; - $_SESSION['tender']->DelAdd4 = $_POST['DelAdd4']; - $_SESSION['tender']->DelAdd5 = $_POST['DelAdd5']; - $_SESSION['tender']->DelAdd6 = $_POST['DelAdd6']; - $_SESSION['tender']->Telephone = $_POST['Tel']; - $_SESSION['tender']->Contact = $_POST['Contact']; + $_SESSION['tender'.$identifier]->Location= $_POST['StkLocation']; + $_SESSION['tender'.$identifier]->DelAdd1 = $_POST['DelAdd1']; + $_SESSION['tender'.$identifier]->DelAdd2 = $_POST['DelAdd2']; + $_SESSION['tender'.$identifier]->DelAdd3 = $_POST['DelAdd3']; + $_SESSION['tender'.$identifier]->DelAdd4 = $_POST['DelAdd4']; + $_SESSION['tender'.$identifier]->DelAdd5 = $_POST['DelAdd5']; + $_SESSION['tender'.$identifier]->DelAdd6 = $_POST['DelAdd6']; + $_SESSION['tender'.$identifier]->Telephone = $_POST['Tel']; + $_SESSION['tender'.$identifier]->Contact = $_POST['Contact']; } } echo '<tr><td>' . _('Warehouse') . ':</td> @@ -315,7 +322,7 @@ $LocnResult = DB_query($sql,$db); while ($LocnRow=DB_fetch_array($LocnResult)){ - if ((isset($_SESSION['tender']->Location) AND $_SESSION['tender']->Location == $LocnRow['loccode'])){ + if ((isset($_SESSION['tender'.$identifier]->Location) AND $_SESSION['tender'.$identifier]->Location == $LocnRow['loccode'])){ echo '<option selected="True" value="' . $LocnRow['loccode'] . '">' . $LocnRow['locationname'] . '</option>'; } else { echo '<option value="' . $LocnRow['loccode'] . '">' . $LocnRow['locationname'] . '</option>'; @@ -329,7 +336,7 @@ /* Display the details of the delivery location */ echo '<tr><td>' . _('Delivery Contact') . ':</td> - <td><input type="text" name="Contact" size="41" value="' . $_SESSION['tender']->Contact . '" /></td> + <td><input type="text" name="Contact" size="41" value="' . $_SESSION['tender'.$identifier]->Contact . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 1 :</td> <td><input type="text" name="DelAdd1" size="41" maxlength="40" value="' . $_POST['DelAdd1'] . '" /></td> @@ -350,7 +357,7 @@ <td><input type="text" name="DelAdd6" size="16" maxlength="15" value="' . $_POST['DelAdd6'] . '" /></td> </tr>'; echo '<tr><td>' . _('Phone') . ':</td> - <td><input type="text" name="Tel" size="31" maxlength="30" value="' . $_SESSION['tender']->Telephone . '" /></td> + <td><input type="text" name="Tel" size="31" maxlength="30" value="' . $_SESSION['tender'.$identifier]->Telephone . '" /></td> </tr>'; echo '</table><br />'; @@ -363,11 +370,11 @@ echo '<tr><td valign="top"><table class="selection">'; echo '<tr><th colspan="4"><font size="3" color="#616161">' . _('Suppliers To Send Tender') . '</font></th></tr>'; echo '<tr><th>'. _('Supplier Code') . '</th><th>' ._('Supplier Name') . '</th><th>' ._('Email Address') . '</th></tr>'; - foreach ($_SESSION['tender']->Suppliers as $Supplier) { + foreach ($_SESSION['tender'.$identifier]->Suppliers as $Supplier) { echo '<tr><td>' . $Supplier->SupplierCode . '</td>'; echo '<td>' . $Supplier->SupplierName . '</td>'; echo '<td>' . $Supplier->EmailAddress . '</td>'; - echo '<td><a href="' . $_SERVER['PHP_SELF'] . '?DeleteSupplier=' . $Supplier->SupplierCode . '">' . _('Delete') . '</a></td></tr>'; + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '&DeleteSupplier=' . $Supplier->SupplierCode . '">' . _('Delete') . '</a></td></tr>'; } echo '</table></td>'; /* Item Details @@ -381,7 +388,7 @@ echo '<th>'._('UOM').'</th>'; echo '</tr>'; $k=0; - foreach ($_SESSION['tender']->LineItems as $LineItems) { + foreach ($_SESSION['tender'.$identifier]->LineItems as $LineItems) { if ($LineItems->Deleted==False) { if ($k==1){ echo '<tr class="EvenTableRows">'; @@ -394,7 +401,7 @@ echo '<td>'.$LineItems->ItemDescription.'</td>'; echo '<td class="number">' . locale_number_format($LineItems->Quantity,$LineItems->DecimalPlaces).'</td>'; echo '<td>'.$LineItems->Units.'</td>'; - echo '<td><a href="' . $_SERVER['PHP_SELF'] . '?DeleteItem=' . $LineItems->LineNo . '">' . _('Delete') . '</a></td></tr>'; + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '&DeleteItem=' . $LineItems->LineNo . '">' . _('Delete') . '</a></td></tr>'; echo '</tr>'; } } @@ -402,7 +409,7 @@ echo '<div class="centre"><input type="submit" name="Suppliers" value="' . _('Select Suppliers') . '" />'; echo '<input type="submit" name="Items" value="' . _('Select Item Details') . '" /></div><br />'; - if ($_SESSION['tender']->LinesOnTender > 0 AND $_SESSION['tender']->SuppliersOnTender > 0) { + if ($_SESSION['tender'.$identifier]->LinesOnTender > 0 AND $_SESSION['tender'.$identifier]->SuppliersOnTender > 0) { echo '<div class="centre"><input type="submit" name="Save" value="' . _('Save Tender') . '" /></div>'; } echo '</form>'; @@ -474,7 +481,7 @@ } if (isset($_POST['Suppliers'])) { - echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Suppliers') . '</p> <table cellpadding="3" colspan="4" class="selection"><tr><td>' . _('Enter a partial Name') . ':</td><td>'; @@ -494,7 +501,7 @@ } if (isset($_POST['SearchSupplier'])) { - echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $ListCount = DB_num_rows($result); $ListPageMax = ceil($ListCount / $_SESSION['DisplayRecordsMax']); @@ -573,7 +580,7 @@ /*The supplier has chosen option 2 */ if (isset($_POST['Items'])) { - echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Inventory Items') . '</p>'; $sql = "SELECT categoryid, @@ -636,7 +643,7 @@ } if (isset($_POST['Search'])){ /*ie seach for stock items */ - echo '<form method="post" action="' . $_SERVER['PHP_SELF'] .'">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Select items required on this tender').'</p>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tim...@us...> - 2012-01-22 10:19:51
|
Revision: 4833 http://web-erp.svn.sourceforge.net/web-erp/?rev=4833&view=rev Author: tim_schofield Date: 2012-01-22 10:19:44 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Fix bug when saving an offer update Modified Paths: -------------- trunk/includes/DefineOfferClass.php Modified: trunk/includes/DefineOfferClass.php =================================================================== --- trunk/includes/DefineOfferClass.php 2012-01-22 10:06:02 UTC (rev 4832) +++ trunk/includes/DefineOfferClass.php 2012-01-22 10:19:44 UTC (rev 4833) @@ -104,20 +104,21 @@ } } } else { - foreach ($_SESSION['offer']->LineItems as $LineItems) { - $sql="UPDATE offers SET quantity='".$LineItems->Quantity."', - price='".$LineItems->Price."', - expirydate='".FormatDateForSQL($LineItems->ExpiryDate)."' - WHERE offerid='".$LineItems->LineNo . "'"; + foreach ($this->LineItems as $LineItem) { + $sql="UPDATE offers SET + quantity='".$LineItem->Quantity."', + price='".$LineItem->Price."', + expirydate='".FormatDateForSQL($LineItem->ExpiryDate)."' + WHERE offerid='".$LineItem->LineNo . "'"; $ErrMsg = _('The suppliers offer could not be updated on the database because'); $DbgMsg = _('The SQL statement used to update the suppliers offer record and failed was'); $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); if (DB_error_no($db)==0) { - prnMsg( _('The offer for').' '.$LineItems->StockID.' '._('has been updated in the database'), 'success'); - $this->OfferMailText .= $LineItems->Quantity.' '.$LineItems->Units.' '._('of').' '.$LineItems->StockID.' '._('at a price of'). - ' '.$this->CurrCode.$LineItems->Price."\n"; + prnMsg( _('The offer for').' '.$LineItem->StockID.' '._('has been updated in the database'), 'success'); + $this->OfferMailText .= $LineItem->Quantity.' '.$LineItem->Units.' '._('of').' '.$LineItem->StockID.' '._('at a price of'). + ' '.$this->CurrCode.$LineItem->Price."\n"; } else { - prnMsg( _('The offer for').' '.$LineItems->StockID.' '._('could not be updated in the database'), 'error'); + prnMsg( _('The offer for').' '.$LineItem->StockID.' '._('could not be updated in the database'), 'error'); include('includes/footer.inc'); exit; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tim...@us...> - 2012-01-22 10:19:50
|
Revision: 4833 http://web-erp.svn.sourceforge.net/web-erp/?rev=4833&view=rev Author: tim_schofield Date: 2012-01-22 10:19:44 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Fix bug when saving an offer update Modified Paths: -------------- trunk/includes/DefineOfferClass.php Modified: trunk/includes/DefineOfferClass.php =================================================================== --- trunk/includes/DefineOfferClass.php 2012-01-22 10:06:02 UTC (rev 4832) +++ trunk/includes/DefineOfferClass.php 2012-01-22 10:19:44 UTC (rev 4833) @@ -104,20 +104,21 @@ } } } else { - foreach ($_SESSION['offer']->LineItems as $LineItems) { - $sql="UPDATE offers SET quantity='".$LineItems->Quantity."', - price='".$LineItems->Price."', - expirydate='".FormatDateForSQL($LineItems->ExpiryDate)."' - WHERE offerid='".$LineItems->LineNo . "'"; + foreach ($this->LineItems as $LineItem) { + $sql="UPDATE offers SET + quantity='".$LineItem->Quantity."', + price='".$LineItem->Price."', + expirydate='".FormatDateForSQL($LineItem->ExpiryDate)."' + WHERE offerid='".$LineItem->LineNo . "'"; $ErrMsg = _('The suppliers offer could not be updated on the database because'); $DbgMsg = _('The SQL statement used to update the suppliers offer record and failed was'); $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); if (DB_error_no($db)==0) { - prnMsg( _('The offer for').' '.$LineItems->StockID.' '._('has been updated in the database'), 'success'); - $this->OfferMailText .= $LineItems->Quantity.' '.$LineItems->Units.' '._('of').' '.$LineItems->StockID.' '._('at a price of'). - ' '.$this->CurrCode.$LineItems->Price."\n"; + prnMsg( _('The offer for').' '.$LineItem->StockID.' '._('has been updated in the database'), 'success'); + $this->OfferMailText .= $LineItem->Quantity.' '.$LineItem->Units.' '._('of').' '.$LineItem->StockID.' '._('at a price of'). + ' '.$this->CurrCode.$LineItem->Price."\n"; } else { - prnMsg( _('The offer for').' '.$LineItems->StockID.' '._('could not be updated in the database'), 'error'); + prnMsg( _('The offer for').' '.$LineItem->StockID.' '._('could not be updated in the database'), 'error'); include('includes/footer.inc'); exit; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tim...@us...> - 2012-01-22 10:06:09
|
Revision: 4832 http://web-erp.svn.sourceforge.net/web-erp/?rev=4832&view=rev Author: tim_schofield Date: 2012-01-22 10:06:02 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Fix for the scenario when multiple offers are open at the same time and session variable was getting overwritten Modified Paths: -------------- trunk/SupplierTenders.php Modified: trunk/SupplierTenders.php =================================================================== --- trunk/SupplierTenders.php 2012-01-22 07:33:48 UTC (rev 4831) +++ trunk/SupplierTenders.php 2012-01-22 10:06:02 UTC (rev 4832) @@ -12,6 +12,13 @@ $_POST['TenderType']=$_GET['TenderType']; } +if (empty($_GET['identifier'])) { + /*unique session identifier to ensure that there is no conflict with other supplier tender sessions on the same machine */ + $identifier=date('U'); +} else { + $identifier=$_GET['identifier']; +} + if (!isset($_POST['SupplierID'])) { $sql="SELECT supplierid FROM www_users WHERE userid='" . $_SESSION['UserID'] . "'"; $result=DB_query($sql, $db); @@ -26,9 +33,9 @@ } if (isset($_GET['Delete'])) { - $_POST['SupplierID']=$_SESSION['offer']->SupplierID; + $_POST['SupplierID']=$_SESSION['offer'.$identifier]->SupplierID; $_POST['TenderType']=$_GET['Type']; - $_SESSION['offer']->remove_from_offer($_GET['Delete']); + $_SESSION['offer'.$identifier]->remove_from_offer($_GET['Delete']); } $sql="SELECT suppname, @@ -41,22 +48,22 @@ $Currency=$myrow['currcode']; if (isset($_POST['Confirm'])) { - $_SESSION['offer']->Save($db); - $_SESSION['offer']->EmailOffer(); + $_SESSION['offer'.$identifier]->Save($db); + $_SESSION['offer'.$identifier]->EmailOffer(); $sql="UPDATE tendersuppliers SET responded=1 - WHERE supplierid='" . $_SESSION['offer']->SupplierID . "' - AND tenderid='" . $_SESSION['offer']->TenderID . "'"; + WHERE supplierid='" . $_SESSION['offer'.$identifier]->SupplierID . "' + AND tenderid='" . $_SESSION['offer'.$identifier]->TenderID . "'"; $result=DB_query($sql, $db); } if (isset($_POST['Process'])) { - if (isset($_SESSION['offer'])) { - unset($_SESSION['offer']); + if (isset($_SESSION['offer'.$identifier])) { + unset($_SESSION['offer'.$identifier]); } - $_SESSION['offer']=new Offer($_POST['SupplierID']); - $_SESSION['offer']->TenderID=$_POST['Tender']; - $_SESSION['offer']->CurrCode=$Currency; + $_SESSION['offer'.$identifier]=new Offer($_POST['SupplierID']); + $_SESSION['offer'.$identifier]->TenderID=$_POST['Tender']; + $_SESSION['offer'.$identifier]->CurrCode=$Currency; $LineNo=0; foreach ($_POST as $key=>$value) { if (mb_substr($key,0,7)=='StockID') { @@ -64,19 +71,20 @@ $ItemCode=$value; $Quantity=$_POST['Qty'.$Index]; $Price=$_POST['Price'.$Index]; - $_SESSION['offer']->add_to_offer($LineNo, - $ItemCode, - $Quantity, - $_POST['ItemDescription'.$Index], - $Price, - $_POST['UOM'.$Index], - $_POST['DecimalPlaces'.$Index], - $_POST['RequiredByDate'.$Index]); + $_SESSION['offer'.$identifier]->add_to_offer( + $LineNo, + $ItemCode, + $Quantity, + $_POST['ItemDescription'.$Index], + $Price, + $_POST['UOM'.$Index], + $_POST['DecimalPlaces'.$Index], + $_POST['RequiredByDate'.$Index]); $LineNo++; } } - echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Confirm the Response For Tender') . ' ' . $_SESSION['offer']->TenderID .'</p>'; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Confirm the Response For Tender') . ' ' . $_SESSION['offer'.$identifier]->TenderID .'</p>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; echo '<input type="hidden" name="TenderType" value="3" />'; @@ -93,10 +101,10 @@ INNER JOIN locations ON tenders.location=locations.loccode WHERE closed=0 - AND tenderid='".$_SESSION['offer']->TenderID."'"; + AND tenderid='".$_SESSION['offer'.$identifier]->TenderID."'"; $LocationResult=DB_query($LocationSQL, $db); $MyLocationRow=DB_fetch_row($LocationResult); - $CurrencySQL="SELECT decimalplaces FROM currencies WHERE currabrev='".$_SESSION['offer']->CurrCode."'"; + $CurrencySQL="SELECT decimalplaces from currencies WHERE currabrev='".$_SESSION['offer'.$identifier]->CurrCode."'"; $CurrencyResult=DB_query($CurrencySQL, $db); $CurrencyRow=DB_fetch_array($CurrencyResult); echo '<tr> @@ -108,8 +116,8 @@ } } echo '</td>'; - echo '<th colspan="8" style="vertical-align:top"><font size="2" color="#616161">' . _('Tender Number') . ': ' .$_SESSION['offer']->TenderID . '</font></th>'; - echo '<input type="hidden" value="' . $_SESSION['offer']->TenderID . '" name="Tender" />'; + echo '<th colspan="8" style="vertical-align:top"><font size="2" color="#616161">' . _('Tender Number') . ': ' .$_SESSION['offer'.$identifier]->TenderID . '</font></th>'; + echo '<input type="hidden" value="' . $_SESSION['offer'.$identifier]->TenderID . '" name="Tender" />'; echo '<tr> <th>' . stripslashes($_SESSION['CompanyRecord']['coyname']) . '<br />' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> @@ -120,18 +128,16 @@ <th>' . _('Line Value') . '</th> <th>' . _('Delivery By') . '</th> </tr>'; - - foreach ($_SESSION['offer']->LineItems as $LineItem) { - echo '<tr> - <td>' . $LineItem->StockID . '</td> - <td>' . $LineItem->ItemDescription . '</td> - <td class="number"> ' .locale_number_format($LineItem->Quantity, $LineItem->DecimalPlaces) . '</td> - <td>' . $LineItem->Units . '</td> - <td>' . $_SESSION['offer']->CurrCode . '</td> - <td class="number">' . locale_number_format($LineItem->Price, $CurrencyRow['decimalplaces']) . '</td> - <td class="number">' . locale_number_format($LineItem->Price*$LineItem->Quantity,$CurrencyRow['decimalplaces']) . '</td> - <td>' . $LineItem->ExpiryDate . '</td> - </tr>'; + + foreach ($_SESSION['offer'.$identifier]->LineItems as $LineItem) { + echo '<tr><td>' . $LineItem->StockID . '</td>'; + echo '<td>' . $LineItem->ItemDescription . '</td>'; + echo '<td class="number"> ' .locale_number_format($LineItem->Quantity, $LineItem->DecimalPlaces) . '</td>'; + echo '<td>' . $LineItem->Units . '</td>'; + echo '<td>' . $_SESSION['offer'.$identifier]->CurrCode . '</td>'; + echo '<td class="number">' . locale_number_format($LineItem->Price, $CurrencyRow['decimalplaces']) . '</td>'; + echo '<td class="number">' . locale_number_format($LineItem->Price*$LineItem->Quantity,$CurrencyRow['decimalplaces']) . '</td>'; + echo '<td>' . $LineItem->ExpiryDate . '</td>'; } echo '</table> <br /> @@ -150,10 +156,10 @@ * set then the supplier must have just logged in so show them the choices. */ if (isset($_POST['SupplierID']) AND empty($_POST['TenderType']) AND empty($_POST['Search']) AND empty($_POST['NewItem']) AND empty($_GET['Delete'])) { - if (isset($_SESSION['offer'])) { - unset($_SESSION['offer']); + if (isset($_SESSION['offer'.$identifier])) { + unset($_SESSION['offer'.$identifier]); } - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Create or View Offers from') . ' '.$Supplier.'</p>'; echo '<table class="selection">'; @@ -189,7 +195,7 @@ $sql="SELECT description, decimalplaces FROM stockmaster WHERE stockid='".$StockID."'"; $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); - $_SESSION['offer']->add_to_offer($_SESSION['offer']->LinesOnOffer, + $_SESSION['offer'.$identifier]->add_to_offer($_SESSION['offer'.$identifier]->LinesOnOffer, $StockID, $Quantity, $myrow['description'], @@ -213,10 +219,11 @@ $ExpiryDate=$_POST['expirydate'.$Index]; } if (isset($ExpiryDate)) { - $_SESSION['offer']->update_offer_item($Index, - $Quantity, - $Price, - $ExpiryDate); + $_SESSION['offer'.$identifier]->update_offer_item( + $Index, + $Quantity, + $Price, + $ExpiryDate); unset($ExpiryDate); } } @@ -224,54 +231,56 @@ if (isset($_POST['Update'])) { foreach ($_POST as $key => $value) { - if (mb_substr($key,0,3)=='qty') { + if (mb_substr($key,0,3)=='Qty') { $LineNo=mb_substr($key,3); $Quantity=$value; } - if (mb_substr($key,0,5)=='price') { + if (mb_substr($key,0,5)=='Price') { $Price=$value; } if (mb_substr($key,0,10)=='expirydate') { $ExpiryDate=$value; } if (isset($ExpiryDate)) { - $_SESSION['offer']->update_offer_item($LineNo, - $Quantity, - $Price, - $ExpiryDate); + $_SESSION['offer'.$identifier]->update_offer_item( + $LineNo, + $Quantity, + $Price, + $ExpiryDate); unset($ExpiryDate); } } - $_SESSION['offer']->Save($db, 'Yes'); - $_SESSION['offer']->EmailOffer(); - unset($_SESSION['offer']); + $_SESSION['offer'.$identifier]->Save($db, 'Yes'); + $_SESSION['offer'.$identifier]->EmailOffer(); + unset($_SESSION['offer'.$identifier]); include('includes/footer.inc'); exit; } if (isset($_POST['Save'])) { foreach ($_POST as $key => $value) { - if (mb_substr($key,0,3)=='qty') { + if (mb_substr($key,0,3)=='Qty') { $LineNo=mb_substr($key,3); $Quantity=$value; } - if (mb_substr($key,0,5)=='price') { + if (mb_substr($key,0,5)=='Price') { $Price=$value; } if (mb_substr($key,0,10)=='expirydate') { $ExpiryDate=$value; } if (isset($ExpiryDate)) { - $_SESSION['offer']->update_offer_item($LineNo, - $Quantity, - $Price, - $ExpiryDate); + $_SESSION['offer'.$identifier]->update_offer_item( + $LineNo, + $Quantity, + $Price, + $ExpiryDate); unset($ExpiryDate); } } - $_SESSION['offer']->Save($db); - $_SESSION['offer']->EmailOffer(); - unset($_SESSION['offer']); + $_SESSION['offer'.$identifier]->Save($db); + $_SESSION['offer'.$identifier]->EmailOffer(); + unset($_SESSION['offer'.$identifier]); include('includes/footer.inc'); exit; } @@ -292,22 +301,23 @@ ON offers.stockid=stockmaster.stockid WHERE offers.supplierid='" . $_POST['SupplierID'] . "'"; $result=DB_query($sql, $db); - $_SESSION['offer']=new Offer($_POST['SupplierID']); - $_SESSION['offer']->CurrCode=$Currency; + $_SESSION['offer'.$identifier]=new Offer($_POST['SupplierID']); + $_SESSION['offer'.$identifier]->CurrCode=$Currency; while ($myrow=DB_fetch_array($result)) { - $_SESSION['offer']->add_to_offer($myrow['offerid'], - $myrow['stockid'], - $myrow['quantity'], - $myrow['description'], - $myrow['price'], - $myrow['uom'], - $myrow['decimalplaces'], - ConvertSQLDate($myrow['expirydate'])); + $_SESSION['offer'.$identifier]->add_to_offer( + $myrow['offerid'], + $myrow['stockid'], + $myrow['quantity'], + $myrow['description'], + $myrow['price'], + $myrow['uom'], + $myrow['decimalplaces'], + ConvertSQLDate($myrow['expirydate'])); } } -if (isset($_POST['TenderType']) AND $_POST['TenderType']!=3 AND isset($_SESSION['offer']) AND $_SESSION['offer']->LinesOnOffer>0 or isset($_POST['Update'])) { - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; +if (isset($_POST['TenderType']) and $_POST['TenderType']!=3 and isset($_SESSION['offer'.$identifier]) and $_SESSION['offer'.$identifier]->LinesOnOffer>0 or isset($_POST['Update'])) { + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Items to offer from').' '.$Supplier .'</p>'; echo '<table> @@ -321,7 +331,7 @@ <th>'._('Expiry Date').'</th> </tr>'; $k=0; - foreach ($_SESSION['offer']->LineItems as $LineItems) { + foreach ($_SESSION['offer'.$identifier]->LineItems as $LineItems) { if ($LineItems->Deleted==False) { if ($LineItems->ExpiryDate < date('Y-m-d')) { echo '<tr bgcolor="#F7A9A9">'; @@ -332,7 +342,7 @@ echo '<tr class="OddTableRows">'; $k=1; } - + echo '<input type="hidden" name="StockID'.$LineItems->LineNo.'" value="'.$LineItems->StockID.'" />'; echo '<td>'.$LineItems->StockID.'</td> <td>'.$LineItems->ItemDescription.'</td> @@ -341,7 +351,7 @@ <td><input type="text" class="number" name="Price'.$LineItems->LineNo.'" value="'.locale_number_format($LineItems->Price,2,'.','').'" /></td> <td class="number">'.locale_number_format($LineItems->Price*$LineItems->Quantity,2).'</td> <td><input type="text" size="11" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="expirydate'.$LineItems->LineNo.'" value="'.$LineItems->ExpiryDate.'" /></td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?Delete=' . $LineItems->LineNo . '&Type=' . $_POST['TenderType'] . '">' . _('Remove') . '</a></td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?identifier='.$identifier.'&Delete=' . $LineItems->LineNo . '&Type=' . $_POST['TenderType'] . '">' . _('Remove') . '</a></td> </tr>'; } } @@ -365,15 +375,15 @@ /*The supplier has chosen option 2 */ -if (isset($_POST['TenderType']) - AND $_POST['TenderType']==2 - AND !isset($_POST['Search']) +if (isset($_POST['TenderType']) + AND $_POST['TenderType']==2 + AND !isset($_POST['Search']) OR isset($_GET['Delete'])) { - - if (!isset($_SESSION['offer'])) { - $_SESSION['offer']=new Offer($_POST['SupplierID']); + + if (!isset($_SESSION['offer'.$identifier])) { + $_SESSION['offer'.$identifier]=new Offer($_POST['SupplierID']); } - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Inventory Items') . '</p>'; @@ -442,11 +452,11 @@ /*The supplier has chosen option 3 */ -if (isset($_POST['TenderType']) - AND $_POST['TenderType']==3 - AND !isset($_POST['Search']) +if (isset($_POST['TenderType']) + AND $_POST['TenderType']==3 + AND !isset($_POST['Search']) OR isset($_GET['Delete'])) { - + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Tenders Waiting For Offers').'</p>'; $sql="SELECT DISTINCT tendersuppliers.tenderid, suppliers.currcode @@ -540,7 +550,7 @@ <td class="number">' . locale_number_format($MyItemRow['quantity'], $MyItemRow['decimalplaces']) . '</td> <td>' . $MyItemRow['units'] . '</td> <td>' . ConvertSQLDate($MyItemRow['requiredbydate']) . '</td>'; - + if ($MyItemRow['suppliersuom']=='') { $MyItemRow['suppliersuom']=$MyItemRow['units']; } @@ -559,7 +569,7 @@ } if (isset($_POST['Search'])){ /*ie seach for stock items */ - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Select items to offer from').' '.$Supplier .'</p>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tim...@us...> - 2012-01-22 10:06:09
|
Revision: 4832 http://web-erp.svn.sourceforge.net/web-erp/?rev=4832&view=rev Author: tim_schofield Date: 2012-01-22 10:06:02 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Fix for the scenario when multiple offers are open at the same time and session variable was getting overwritten Modified Paths: -------------- trunk/SupplierTenders.php Modified: trunk/SupplierTenders.php =================================================================== --- trunk/SupplierTenders.php 2012-01-22 07:33:48 UTC (rev 4831) +++ trunk/SupplierTenders.php 2012-01-22 10:06:02 UTC (rev 4832) @@ -12,6 +12,13 @@ $_POST['TenderType']=$_GET['TenderType']; } +if (empty($_GET['identifier'])) { + /*unique session identifier to ensure that there is no conflict with other supplier tender sessions on the same machine */ + $identifier=date('U'); +} else { + $identifier=$_GET['identifier']; +} + if (!isset($_POST['SupplierID'])) { $sql="SELECT supplierid FROM www_users WHERE userid='" . $_SESSION['UserID'] . "'"; $result=DB_query($sql, $db); @@ -26,9 +33,9 @@ } if (isset($_GET['Delete'])) { - $_POST['SupplierID']=$_SESSION['offer']->SupplierID; + $_POST['SupplierID']=$_SESSION['offer'.$identifier]->SupplierID; $_POST['TenderType']=$_GET['Type']; - $_SESSION['offer']->remove_from_offer($_GET['Delete']); + $_SESSION['offer'.$identifier]->remove_from_offer($_GET['Delete']); } $sql="SELECT suppname, @@ -41,22 +48,22 @@ $Currency=$myrow['currcode']; if (isset($_POST['Confirm'])) { - $_SESSION['offer']->Save($db); - $_SESSION['offer']->EmailOffer(); + $_SESSION['offer'.$identifier]->Save($db); + $_SESSION['offer'.$identifier]->EmailOffer(); $sql="UPDATE tendersuppliers SET responded=1 - WHERE supplierid='" . $_SESSION['offer']->SupplierID . "' - AND tenderid='" . $_SESSION['offer']->TenderID . "'"; + WHERE supplierid='" . $_SESSION['offer'.$identifier]->SupplierID . "' + AND tenderid='" . $_SESSION['offer'.$identifier]->TenderID . "'"; $result=DB_query($sql, $db); } if (isset($_POST['Process'])) { - if (isset($_SESSION['offer'])) { - unset($_SESSION['offer']); + if (isset($_SESSION['offer'.$identifier])) { + unset($_SESSION['offer'.$identifier]); } - $_SESSION['offer']=new Offer($_POST['SupplierID']); - $_SESSION['offer']->TenderID=$_POST['Tender']; - $_SESSION['offer']->CurrCode=$Currency; + $_SESSION['offer'.$identifier]=new Offer($_POST['SupplierID']); + $_SESSION['offer'.$identifier]->TenderID=$_POST['Tender']; + $_SESSION['offer'.$identifier]->CurrCode=$Currency; $LineNo=0; foreach ($_POST as $key=>$value) { if (mb_substr($key,0,7)=='StockID') { @@ -64,19 +71,20 @@ $ItemCode=$value; $Quantity=$_POST['Qty'.$Index]; $Price=$_POST['Price'.$Index]; - $_SESSION['offer']->add_to_offer($LineNo, - $ItemCode, - $Quantity, - $_POST['ItemDescription'.$Index], - $Price, - $_POST['UOM'.$Index], - $_POST['DecimalPlaces'.$Index], - $_POST['RequiredByDate'.$Index]); + $_SESSION['offer'.$identifier]->add_to_offer( + $LineNo, + $ItemCode, + $Quantity, + $_POST['ItemDescription'.$Index], + $Price, + $_POST['UOM'.$Index], + $_POST['DecimalPlaces'.$Index], + $_POST['RequiredByDate'.$Index]); $LineNo++; } } - echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Confirm the Response For Tender') . ' ' . $_SESSION['offer']->TenderID .'</p>'; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Confirm the Response For Tender') . ' ' . $_SESSION['offer'.$identifier]->TenderID .'</p>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; echo '<input type="hidden" name="TenderType" value="3" />'; @@ -93,10 +101,10 @@ INNER JOIN locations ON tenders.location=locations.loccode WHERE closed=0 - AND tenderid='".$_SESSION['offer']->TenderID."'"; + AND tenderid='".$_SESSION['offer'.$identifier]->TenderID."'"; $LocationResult=DB_query($LocationSQL, $db); $MyLocationRow=DB_fetch_row($LocationResult); - $CurrencySQL="SELECT decimalplaces FROM currencies WHERE currabrev='".$_SESSION['offer']->CurrCode."'"; + $CurrencySQL="SELECT decimalplaces from currencies WHERE currabrev='".$_SESSION['offer'.$identifier]->CurrCode."'"; $CurrencyResult=DB_query($CurrencySQL, $db); $CurrencyRow=DB_fetch_array($CurrencyResult); echo '<tr> @@ -108,8 +116,8 @@ } } echo '</td>'; - echo '<th colspan="8" style="vertical-align:top"><font size="2" color="#616161">' . _('Tender Number') . ': ' .$_SESSION['offer']->TenderID . '</font></th>'; - echo '<input type="hidden" value="' . $_SESSION['offer']->TenderID . '" name="Tender" />'; + echo '<th colspan="8" style="vertical-align:top"><font size="2" color="#616161">' . _('Tender Number') . ': ' .$_SESSION['offer'.$identifier]->TenderID . '</font></th>'; + echo '<input type="hidden" value="' . $_SESSION['offer'.$identifier]->TenderID . '" name="Tender" />'; echo '<tr> <th>' . stripslashes($_SESSION['CompanyRecord']['coyname']) . '<br />' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> @@ -120,18 +128,16 @@ <th>' . _('Line Value') . '</th> <th>' . _('Delivery By') . '</th> </tr>'; - - foreach ($_SESSION['offer']->LineItems as $LineItem) { - echo '<tr> - <td>' . $LineItem->StockID . '</td> - <td>' . $LineItem->ItemDescription . '</td> - <td class="number"> ' .locale_number_format($LineItem->Quantity, $LineItem->DecimalPlaces) . '</td> - <td>' . $LineItem->Units . '</td> - <td>' . $_SESSION['offer']->CurrCode . '</td> - <td class="number">' . locale_number_format($LineItem->Price, $CurrencyRow['decimalplaces']) . '</td> - <td class="number">' . locale_number_format($LineItem->Price*$LineItem->Quantity,$CurrencyRow['decimalplaces']) . '</td> - <td>' . $LineItem->ExpiryDate . '</td> - </tr>'; + + foreach ($_SESSION['offer'.$identifier]->LineItems as $LineItem) { + echo '<tr><td>' . $LineItem->StockID . '</td>'; + echo '<td>' . $LineItem->ItemDescription . '</td>'; + echo '<td class="number"> ' .locale_number_format($LineItem->Quantity, $LineItem->DecimalPlaces) . '</td>'; + echo '<td>' . $LineItem->Units . '</td>'; + echo '<td>' . $_SESSION['offer'.$identifier]->CurrCode . '</td>'; + echo '<td class="number">' . locale_number_format($LineItem->Price, $CurrencyRow['decimalplaces']) . '</td>'; + echo '<td class="number">' . locale_number_format($LineItem->Price*$LineItem->Quantity,$CurrencyRow['decimalplaces']) . '</td>'; + echo '<td>' . $LineItem->ExpiryDate . '</td>'; } echo '</table> <br /> @@ -150,10 +156,10 @@ * set then the supplier must have just logged in so show them the choices. */ if (isset($_POST['SupplierID']) AND empty($_POST['TenderType']) AND empty($_POST['Search']) AND empty($_POST['NewItem']) AND empty($_GET['Delete'])) { - if (isset($_SESSION['offer'])) { - unset($_SESSION['offer']); + if (isset($_SESSION['offer'.$identifier])) { + unset($_SESSION['offer'.$identifier]); } - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Create or View Offers from') . ' '.$Supplier.'</p>'; echo '<table class="selection">'; @@ -189,7 +195,7 @@ $sql="SELECT description, decimalplaces FROM stockmaster WHERE stockid='".$StockID."'"; $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); - $_SESSION['offer']->add_to_offer($_SESSION['offer']->LinesOnOffer, + $_SESSION['offer'.$identifier]->add_to_offer($_SESSION['offer'.$identifier]->LinesOnOffer, $StockID, $Quantity, $myrow['description'], @@ -213,10 +219,11 @@ $ExpiryDate=$_POST['expirydate'.$Index]; } if (isset($ExpiryDate)) { - $_SESSION['offer']->update_offer_item($Index, - $Quantity, - $Price, - $ExpiryDate); + $_SESSION['offer'.$identifier]->update_offer_item( + $Index, + $Quantity, + $Price, + $ExpiryDate); unset($ExpiryDate); } } @@ -224,54 +231,56 @@ if (isset($_POST['Update'])) { foreach ($_POST as $key => $value) { - if (mb_substr($key,0,3)=='qty') { + if (mb_substr($key,0,3)=='Qty') { $LineNo=mb_substr($key,3); $Quantity=$value; } - if (mb_substr($key,0,5)=='price') { + if (mb_substr($key,0,5)=='Price') { $Price=$value; } if (mb_substr($key,0,10)=='expirydate') { $ExpiryDate=$value; } if (isset($ExpiryDate)) { - $_SESSION['offer']->update_offer_item($LineNo, - $Quantity, - $Price, - $ExpiryDate); + $_SESSION['offer'.$identifier]->update_offer_item( + $LineNo, + $Quantity, + $Price, + $ExpiryDate); unset($ExpiryDate); } } - $_SESSION['offer']->Save($db, 'Yes'); - $_SESSION['offer']->EmailOffer(); - unset($_SESSION['offer']); + $_SESSION['offer'.$identifier]->Save($db, 'Yes'); + $_SESSION['offer'.$identifier]->EmailOffer(); + unset($_SESSION['offer'.$identifier]); include('includes/footer.inc'); exit; } if (isset($_POST['Save'])) { foreach ($_POST as $key => $value) { - if (mb_substr($key,0,3)=='qty') { + if (mb_substr($key,0,3)=='Qty') { $LineNo=mb_substr($key,3); $Quantity=$value; } - if (mb_substr($key,0,5)=='price') { + if (mb_substr($key,0,5)=='Price') { $Price=$value; } if (mb_substr($key,0,10)=='expirydate') { $ExpiryDate=$value; } if (isset($ExpiryDate)) { - $_SESSION['offer']->update_offer_item($LineNo, - $Quantity, - $Price, - $ExpiryDate); + $_SESSION['offer'.$identifier]->update_offer_item( + $LineNo, + $Quantity, + $Price, + $ExpiryDate); unset($ExpiryDate); } } - $_SESSION['offer']->Save($db); - $_SESSION['offer']->EmailOffer(); - unset($_SESSION['offer']); + $_SESSION['offer'.$identifier]->Save($db); + $_SESSION['offer'.$identifier]->EmailOffer(); + unset($_SESSION['offer'.$identifier]); include('includes/footer.inc'); exit; } @@ -292,22 +301,23 @@ ON offers.stockid=stockmaster.stockid WHERE offers.supplierid='" . $_POST['SupplierID'] . "'"; $result=DB_query($sql, $db); - $_SESSION['offer']=new Offer($_POST['SupplierID']); - $_SESSION['offer']->CurrCode=$Currency; + $_SESSION['offer'.$identifier]=new Offer($_POST['SupplierID']); + $_SESSION['offer'.$identifier]->CurrCode=$Currency; while ($myrow=DB_fetch_array($result)) { - $_SESSION['offer']->add_to_offer($myrow['offerid'], - $myrow['stockid'], - $myrow['quantity'], - $myrow['description'], - $myrow['price'], - $myrow['uom'], - $myrow['decimalplaces'], - ConvertSQLDate($myrow['expirydate'])); + $_SESSION['offer'.$identifier]->add_to_offer( + $myrow['offerid'], + $myrow['stockid'], + $myrow['quantity'], + $myrow['description'], + $myrow['price'], + $myrow['uom'], + $myrow['decimalplaces'], + ConvertSQLDate($myrow['expirydate'])); } } -if (isset($_POST['TenderType']) AND $_POST['TenderType']!=3 AND isset($_SESSION['offer']) AND $_SESSION['offer']->LinesOnOffer>0 or isset($_POST['Update'])) { - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; +if (isset($_POST['TenderType']) and $_POST['TenderType']!=3 and isset($_SESSION['offer'.$identifier]) and $_SESSION['offer'.$identifier]->LinesOnOffer>0 or isset($_POST['Update'])) { + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Items to offer from').' '.$Supplier .'</p>'; echo '<table> @@ -321,7 +331,7 @@ <th>'._('Expiry Date').'</th> </tr>'; $k=0; - foreach ($_SESSION['offer']->LineItems as $LineItems) { + foreach ($_SESSION['offer'.$identifier]->LineItems as $LineItems) { if ($LineItems->Deleted==False) { if ($LineItems->ExpiryDate < date('Y-m-d')) { echo '<tr bgcolor="#F7A9A9">'; @@ -332,7 +342,7 @@ echo '<tr class="OddTableRows">'; $k=1; } - + echo '<input type="hidden" name="StockID'.$LineItems->LineNo.'" value="'.$LineItems->StockID.'" />'; echo '<td>'.$LineItems->StockID.'</td> <td>'.$LineItems->ItemDescription.'</td> @@ -341,7 +351,7 @@ <td><input type="text" class="number" name="Price'.$LineItems->LineNo.'" value="'.locale_number_format($LineItems->Price,2,'.','').'" /></td> <td class="number">'.locale_number_format($LineItems->Price*$LineItems->Quantity,2).'</td> <td><input type="text" size="11" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="expirydate'.$LineItems->LineNo.'" value="'.$LineItems->ExpiryDate.'" /></td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?Delete=' . $LineItems->LineNo . '&Type=' . $_POST['TenderType'] . '">' . _('Remove') . '</a></td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?identifier='.$identifier.'&Delete=' . $LineItems->LineNo . '&Type=' . $_POST['TenderType'] . '">' . _('Remove') . '</a></td> </tr>'; } } @@ -365,15 +375,15 @@ /*The supplier has chosen option 2 */ -if (isset($_POST['TenderType']) - AND $_POST['TenderType']==2 - AND !isset($_POST['Search']) +if (isset($_POST['TenderType']) + AND $_POST['TenderType']==2 + AND !isset($_POST['Search']) OR isset($_GET['Delete'])) { - - if (!isset($_SESSION['offer'])) { - $_SESSION['offer']=new Offer($_POST['SupplierID']); + + if (!isset($_SESSION['offer'.$identifier])) { + $_SESSION['offer'.$identifier]=new Offer($_POST['SupplierID']); } - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for Inventory Items') . '</p>'; @@ -442,11 +452,11 @@ /*The supplier has chosen option 3 */ -if (isset($_POST['TenderType']) - AND $_POST['TenderType']==3 - AND !isset($_POST['Search']) +if (isset($_POST['TenderType']) + AND $_POST['TenderType']==3 + AND !isset($_POST['Search']) OR isset($_GET['Delete'])) { - + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Tenders Waiting For Offers').'</p>'; $sql="SELECT DISTINCT tendersuppliers.tenderid, suppliers.currcode @@ -540,7 +550,7 @@ <td class="number">' . locale_number_format($MyItemRow['quantity'], $MyItemRow['decimalplaces']) . '</td> <td>' . $MyItemRow['units'] . '</td> <td>' . ConvertSQLDate($MyItemRow['requiredbydate']) . '</td>'; - + if ($MyItemRow['suppliersuom']=='') { $MyItemRow['suppliersuom']=$MyItemRow['units']; } @@ -559,7 +569,7 @@ } if (isset($_POST['Search'])){ /*ie seach for stock items */ - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'].'?identifier='.$identifier) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Tenders') . '" alt="" />' . ' ' . _('Select items to offer from').' '.$Supplier .'</p>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-01-22 07:33:57
|
Revision: 4831 http://web-erp.svn.sourceforge.net/web-erp/?rev=4831&view=rev Author: daintree Date: 2012-01-22 07:33:48 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/CustomerTypes.php trunk/DeliveryDetails.php trunk/EmailCustTrans.php trunk/ExchangeRateTrend.php trunk/FixedAssetTransfer.php trunk/GLAccountReport.php trunk/GoodsReceived.php trunk/MRPReschedules.php trunk/MRPShortages.php trunk/PDFChequeListing.php trunk/PDFOrderStatus.php trunk/PDFPriceList.php trunk/PDFRemittanceAdvice.php trunk/PO_AuthorisationLevels.php trunk/PO_Header.php trunk/PO_PDFPurchOrder.php trunk/PcAuthorizeExpenses.php trunk/PcExpenses.php trunk/PcExpensesTypeTab.php trunk/PcReportTab.php trunk/PcTypeTabs.php trunk/SelectAsset.php trunk/SelectCreditItems.php trunk/SelectGLAccount.php trunk/SelectProduct.php Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/CustomerTypes.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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 @@ -256,12 +256,12 @@ $_POST['typename']=''; } echo '<tr><td>' . _('Type Name') . ':</td> - <td><input type="Text" name="typename" value="' . $_POST['typename'] . '"></td></tr>'; + <td><input type="Text" name="typename" value="' . $_POST['typename'] . '" /></td></tr>'; 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/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/DeliveryDetails.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -996,7 +996,7 @@ // The estimated Dispatch date or Delivery date for this order echo '<tr> <td>'. _('Estimated Delivery Date') .':</td> - <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size=15 maxlength=14 name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '"></td> + <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size=15 maxlength=14 name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '" /></td> </tr>'; // The date when a quote was issued to the customer echo '<tr> @@ -1034,14 +1034,14 @@ </tr> <tr> <td>'. _('Contact Phone Number') .':</td> - <td><input type="text" size=25 maxlength=25 name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '"></td> + <td><input type="text" size=25 maxlength=25 name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" /></td> </tr> <tr> - <td>' . _('Contact Email') . ':</td><td><input type="text" size=40 maxlength=38 name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '"></td> + <td>' . _('Contact Email') . ':</td><td><input type="text" size=40 maxlength=38 name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '" /></td> </tr> <tr> <td>'. _('Customer Reference') .':</td> - <td><input type="text" size=25 maxlength=25 name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '"></td> + <td><input type="text" size=25 maxlength=25 name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '" /></td> </tr> <tr> <td>'. _('Comments') .':</td> @@ -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> @@ -1122,13 +1122,13 @@ 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') . '">'; + echo '<br /><input type="submit" name="ProcessOrder" value="' . _('Commit Order Changes') . '" />'; } echo '</div></form>'; Modified: trunk/EmailCustTrans.php =================================================================== --- trunk/EmailCustTrans.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/EmailCustTrans.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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>'; @@ -61,10 +61,10 @@ } echo '<tr><td>' . _('Email') . ' ' . $_GET['InvOrCredit'] . ' ' . _('number') . ' ' . $_GET['FromTransNo'] . ' ' . _('to') . ':</td> - <td><input type="text" name="EmailAddr" maxlength=60 size=60 value="' . $EmailAddress . '"></td> + <td><input type="text" name="EmailAddr" maxlength=60 size=60 value="' . $EmailAddress . '" /></td> </table>'; -echo '<br /><div class="centre"><input type="submit" name="DoIt" value="' . _('OK') . '">'; +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 02:57:49 UTC (rev 4830) +++ trunk/ExchangeRateTrend.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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>'; // ************** @@ -59,9 +59,9 @@ $graph = $CurrencyToShow. '/' . $FunctionalCurrency . $graph; $image = 'http://www.x-rates.com/d/' . $graph; - echo '<p></div><table class=selection>'; - echo '<tr><th><div class="centre"><font size=4 color=BLUE><b><U>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></U></font></th></tr>'; - echo '<tr><td><img src=' . $image . ' alt="' ._('Trend Currently Unavailable') . '"></td></tr>'; + echo '<p></div><table class="selection">'; + echo '<tr><th><div class="centre"><b><U>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></U></th></tr>'; + echo '<tr><td><img src=' . $image . ' alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; echo '</table>'; Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/FixedAssetTransfer.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -51,25 +51,25 @@ if (isset($_POST['Keywords'])) { - echo '<input type="text" name="Keywords" value="' . trim($_POST['Keywords'],'%') . '" size=20 maxlength=25>'; + echo '<input type="text" name="Keywords" value="' . trim($_POST['Keywords'],'%') . '" size="20" maxlength="25" />'; } else { - echo '<input type="text" name="Keywords" size=20 maxlength=25>'; + echo '<input type="text" name="Keywords" size="20" maxlength="25" />'; } echo '</td></tr><tr><td></td>'; - echo '<td><font size 3><b>' . _('OR').' ' . '</b></font>' . _('Enter partial') .' <b>'. _('Asset Code') . '</b>:</td>'; + echo '<td><b>' . _('OR').' ' . '</b>' . _('Enter partial') .' <b>'. _('Asset Code') . '</b>:</td>'; echo '<td>'; if (isset($_POST['AssetID'])) { - echo '<input type="text" name="AssetID" value="'. trim($_POST['AssetID'],'%') . '" size=15 maxlength=18>'; + echo '<input type="text" name="AssetID" value="'. trim($_POST['AssetID'],'%') . '" size="15" maxlength="18" />'; } else { - echo '<input type="text" name="AssetID" size=15 maxlength=18>'; + echo '<input type="text" name="AssetID" size="15" maxlength="18" />'; } 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'])) { @@ -104,23 +104,26 @@ AND fixedassets.assetid " . LIKE . "'".$_POST['AssetID']."' AND fixedassets.serialno " . LIKE . "'".$_POST['SerialNumber']."'"; $Result=DB_query($sql, $db); - echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID .'" method=post><table class=selection>'; + echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post"> + <table class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<tr><th>'._('Asset ID') . '</th> + echo '<tr> + <th>'._('Asset ID') . '</th> <th>' . _('Description') . '</th> <th>' . _('Serial number') . '</th> <th>' . _('Purchase Cost') . '</th> <th>' . _('Total Depreciation') . '</th> <th>' . _('Current Location') . '</th> <th>' . _('Move To :') . '</th> - </tr>'; + </tr>'; $locationsql="SELECT locationid, locationdescription from fixedassetlocations"; $LocationResult=DB_query($locationsql, $db); while ($myrow=DB_fetch_array($Result)) { - echo '<tr><td>'.$myrow['assetid'].'</td> + echo '<tr> + <td>'.$myrow['assetid'].'</td> <td>'.$myrow['description'].'</td> <td>'.$myrow['serialno'].'</td> <td class="number">'.locale_number_format($myrow['cost'],$_SESSION['CompanyRecord']['decimalplaces']).'</td> @@ -137,11 +140,11 @@ } DB_data_seek($LocationResult,0); echo '</select></td>'; - echo '<input type="hidden" name="AssetCat" value="' . $_POST['AssetCat'].'"'; - echo '<input type="hidden" name="Keywords" value="' . $_POST['Keywords'].'"'; - echo '<input type="hidden" name="AssetID" value="' . $_POST['AssetID'].'"'; - echo '<input type="hidden" name="Search" value="' . $_POST['Search'].'"'; - echo '<td><input type="submit" name="Move'.$myrow['assetid'].'" value="Move"></td>'; + echo '<input type="hidden" name="AssetCat" value="' . $_POST['AssetCat'].'" />'; + echo '<input type="hidden" name="Keywords" value="' . $_POST['Keywords'].'" />'; + echo '<input type="hidden" name="AssetID" value="' . $_POST['AssetID'].'" />'; + echo '<input type="hidden" name="Search" value="' . $_POST['Search'].'" />'; + echo '<td><input type="submit" name="Move'.$myrow['assetid'].'" value="Move" /></td>'; echo '</tr>'; } echo '</table></form>'; Modified: trunk/GLAccountReport.php =================================================================== --- trunk/GLAccountReport.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/GLAccountReport.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -283,10 +283,12 @@ echo '</select></td></tr>'; // End select tag - echo '</table><p> + echo '</table> + <br /> <div class="centre"> - <input type="submit" name="RunReport" value="' ._('Run Report'). '"></div> - </form>'; + <input type="submit" name="RunReport" value="' ._('Run Report'). '" /> + </div> + </form>'; include ('includes/footer.inc'); exit; Modified: trunk/GoodsReceived.php =================================================================== --- trunk/GoodsReceived.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/GoodsReceived.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -84,7 +84,7 @@ <tr> <td>'. _('Date Goods/Service Received'). ':</td> <td><input type="text" class="date" alt="'. $_SESSION['DefaultDateFormat'] .'" maxlength="10" size="10" onChange="return isDate(this, this.value, '."'". - $_SESSION['DefaultDateFormat']."'".')" name="DefaultReceivedDate" value="' . $_POST['DefaultReceivedDate'] . '"></td> + $_SESSION['DefaultDateFormat']."'".')" name="DefaultReceivedDate" value="' . $_POST['DefaultReceivedDate'] . '" /></td> </tr> </table> <br />'; @@ -246,20 +246,20 @@ if ($_SESSION['PO'.$identifier]->SomethingReceived()==0 AND isset($_POST['ProcessGoodsReceived'])){ /*Then dont bother proceeding cos nothing to do ! */ prnMsg(_('There is nothing to process') . '. ' . _('Please enter valid quantities greater than zero'),'warn'); - echo '<div class="centre"><input type="submit" name="Update" Value=' . _('Update') . '></div>'; + echo '<div class="centre"><input type="submit" name="Update" value="' . _('Update') . '" /></div>'; } elseif ($NegativesFound){ 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/MRPReschedules.php =================================================================== --- trunk/MRPReschedules.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/MRPReschedules.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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 02:57:49 UTC (rev 4830) +++ trunk/MRPShortages.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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/PDFChequeListing.php =================================================================== --- trunk/PDFChequeListing.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PDFChequeListing.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -39,7 +39,7 @@ <td><input type="text" name="FromDate" maxlength="10" size="10" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td> </tr>'; echo '<tr><td>' . _('Enter the date to which cheques are to be listed') . ':</td> - <td><input type="text" name="ToDate" maxlength="10" size="10" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '"></td> + <td><input type="text" name="ToDate" maxlength="10" size="10" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td> </tr>'; echo '<tr><td>' . _('Bank Account') . '</td><td>'; @@ -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/PDFOrderStatus.php =================================================================== --- trunk/PDFOrderStatus.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PDFOrderStatus.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -37,7 +37,7 @@ <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" maxlength=10 size=10 value="' . Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,Date('m'),Date('d')-1,Date('y'))) . '" /></td> </tr>'; echo '<tr><td>' . _('Enter the date to which orders are to be listed') . ':</td><td>'; - echo '<input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="ToDate" maxlength=10 size=10 value="' . Date($_SESSION['DefaultDateFormat']) . '"></td></tr>'; + echo '<input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="ToDate" maxlength=10 size=10 value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td></tr>'; echo '<tr><td>' . _('Inventory Category') . '</td><td>'; $sql = "SELECT categorydescription, categoryid FROM stockcategory WHERE stocktype<>'D' AND stocktype<>'L'"; @@ -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 02:57:49 UTC (rev 4830) +++ trunk/PDFPriceList.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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 02:57:49 UTC (rev 4830) +++ trunk/PDFRemittanceAdvice.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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 02:57:49 UTC (rev 4830) +++ trunk/PO_AuthorisationLevels.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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"; @@ -224,28 +224,44 @@ echo '</select></td></tr>'; } -echo '<tr><td>'._('User can create orders').'</td>'; +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>'; +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>'; -echo '<td><input type=input name="AuthLevel" size=11 class="number" value="' . locale_number_format($AuthLevel,$CurrDecimalPlaces) . '"></td</tr>'; -echo '</table>'; +echo '<tr> + <td>'._('User can authorise orders up to :').'</td>'; +echo '<td><input type="text" name="AuthLevel" size="11" class="number" value="' . locale_number_format($AuthLevel,$CurrDecimalPlaces) . '" /></td> + </tr> + </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 02:57:49 UTC (rev 4830) +++ trunk/PO_Header.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -755,8 +755,7 @@ } echo '<tr><td>' . _('Initiated By') . ':</td> - <td><input type="hidden" name="Initiator" size="11" maxlength="10" value="' . - $_POST['Initiator'] . '" />' . $_POST['Initiator'] . '</td></tr>'; + <td><input type="hidden" name="Initiator" size="11" maxlength="10" value="' . $_POST['Initiator'] . '" />' . $_POST['Initiator'] . '</td></tr>'; echo '<tr><td>' . _('Requisition Ref') . ':</td> <td><input type="text" name="Requisition" size="16" maxlength="15" value="' . $_POST['Requisition'] . '" /></td></tr>'; @@ -782,7 +781,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>'; } @@ -798,7 +797,7 @@ $_SESSION['PO'.$identifier]->OrderNo . '&identifier=' . $identifier . '">'._('Receive this order').'</a></td></tr>'; } if ($_SESSION['PO'.$identifier]->Status==''){ //then its a new order - echo '<input type="hidden" name="Status" value="NewOrder">'; + echo '<input type="hidden" name="Status" value="NewOrder" />'; echo '<tr><td>' . _('New Purchase Order') . '</td></tr>'; } else { echo '<tr><td>' . _('Status') . ' : </td> @@ -845,7 +844,7 @@ </tr>'; echo '<input type="hidden" name="StatusCommentsComplete" value="' . htmlentities($_SESSION['PO'.$identifier]->StatusComments, ENT_QUOTES,'UTF-8') .'" />'; - echo '<tr><td><input type="submit" name="UpdateStatus" value="' . _('Status Update') .'"></td>'; + echo '<tr><td><input type="submit" name="UpdateStatus" value="' . _('Status Update') .'" /></td>'; } //end its not a new order echo '</tr></table></td>'; @@ -879,7 +878,7 @@ } echo '</select> - <input type="submit" name="LookupDeliveryAddress" value="' ._('Select') . '"></td> + <input type="submit" name="LookupDeliveryAddress" value="' ._('Select') . '" /></td> </tr>'; /* If this is the first time @@ -969,28 +968,28 @@ echo '<tr><td>' . _('Delivery Contact') . ':</td> - <td><input type="text" name="Contact" size="41" value="' . $_SESSION['PO'.$identifier]->Contact . '"></td> + <td><input type="text" name="Contact" size="41" value="' . $_SESSION['PO'.$identifier]->Contact . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 1 :</td> - <td><input type="text" name="DelAdd1" size="41" maxlength="40" value="' . $_POST['DelAdd1'] . '"></td> + <td><input type="text" name="DelAdd1" size="41" maxlength="40" value="' . $_POST['DelAdd1'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 2 :</td> - <td><input type="text" name="DelAdd2" size="41" maxlength="40" value="' . $_POST['DelAdd2'] . '"></td> + <td><input type="text" name="DelAdd2" size="41" maxlength="40" value="' . $_POST['DelAdd2'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 3 :</td> - <td><input type="text" name="DelAdd3" size="41" maxlength="40" value="' . $_POST['DelAdd3'] . '"></td> + <td><input type="text" name="DelAdd3" size="41" maxlength="40" value="' . $_POST['DelAdd3'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 4 :</td> - <td><input type="text" name="DelAdd4" size="21" maxlength="20" value="' . $_POST['DelAdd4'] . '"></td> + <td><input type="text" name="DelAdd4" size="21" maxlength="20" value="' . $_POST['DelAdd4'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 5 :</td> - <td><input type="text" name="DelAdd5" size="16" maxlength="15" value="' . $_POST['DelAdd5'] . '"></td> + <td><input type="text" name="DelAdd5" size="16" maxlength="15" value="' . $_POST['DelAdd5'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 6 :</td> - <td><input type="text" name="DelAdd6" size="16" maxlength=15 value="' . $_POST['DelAdd6'] . '"></td> + <td><input type="text" name="DelAdd6" size="16" maxlength=15 value="' . $_POST['DelAdd6'] . '" /></td> </tr>'; echo '<tr><td>' . _('Phone') . ':</td> - <td><input type="text" name="Tel" size="31" maxlength="30" value="' . $_SESSION['PO'.$identifier]->Tel . '"></td> + <td><input type="text" name="Tel" size="31" maxlength="30" value="' . $_SESSION['PO'.$identifier]->Tel . '" /></td> </tr>'; echo '<tr><td>' . _('Delivery By') . ':</td><td><select name="DeliveryBy">'; @@ -1098,7 +1097,7 @@ echo '<tr> <td>' . _('Delivery To') . ':</td> - <td><input type="text" name="Port" size="31" value="' . $_POST['Port'] . '"></td> + <td><input type="text" name="Port" size="31" value="' . $_POST['Port'] . '" /></td> </tr>'; if ($_SESSION['PO'.$identifier]->CurrCode != $_SESSION['CompanyRecord']['currencydefault']) { @@ -1127,7 +1126,7 @@ echo '</td></tr></table><br />'; /* end of main table */ echo '<div class="centre"> - <input type="submit" name="EnterLines" value="' . _('Enter Line Items') . '"> + <input type="submit" name="EnterLines" value="' . _('Enter Line Items') . '" /> </div>'; } /*end of if supplier selected */ Modified: trunk/PO_PDFPurchOrder.php =================================================================== --- trunk/PO_PDFPurchOrder.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PO_PDFPurchOrder.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PcAuthorizeExpenses.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -53,11 +53,11 @@ if(!isset ($Days)){ $Days=30; } - echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '">'; + echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; echo '<br /><table class=selection>'; echo '<tr><th colspan=7>' . _('Detail Of Movement For Last ') .': '; echo '<input type="text" class="number" name="Days" value="' . $Days . '" maxlength="3" size="4" />' . _('Days'); - echo '<input type="submit" name="Go" value="' . _('Go') . '"></tr></th>'; + echo '<input type="submit" name="Go" value="' . _('Go') . '" /></tr></th>'; echo '</form>'; $sql = "SELECT pcashdetails.counterindex, @@ -285,7 +285,7 @@ // Do the postings include ('includes/GLPostings.inc'); - echo'</table><br /><div class="centre"><input type="submit" name="Submit" value=' . _('Update') . '></div></form>'; + echo'</table><br /><div class="centre"><input type="submit" name="Submit" value="' . _('Update') . '" /></div></form>'; } else { /*The option to submit was not hit so display form */ @@ -319,8 +319,8 @@ echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"> - <input type="submit" name="Cancel" value="' . _('Cancel') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /></div>'; echo '</form>'; } /*end of else not submit */ Modified: trunk/PcExpenses.php =================================================================== --- trunk/PcExpenses.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PcExpenses.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -264,13 +264,14 @@ $_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> - <td>' . _('Code Of Expense') . ':</td> - <td>' . $_POST['CodeExpense'] . '</td></tr>'; + <td>' . _('Code Of Expense') . ':</td> + <td>' . $_POST['CodeExpense'] . '</td> + </tr>'; } else { @@ -278,8 +279,8 @@ echo '<table class="selection"> <tr> - <td>' . _('Code Of Expense') . ':</td> - <td><input type="text"' . (in_array('CodeExpense',$Errors) ? 'class="inputerror"' : '' ) .' name="CodeExpense"></td> + <td>' . _('Code Of Expense') . ':</td> + <td><input type="text"' . (in_array('CodeExpense',$Errors) ? 'class="inputerror"' : '' ) .' name="CodeExpense" /></td> </tr>'; } @@ -289,7 +290,7 @@ } echo '<tr> <td>' . _('Description') . ':</td> - <td><input type="text" ' . (in_array('Description',$Errors) ? 'class="inputerror"' : '' ) . ' name="Description" size=50 maxlength=49 value="' . $_POST['Description'] . '"></td> + <td><input type="text" ' . (in_array('Description',$Errors) ? 'class="inputerror"' : '' ) . ' name="Description" size="50" maxlength="49" value="' . $_POST['Description'] . '" /></td> </tr>'; echo '<tr> @@ -340,8 +341,11 @@ 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 '<br /> + <div class="centre"> + <input type="submit" name="submit" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /> + </div>'; echo '</form>'; Modified: trunk/PcExpensesTypeTab.php =================================================================== --- trunk/PcExpensesTypeTab.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PcExpensesTypeTab.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -136,8 +136,8 @@ echo '</table>'; // close table in first column echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"> - <input type="submit" name="Cancel" value="' . _('Cancel') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /></div>'; echo '</form>'; @@ -150,7 +150,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '">'; + echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '" />'; $sql = "SELECT pctabexpenses.codeexpense, pcexpenses.description @@ -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 02:57:49 UTC (rev 4830) +++ trunk/PcReportTab.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -20,7 +20,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Payment Entry') . '" alt="" />' . ' ' . $title . '</p>'; - echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (!isset($_POST['FromDate'])){ @@ -62,13 +62,13 @@ echo '</select></td></tr>'; echo'<tr><td>' . _('From Date :') . '</td><td>'; - echo '<input tabindex="2" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" name="FromDate" maxlength="10" size="11" value="' . $_POST['FromDate'] . '">'; + echo '<input tabindex="2" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" name="FromDate" maxlength="10" size="11" value="' . $_POST['FromDate'] . '" />'; echo '</td></tr>'; echo '<tr><td>' . _('To Date:') .'</td><td>'; - echo '<input tabindex="3" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" name="ToDate" maxlength="10" size="11" value="' . $_POST['ToDate'] . '">'; + echo '<input tabindex="3" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" name="ToDate" maxlength="10" size="11" value="' . $_POST['ToDate'] . '" />'; echo '</td></tr></table><br />'; - echo '<div class="centre"><input type="submit" Name="ShowTB" Value="' . _('Show HTML') .'">'; - echo '<input type="submit" name="PrintPDF" value="' . _('PrintPDF') . '"></div>'; + echo '<div class="centre"><input type="submit" Name="ShowTB" Value="' . _('Show HTML') .'" />'; + echo '<input type="submit" name="PrintPDF" value="' . _('PrintPDF') . '" /></div>'; } else if (isset($_POST['PrintPDF'])) { @@ -235,8 +235,8 @@ 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'] . '">'; + echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" /> + <input type="hidden" name="ToDate" value="' . $_POST['ToDate'] . '" />'; $SqlTabs = "SELECT * FROM pctabs WHERE tabcode='".$SelectedTabs."'"; @@ -400,7 +400,7 @@ <td>'.locale_number_format($Amount[0],$_SESSION['CompanyRecord']['decimalplaces']).' </td><td>'.$Tabs['currency'].'</td></tr>'; echo '</table>'; - echo '<br /><div class="centre"><input type="submit" name="SelectDifferentDate" value="' . _('Select A Different Date') . '"></div>'; + echo '<br /><div class="centre"><input type="submit" name="SelectDifferentDate" value="' . _('Select A Different Date') . '" /></div>'; } echo '</form>'; include('includes/footer.inc'); Modified: trunk/PcTypeTabs.php =================================================================== --- trunk/PcTypeTabs.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PcTypeTabs.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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; @@ -206,12 +206,12 @@ $_POST['TypeTabCode'] = $myrow['typetabcode']; $_POST['TypeTabDescription'] = $myrow['typetabdescription']; - echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '">'; - echo '<input type="hidden" name="TypeTabCode" value="' . $_POST['TypeTabCode']. '">'; - echo '<table class=selection> + echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '" />'; + echo '<input type="hidden" name="TypeTabCode" value="' . $_POST['TypeTabCode']. '" />'; + echo '<table class="selection"> <tr><td>' . _('Code Of Type Of Tab') . ':</td> - <td>' . $_POST['TypeTabCode'] . '</td>< - /tr>'; + <td>' . $_POST['TypeTabCode'] . '</td> + </tr>'; // We dont allow the user to change an existing type code @@ -221,22 +221,33 @@ // This is a new type so the user may volunteer a type code - echo '<table class="selection"><tr><td>' . _('Code Of Type Of Tab') . ':</td><td><input type="text" - ' . (in_array('TypeTabCode',$Errors) ? 'class="inputerror"' : '' ) .' name="TypeTabCode"></td></tr>'; + echo '<table class="selection"> + <tr> + <td>' . _('Code Of Type Of Tab') . ':</td> + <td><input type="text" ' . (in_array('TypeTabCode',$Errors) ? 'class="inputerror"' : '' ) .' name="TypeTabCode" /></td> + </tr>'; } if (!isset($_POST['TypeTabDescription'])) { $_POST['TypeTabDescription']=''; } - echo '<tr><td>' . _('Description Of Type of Tab') . ':</td><td><input type="text" name="TypeTabDescription" size="50" maxlength="49" value="' . $_POST['TypeTabDescription'] . '"></td></tr>'; + echo '<tr> + <td>' . _('Description Of Type of Tab') . ':</td> + <td><input type="text" name="TypeTabDescription" size="50" maxlength="49" value="' . $_POST['TypeTabDescription'] . '" /></td> + </tr>'; - echo '</td></tr></table>'; // close main table + 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 '<br /> + <div class="centre"> + <input type="submit" name="submit" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /> + </div> + </form>'; - echo '</form>'; - } // end if user wish to delete include('includes/footer.inc'); Modified: trunk/SelectAsset.php =================================================================== --- trunk/SelectAsset.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/SelectAsset.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -67,11 +67,16 @@ echo '<td>' . _('Enter partial description') . '</b>:</td><td>'; if (isset($_POST['Keywords'])) { - echo '<input type="text" name="Keywords" value="' . $_POST['Keywords'] . '" size=20 maxlength=25>'; + echo '<input type="text" name="Keywords" value="' . $_POST['Keywords'] . '" size="20" maxlength="25" />'; } else { - echo '<input type="text" name="Keywords" size=20 maxlength=25>'; + echo '<input type="text" name="Keywords" size="20" maxlength="25"> /'; } -echo '</td></tr><tr><td>' . _('Asset Location') . ':</td><td><select name="AssetLocation">'; +echo '</td> + </tr> + <tr> + <td>' . _('Asset Location') . ':</td> + <td><select name="AssetLocation">'; + if (!isset($_POST['AssetLocation'])) { $_POST['AssetLocation'] = 'ALL'; } @@ -80,7 +85,7 @@ } else { echo '<option value="ALL">' . _('Any asset location') . '</option>'; } -$result = DB_query('SELECT locationid, locationdescription FROM fixedassetlocations',$db); +$result = DB_query("SELECT locationid, locationdescription FROM fixedassetlocations",$db); while ($myrow = DB_fetch_array($result)) { if ($myrow['locationid'] == $_POST['AssetLocation']) { @@ -94,14 +99,18 @@ echo ' </td><td><b>' . _('OR') . ' ' . '</b>' . _('Enter partial asset code') . '</b>:</td>'; echo '<td>'; if (isset($_POST['AssetCode'])) { - echo '<input type="text" class="number" name="AssetCode" value="' . $_POST['AssetCode'] . '" size=15 maxlength=13>'; + echo '<input type="text" class="number" name="AssetCode" value="' . $_POST['AssetCode'] . '" size="15" maxlength="13" />'; } else { - echo '<input type="text" name="AssetCode" size=15 maxlength=13>'; + echo '<input type="text" name="AssetCode" size="15" maxlength="13" />'; } echo '</td></tr></table><br />'; -echo '<div class="centre"><input type="submit" name="Search" value="' . _('Search Now') . '"></div><br /></form>'; +echo '<div class="centre"> + <input type="submit" name="Search" value="' . _('Search Now') . '" /> + </div> + <br /> + </form>'; echo '<script type="text/javascript">defaultControl(document.forms[0].Keywords);</script>'; -echo '</form>'; + // query for list of record(s) if(isset($_POST['Go']) OR isset($_POST['Next']) OR isset($_POST['Previous'])) { $_POST['Search']='Search'; @@ -231,13 +240,13 @@ $ListPage++; } echo '</select> - <input type="submit" name="Go" value="' . _('Go') . '"> - <input type="submit" name="Previous" value="' . _('Previous') . '"> - <input type="submit" name="Next" value="' . _('Next') . '">'; + <input type="submit" name="Go" value="' . _('Go') . '" /> + <input type="submit" name="Previous" value="' . _('Previous') . '" /> + <input type="submit" name="Next" value="' . _('Next') . '" />'; echo '<p></div>'; } - echo '<table cellpadding=2 colspan=7 class=selection>'; + echo '<table class="selection">'; $tableheader = '<tr> <th>' . _('Asset Code') . '</th> <th>' . _('Description') . '</th> @@ -259,7 +268,7 @@ echo '<tr class="OddTableRows">'; $k++; } - echo '<td><input type="submit" name="Select" value="' . $myrow['assetid'] .'"></td> + echo '<td><input type="submit" name="Select" value="' . $myrow['assetid'] .'" /></td> <td>' . $myrow['description'] . '</td> <td>' . $myrow['locationdescription'] . '</td> <td>' . ConvertSQLDate($myrow['datepurchased']) . '</td> Modified: trunk/SelectCreditItems.php =================================================================== --- trunk/SelectCreditItems.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/SelectCreditItems.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -261,8 +261,8 @@ } else { echo '<td></td>'; } - echo '<td><input tabindex='.($j+5).' type="submit" name="SubmitCustomerSelection' . $j .'" value="' . htmlentities($myrow['brname'], ENT_QUOTES,'UTF-8'). '"></td> - <input type="hidden" name="SelectedCustomer' . $j .'" value="'.$myrow['debtorno'].'"> + echo '<td><input tabindex='.($j+5).' type="submit" name="SubmitCustomerSelection' . $j .'" value="' . htmlentities($myrow['brname'], ENT_QUOTES,'UTF-8'). '" /></td> + <input type="hidden" name="SelectedCustomer' . $j .'" value="'.$myrow['debtorno'].'" /> <input type="hidden" name="SelectedBranch' . $j .'" value="'. $myrow['branchcode'].'" /> <td>'.$myrow['contactname'].'</td> <td>'.$myrow['phoneno'].'</td> @@ -709,16 +709,16 @@ <td>' . $LineItem->ItemDescription . '</td>'; if ($LineItem->Controlled==0){ - echo '<td><input type="text" class="number" name="Quantity_' . $LineItem->LineNumber . '" maxlength="6" size="6" value=' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '></td>'; + echo '<td><input type="text" class="number" name="Quantity_' . $LineItem->LineNumber . '" maxlength="6" size="6" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>'; } else { echo '<td class="number"><a href="' . $rootpath . '/CreditItemsControlled.php?LineNo=' . $LineItem->LineNumber . '">' . locale_number_format($LineItem->Quantity,$LineItem->DecimalPlaces) . '</a> - <input type="hidden" name="Quantity_' . $LineItem->LineNumber . '" value=' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '></td>'; + <input type="hidden" name="Quantity_' . $LineItem->LineNumber . '" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>'; } echo '<td>' . $LineItem->Units . '</td> - <td><input type="text" class="number" name="Price_' . $LineItem->LineNumber . '" size=10 maxlength=12 value=' . locale_number_format($LineItem->Price,$_SESSION['CreditItems'.$identifier]->CurrDecimalPlaces) . '></td> - <td><input type="CheckBox" name="Gross" value=False></td> - <td><input type="text" class="number" name="Discount_' . $LineItem->LineNumber . '" size=3 maxlength=3 value=' . locale_number_format(($LineItem->DiscountPercent * 100),'Variable') . '>%</td> + <td><input type="text" class="number" name="Price_' . $LineItem->LineNumber . '" size="10" maxlength="12" value="' . locale_number_format($LineItem->Price,$_SESSION['CreditItems'.$identifier]->CurrDecimalPlaces) . '" /></td> + <td><input type="CheckBox" name="Gross" value=False /></td> + <td><input type="text" class="number" name="Discount_' . $LineItem->LineNumber . '" size="3" maxlength="3" value="' . locale_number_format(($LineItem->DiscountPercent * 100),'Variable') . '" />%</td> <td class="number">' . $DisplayLineTotal . '</td>'; @@ -742,7 +742,7 @@ if ($i>0){ echo '<br />'; } - echo '<input type="text" class="number" name="' . $LineItem->LineNumber . $Tax->TaxCalculationOrder . '_TaxRate" maxlength=4 size="4" value="' . locale_number_format($Tax->TaxRate*100,'Variable') . '">'; + echo '<input type="text" class="number" name="' . $LineItem->LineNumber . $Tax->TaxCalculationOrder . '_TaxRate" maxlength=4 size="4" value="' . locale_number_format($Tax->TaxRate*100,'Variable') . '" />'; $i++; if ($Tax->TaxOnTax ==1){ $TaxTotals[$Tax->TaxAuthID] += ($Tax->TaxRate * ($LineTotal + $TaxLineTotal)); @@ -782,7 +782,7 @@ <td colspan="5"></td>'; echo '<td colspan="2" class="number">'. _('Credit Freight').'</td> - <td><input type="text" class="number" size=6 maxlength=6 name="ChargeFreightCost" value="' . locale_number_format($_SESSION['CreditItems'.$identifier]->FreightCost,$_SESSION['CreditItems'.$identifier]->CurrDecimalPlaces) . '" /></td>'; + <td><input type="text" class="number" size="6" maxlength="6" name="ChargeFreightCost" value="' . locale_number_format($_SESSION['CreditItems'.$identifier]->FreightCost,$_SESSION['CreditItems'.$identifier]->CurrDecimalPlaces) . '" /></td>'; $FreightTaxTotal =0; //initialise tax total @@ -977,8 +977,8 @@ <div class="centre">'; echo '<input type="submit" name="Search" value="' . _('Search Now') .'" /> - <input type="submit" Name="ChangeCustomer" value="' . _('Change Customer') . '" /> - <input type="submit" Name="Quick" value="' . _('Quick Entry') . '" /> + <input type="submit" name="ChangeCustomer" value="' . _('Change Customer') . '" /> + <input type="submit" name="Quick" value="' . _('Quick Entry') . '" /> </div>'; if (isset($SearchResult)) { @@ -1003,7 +1003,7 @@ $k++; } if(file_exists($_SESSION['part_pics_dir'] . '/' .mb_strtoupper($myrow['stockid']).'.jpg') ) { - printf('<td><font size=1><input type="submit" name="NewItem" value="%s"></font></td> + printf('<td><font size=1><input type="submit" name="NewItem" value="%s" /></font></td> <td><font size=1>%s</font></td> <td><font size=1>%s</font></td> <td><img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC&StockID=%s&text=&width=120&height=120"></td></tr>', @@ -1012,7 +1012,7 @@ $myrow['units'], $myrow['stockid']); } else { //don't try to show the image - printf('<td><font size=1><input type="submit" name="NewItem" value="%s"></font></td> + printf('<td><font size=1><input type="submit" name="NewItem" value="%s" /></font></td> <td><font size=1>%s</font></td> <td><font size=1>%s</font></td> <td>' . _('No Image') . '</td></tr>', @@ -1046,8 +1046,8 @@ echo '</table> <br /> <div class="centre"> - <input type="submit" name="QuickEntry" value="' . _('Process Entries') . '"> - <input type="submit" name="PartSearch" value="' . _('Search Parts') . '"> + <input type="submit" name="QuickEntry" value="' . _('Process Entries') . '" /> + <input type="submit" name="PartSearch" value="' . _('Search Parts') . '" /> </div>'; } Modified: trunk/SelectGLAccount.php =================================================================== --- trunk/SelectGLAccount.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/SelectGLAccount.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -20,9 +20,13 @@ $AccountID = $_POST['Select']; $_POST['Select'] = NULL; - echo '<br /><div class="centre"><a href="' . $rootpath . '/GLAccounts.php?' . SID . '&SelectedAccount=' . $AccountID . '">' . _('Edit Account') . '</a>'; - echo '<br /><a href="' . $rootpath . '/GLAccountInquiry.php?' . SID . '&Account=' . $AccountID . '">' . _('Account Inquiry') . '</a>'; - echo '<br /><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID . '">' . _('New Search') . '</a></div>'; + echo '<br /> + <div class="centre"> + <a href="' . $rootpath . '/GLAccounts.php?SelectedAccount=' . $AccountID . '">' . _('Edit Account') . '</a>'; + echo '<br /> + <a href="' . $rootpath . '/GLAccountInquiry.php?Account=' . $AccountID . '">' . _('Account Inquiry') . '</a>'; + echo '<br /> + <a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('New Search') . '</a></div>'; } elseif (isset($_POST['Search'])){ @@ -76,34 +80,40 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for General Ledger Accounts') . '</p>'; - echo "<br /><form action='" . htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID . "' method=post>"; + echo '<br /> + <form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if(mb_strlen($msg)>1){ prnMsg($msg,'info'); } - echo '<table cellpadding=3 colspan=4 class=selection> + echo '<table class="selection"> <tr> - <td><font size=1>' . _('Enter extract of text in the Account name') .":</font></td> - <td><input type='Text' name='Keywords' size=20 maxlength=25></td> - <td><font size=3><b>" . _('OR') . "</b></font></td> - <td><font size=1>" . _('Enter Account No. to search from') . ":</font></td> - <td><input type='Text' name='GLCode' size=15 maxlength=18 class=number ></td> + <td><font size=1>' . _('Enter extract of text in the Account name') .':</font></td> + <td><input type="text" name="Keywords" size="20" maxlength="25" /></td> + <td><font size="3"><b>' . _('OR') . '</b></font></td> + <td><font size="1">' . _('Enter Account No. to search from') . ':</font></td> + <td><input type="text" name="GLCode" size="15" maxlength="18" class="number" /></td> </tr> - </table><br />"; + </table> + <br />'; - echo '<div class="centre"><input type="submit" name="Search" value=' . _('Search Now') . '"> - <input type="submit" action=reset value="' . _('Reset') .'"></div>'; + echo '<div class="centre"> + <input type="submit" name="Search" value=' . _('Search Now') . '" /> + <input type="submit" action=reset value="' . _('Reset') .'" /> + </div>'; if (isset($result) and DB_num_rows($result)>0) { - echo '<br /><table cellpadding=2 colspan=7 class=selection>'; + echo '<br /><table class="selection">'; - $TableHeader = '<tr><th>' . _('Code') . '</th> - <th>' . _('Account Name') . '</th> - <th>' . _('Group') . '</th> - <th>' . _('Account Type') . '</th></tr>'; + $TableHeader = '<tr> + <th>' . _('Code') . '</th> + <th>' . _('Account Name') . '</th> + <th>' . _('Group') . '</th> + <th>' . _('Account Type') . '</th> + </tr>'; echo $TableHeader; @@ -111,15 +121,16 @@ while ($myrow=DB_fetch_array($result)) { - printf('<tr><td><font size=1><input type="submit" name="Select" value="%s" /></font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - </tr>', - $myrow['accountcode'], - $myrow['accountname'], - $myrow['group_'], - $myrow['pl']); + printf('<tr> + <td><font size=1><input type="submit" name="Select" value="%s" /></font></td> + <td><font size=1>%s</font></td> + <td><font size=1>%s</font></td> + <td><font size=1>%s</font></td> + </tr>', + $myrow['accountcode'], + $myrow['accountname'], + $myrow['group_'], + $myrow['pl']); $j++; if ($j == 12){ Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/SelectProduct.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -36,7 +36,7 @@ ORDER BY categorydescription"; $result1 = DB_query($SQL, $db); if (DB_num_rows($result1) == 0) { - echo '<p><font size=4 color=red>' . _('Problem Report') . ':</font><br />' . _('There are no stock categories currently defined please use the link below to set them up').'</p>'; + echo '<p><font size="4" color="red">' . _('Problem Report') . ':</font><br />' . _('There are no stock categories currently defined please use the link below to set them up').'</p>'; echo '<br /><a href="' . $rootpath . '/StockCategories.php">' . _('Define Stock Categories') . '</a>'; exit; } @@ -75,9 +75,13 @@ } else { $ItemStatus = ''; } - echo '<table width="90%"><tr><th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b>' . ' ' . $StockID . ' - ' . $myrow['description'] . ' ' . $ItemStatus . '</b></th></tr>'; + echo '<table width="90%"> + <tr> + <th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b>' . ' ' . $StockID . ' - ' . $myrow['description'] . ' ' . $ItemStatus . '</b></th> + </tr>'; - echo '<tr><td width="40%" valign="top"> + echo '<tr> + <td width="40%" valign="top"> <table align="left">'; //nested table echo '<tr><th class="number">' . _('Item Type:') . '</th> <td colspan="2" class="select">'; @@ -718,24 +722,24 @@ $ListPage++; } echo '</select> - <input type="submit" name="Go" value="' . _('Go') . '"> - <input type="submit" name="Previous" value="' . _('Previous') . '"> + <input type="submit" name="Go" value="' . _('Go') . '" /> + <input type="submit" name="Previous" value="' . _('Previous') . '" /> <input type="submit" name="Next" value="' . _('Next') . '">'; - echo '<input type="hidden" name=Keywords value="'.$_POST['Keywords'].'">'; - echo '<input type="hidden" name=StockCat value="'.$_POST['StockCat'].'">'; - echo '<input type="hidden" name=StockCode value="'.$_POST['StockCode'].'">'; + echo '<input type="hidden" name=Keywords value="'.$_POST['Keywords'].'" />'; + echo '<input type="hidden" name=StockCat value="'.$_POST['StockCat'].'" />'; + echo '<input type="hidden" name=StockCode value="'.$_POST['StockCode'].'" />'; // echo '<input type="hidden" name=Search value="Search">'; echo '<p></div>'; } - echo '<table cellpadding="2" colspan="7">'; - $tableheader = '<tr> - <th>' . _('Code') . '</th> - <th>' . _('Description') . '</th> - <th>' . _('Total Qty On Hand') . '</th> - <th>' . _('Units') . '</th> - <th>' . _('Stock Status') . '</th> - </tr>'; - echo $tableheader; + echo '<table class="selection">'; + $TableHeader = '<tr> + <th>' . _('Code') . '</th> + <th>' . _('Description') . '</th> + <th>' . _('Total Qty On Hand') . '</th> + <th>' . _('Units') . '</th> + <th>' . _('Stock Status') . '</th> + </tr>'; + echo $TableHeader; $j = 1; $k = 0; //row counter to determine background colour $RowIndex = 0; @@ -771,7 +775,7 @@ $j++; if ($j == 20 AND ($RowIndex + 1 != $_SESSION['DisplayRecordsMax'])) { $j = 1; - echo $tableheader; + echo $TableHeader; } $RowIndex = $RowIndex + 1; //end of page full new headings if This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-01-22 07:33:57
|
Revision: 4831 http://web-erp.svn.sourceforge.net/web-erp/?rev=4831&view=rev Author: daintree Date: 2012-01-22 07:33:48 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/CustomerTypes.php trunk/DeliveryDetails.php trunk/EmailCustTrans.php trunk/ExchangeRateTrend.php trunk/FixedAssetTransfer.php trunk/GLAccountReport.php trunk/GoodsReceived.php trunk/MRPReschedules.php trunk/MRPShortages.php trunk/PDFChequeListing.php trunk/PDFOrderStatus.php trunk/PDFPriceList.php trunk/PDFRemittanceAdvice.php trunk/PO_AuthorisationLevels.php trunk/PO_Header.php trunk/PO_PDFPurchOrder.php trunk/PcAuthorizeExpenses.php trunk/PcExpenses.php trunk/PcExpensesTypeTab.php trunk/PcReportTab.php trunk/PcTypeTabs.php trunk/SelectAsset.php trunk/SelectCreditItems.php trunk/SelectGLAccount.php trunk/SelectProduct.php Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/CustomerTypes.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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 @@ -256,12 +256,12 @@ $_POST['typename']=''; } echo '<tr><td>' . _('Type Name') . ':</td> - <td><input type="Text" name="typename" value="' . $_POST['typename'] . '"></td></tr>'; + <td><input type="Text" name="typename" value="' . $_POST['typename'] . '" /></td></tr>'; 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/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/DeliveryDetails.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -996,7 +996,7 @@ // The estimated Dispatch date or Delivery date for this order echo '<tr> <td>'. _('Estimated Delivery Date') .':</td> - <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size=15 maxlength=14 name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '"></td> + <td><input class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" size=15 maxlength=14 name="DeliveryDate" value="' . $_SESSION['Items'.$identifier]->DeliveryDate . '" /></td> </tr>'; // The date when a quote was issued to the customer echo '<tr> @@ -1034,14 +1034,14 @@ </tr> <tr> <td>'. _('Contact Phone Number') .':</td> - <td><input type="text" size=25 maxlength=25 name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '"></td> + <td><input type="text" size=25 maxlength=25 name="PhoneNo" value="' . $_SESSION['Items'.$identifier]->PhoneNo . '" /></td> </tr> <tr> - <td>' . _('Contact Email') . ':</td><td><input type="text" size=40 maxlength=38 name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '"></td> + <td>' . _('Contact Email') . ':</td><td><input type="text" size=40 maxlength=38 name="Email" value="' . $_SESSION['Items'.$identifier]->Email . '" /></td> </tr> <tr> <td>'. _('Customer Reference') .':</td> - <td><input type="text" size=25 maxlength=25 name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '"></td> + <td><input type="text" size=25 maxlength=25 name="CustRef" value="' . $_SESSION['Items'.$identifier]->CustRef . '" /></td> </tr> <tr> <td>'. _('Comments') .':</td> @@ -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> @@ -1122,13 +1122,13 @@ 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') . '">'; + echo '<br /><input type="submit" name="ProcessOrder" value="' . _('Commit Order Changes') . '" />'; } echo '</div></form>'; Modified: trunk/EmailCustTrans.php =================================================================== --- trunk/EmailCustTrans.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/EmailCustTrans.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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>'; @@ -61,10 +61,10 @@ } echo '<tr><td>' . _('Email') . ' ' . $_GET['InvOrCredit'] . ' ' . _('number') . ' ' . $_GET['FromTransNo'] . ' ' . _('to') . ':</td> - <td><input type="text" name="EmailAddr" maxlength=60 size=60 value="' . $EmailAddress . '"></td> + <td><input type="text" name="EmailAddr" maxlength=60 size=60 value="' . $EmailAddress . '" /></td> </table>'; -echo '<br /><div class="centre"><input type="submit" name="DoIt" value="' . _('OK') . '">'; +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 02:57:49 UTC (rev 4830) +++ trunk/ExchangeRateTrend.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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>'; // ************** @@ -59,9 +59,9 @@ $graph = $CurrencyToShow. '/' . $FunctionalCurrency . $graph; $image = 'http://www.x-rates.com/d/' . $graph; - echo '<p></div><table class=selection>'; - echo '<tr><th><div class="centre"><font size=4 color=BLUE><b><U>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></U></font></th></tr>'; - echo '<tr><td><img src=' . $image . ' alt="' ._('Trend Currently Unavailable') . '"></td></tr>'; + echo '<p></div><table class="selection">'; + echo '<tr><th><div class="centre"><b><U>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></U></th></tr>'; + echo '<tr><td><img src=' . $image . ' alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; echo '</table>'; Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/FixedAssetTransfer.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -51,25 +51,25 @@ if (isset($_POST['Keywords'])) { - echo '<input type="text" name="Keywords" value="' . trim($_POST['Keywords'],'%') . '" size=20 maxlength=25>'; + echo '<input type="text" name="Keywords" value="' . trim($_POST['Keywords'],'%') . '" size="20" maxlength="25" />'; } else { - echo '<input type="text" name="Keywords" size=20 maxlength=25>'; + echo '<input type="text" name="Keywords" size="20" maxlength="25" />'; } echo '</td></tr><tr><td></td>'; - echo '<td><font size 3><b>' . _('OR').' ' . '</b></font>' . _('Enter partial') .' <b>'. _('Asset Code') . '</b>:</td>'; + echo '<td><b>' . _('OR').' ' . '</b>' . _('Enter partial') .' <b>'. _('Asset Code') . '</b>:</td>'; echo '<td>'; if (isset($_POST['AssetID'])) { - echo '<input type="text" name="AssetID" value="'. trim($_POST['AssetID'],'%') . '" size=15 maxlength=18>'; + echo '<input type="text" name="AssetID" value="'. trim($_POST['AssetID'],'%') . '" size="15" maxlength="18" />'; } else { - echo '<input type="text" name="AssetID" size=15 maxlength=18>'; + echo '<input type="text" name="AssetID" size="15" maxlength="18" />'; } 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'])) { @@ -104,23 +104,26 @@ AND fixedassets.assetid " . LIKE . "'".$_POST['AssetID']."' AND fixedassets.serialno " . LIKE . "'".$_POST['SerialNumber']."'"; $Result=DB_query($sql, $db); - echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID .'" method=post><table class=selection>'; + echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post"> + <table class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<tr><th>'._('Asset ID') . '</th> + echo '<tr> + <th>'._('Asset ID') . '</th> <th>' . _('Description') . '</th> <th>' . _('Serial number') . '</th> <th>' . _('Purchase Cost') . '</th> <th>' . _('Total Depreciation') . '</th> <th>' . _('Current Location') . '</th> <th>' . _('Move To :') . '</th> - </tr>'; + </tr>'; $locationsql="SELECT locationid, locationdescription from fixedassetlocations"; $LocationResult=DB_query($locationsql, $db); while ($myrow=DB_fetch_array($Result)) { - echo '<tr><td>'.$myrow['assetid'].'</td> + echo '<tr> + <td>'.$myrow['assetid'].'</td> <td>'.$myrow['description'].'</td> <td>'.$myrow['serialno'].'</td> <td class="number">'.locale_number_format($myrow['cost'],$_SESSION['CompanyRecord']['decimalplaces']).'</td> @@ -137,11 +140,11 @@ } DB_data_seek($LocationResult,0); echo '</select></td>'; - echo '<input type="hidden" name="AssetCat" value="' . $_POST['AssetCat'].'"'; - echo '<input type="hidden" name="Keywords" value="' . $_POST['Keywords'].'"'; - echo '<input type="hidden" name="AssetID" value="' . $_POST['AssetID'].'"'; - echo '<input type="hidden" name="Search" value="' . $_POST['Search'].'"'; - echo '<td><input type="submit" name="Move'.$myrow['assetid'].'" value="Move"></td>'; + echo '<input type="hidden" name="AssetCat" value="' . $_POST['AssetCat'].'" />'; + echo '<input type="hidden" name="Keywords" value="' . $_POST['Keywords'].'" />'; + echo '<input type="hidden" name="AssetID" value="' . $_POST['AssetID'].'" />'; + echo '<input type="hidden" name="Search" value="' . $_POST['Search'].'" />'; + echo '<td><input type="submit" name="Move'.$myrow['assetid'].'" value="Move" /></td>'; echo '</tr>'; } echo '</table></form>'; Modified: trunk/GLAccountReport.php =================================================================== --- trunk/GLAccountReport.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/GLAccountReport.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -283,10 +283,12 @@ echo '</select></td></tr>'; // End select tag - echo '</table><p> + echo '</table> + <br /> <div class="centre"> - <input type="submit" name="RunReport" value="' ._('Run Report'). '"></div> - </form>'; + <input type="submit" name="RunReport" value="' ._('Run Report'). '" /> + </div> + </form>'; include ('includes/footer.inc'); exit; Modified: trunk/GoodsReceived.php =================================================================== --- trunk/GoodsReceived.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/GoodsReceived.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -84,7 +84,7 @@ <tr> <td>'. _('Date Goods/Service Received'). ':</td> <td><input type="text" class="date" alt="'. $_SESSION['DefaultDateFormat'] .'" maxlength="10" size="10" onChange="return isDate(this, this.value, '."'". - $_SESSION['DefaultDateFormat']."'".')" name="DefaultReceivedDate" value="' . $_POST['DefaultReceivedDate'] . '"></td> + $_SESSION['DefaultDateFormat']."'".')" name="DefaultReceivedDate" value="' . $_POST['DefaultReceivedDate'] . '" /></td> </tr> </table> <br />'; @@ -246,20 +246,20 @@ if ($_SESSION['PO'.$identifier]->SomethingReceived()==0 AND isset($_POST['ProcessGoodsReceived'])){ /*Then dont bother proceeding cos nothing to do ! */ prnMsg(_('There is nothing to process') . '. ' . _('Please enter valid quantities greater than zero'),'warn'); - echo '<div class="centre"><input type="submit" name="Update" Value=' . _('Update') . '></div>'; + echo '<div class="centre"><input type="submit" name="Update" value="' . _('Update') . '" /></div>'; } elseif ($NegativesFound){ 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/MRPReschedules.php =================================================================== --- trunk/MRPReschedules.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/MRPReschedules.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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 02:57:49 UTC (rev 4830) +++ trunk/MRPShortages.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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/PDFChequeListing.php =================================================================== --- trunk/PDFChequeListing.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PDFChequeListing.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -39,7 +39,7 @@ <td><input type="text" name="FromDate" maxlength="10" size="10" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td> </tr>'; echo '<tr><td>' . _('Enter the date to which cheques are to be listed') . ':</td> - <td><input type="text" name="ToDate" maxlength="10" size="10" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '"></td> + <td><input type="text" name="ToDate" maxlength="10" size="10" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td> </tr>'; echo '<tr><td>' . _('Bank Account') . '</td><td>'; @@ -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/PDFOrderStatus.php =================================================================== --- trunk/PDFOrderStatus.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PDFOrderStatus.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -37,7 +37,7 @@ <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="FromDate" maxlength=10 size=10 value="' . Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,Date('m'),Date('d')-1,Date('y'))) . '" /></td> </tr>'; echo '<tr><td>' . _('Enter the date to which orders are to be listed') . ':</td><td>'; - echo '<input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="ToDate" maxlength=10 size=10 value="' . Date($_SESSION['DefaultDateFormat']) . '"></td></tr>'; + echo '<input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="ToDate" maxlength=10 size=10 value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td></tr>'; echo '<tr><td>' . _('Inventory Category') . '</td><td>'; $sql = "SELECT categorydescription, categoryid FROM stockcategory WHERE stocktype<>'D' AND stocktype<>'L'"; @@ -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 02:57:49 UTC (rev 4830) +++ trunk/PDFPriceList.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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 02:57:49 UTC (rev 4830) +++ trunk/PDFRemittanceAdvice.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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 02:57:49 UTC (rev 4830) +++ trunk/PO_AuthorisationLevels.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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"; @@ -224,28 +224,44 @@ echo '</select></td></tr>'; } -echo '<tr><td>'._('User can create orders').'</td>'; +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>'; +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>'; -echo '<td><input type=input name="AuthLevel" size=11 class="number" value="' . locale_number_format($AuthLevel,$CurrDecimalPlaces) . '"></td</tr>'; -echo '</table>'; +echo '<tr> + <td>'._('User can authorise orders up to :').'</td>'; +echo '<td><input type="text" name="AuthLevel" size="11" class="number" value="' . locale_number_format($AuthLevel,$CurrDecimalPlaces) . '" /></td> + </tr> + </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 02:57:49 UTC (rev 4830) +++ trunk/PO_Header.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -755,8 +755,7 @@ } echo '<tr><td>' . _('Initiated By') . ':</td> - <td><input type="hidden" name="Initiator" size="11" maxlength="10" value="' . - $_POST['Initiator'] . '" />' . $_POST['Initiator'] . '</td></tr>'; + <td><input type="hidden" name="Initiator" size="11" maxlength="10" value="' . $_POST['Initiator'] . '" />' . $_POST['Initiator'] . '</td></tr>'; echo '<tr><td>' . _('Requisition Ref') . ':</td> <td><input type="text" name="Requisition" size="16" maxlength="15" value="' . $_POST['Requisition'] . '" /></td></tr>'; @@ -782,7 +781,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>'; } @@ -798,7 +797,7 @@ $_SESSION['PO'.$identifier]->OrderNo . '&identifier=' . $identifier . '">'._('Receive this order').'</a></td></tr>'; } if ($_SESSION['PO'.$identifier]->Status==''){ //then its a new order - echo '<input type="hidden" name="Status" value="NewOrder">'; + echo '<input type="hidden" name="Status" value="NewOrder" />'; echo '<tr><td>' . _('New Purchase Order') . '</td></tr>'; } else { echo '<tr><td>' . _('Status') . ' : </td> @@ -845,7 +844,7 @@ </tr>'; echo '<input type="hidden" name="StatusCommentsComplete" value="' . htmlentities($_SESSION['PO'.$identifier]->StatusComments, ENT_QUOTES,'UTF-8') .'" />'; - echo '<tr><td><input type="submit" name="UpdateStatus" value="' . _('Status Update') .'"></td>'; + echo '<tr><td><input type="submit" name="UpdateStatus" value="' . _('Status Update') .'" /></td>'; } //end its not a new order echo '</tr></table></td>'; @@ -879,7 +878,7 @@ } echo '</select> - <input type="submit" name="LookupDeliveryAddress" value="' ._('Select') . '"></td> + <input type="submit" name="LookupDeliveryAddress" value="' ._('Select') . '" /></td> </tr>'; /* If this is the first time @@ -969,28 +968,28 @@ echo '<tr><td>' . _('Delivery Contact') . ':</td> - <td><input type="text" name="Contact" size="41" value="' . $_SESSION['PO'.$identifier]->Contact . '"></td> + <td><input type="text" name="Contact" size="41" value="' . $_SESSION['PO'.$identifier]->Contact . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 1 :</td> - <td><input type="text" name="DelAdd1" size="41" maxlength="40" value="' . $_POST['DelAdd1'] . '"></td> + <td><input type="text" name="DelAdd1" size="41" maxlength="40" value="' . $_POST['DelAdd1'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 2 :</td> - <td><input type="text" name="DelAdd2" size="41" maxlength="40" value="' . $_POST['DelAdd2'] . '"></td> + <td><input type="text" name="DelAdd2" size="41" maxlength="40" value="' . $_POST['DelAdd2'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 3 :</td> - <td><input type="text" name="DelAdd3" size="41" maxlength="40" value="' . $_POST['DelAdd3'] . '"></td> + <td><input type="text" name="DelAdd3" size="41" maxlength="40" value="' . $_POST['DelAdd3'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 4 :</td> - <td><input type="text" name="DelAdd4" size="21" maxlength="20" value="' . $_POST['DelAdd4'] . '"></td> + <td><input type="text" name="DelAdd4" size="21" maxlength="20" value="' . $_POST['DelAdd4'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 5 :</td> - <td><input type="text" name="DelAdd5" size="16" maxlength="15" value="' . $_POST['DelAdd5'] . '"></td> + <td><input type="text" name="DelAdd5" size="16" maxlength="15" value="' . $_POST['DelAdd5'] . '" /></td> </tr>'; echo '<tr><td>' . _('Address') . ' 6 :</td> - <td><input type="text" name="DelAdd6" size="16" maxlength=15 value="' . $_POST['DelAdd6'] . '"></td> + <td><input type="text" name="DelAdd6" size="16" maxlength=15 value="' . $_POST['DelAdd6'] . '" /></td> </tr>'; echo '<tr><td>' . _('Phone') . ':</td> - <td><input type="text" name="Tel" size="31" maxlength="30" value="' . $_SESSION['PO'.$identifier]->Tel . '"></td> + <td><input type="text" name="Tel" size="31" maxlength="30" value="' . $_SESSION['PO'.$identifier]->Tel . '" /></td> </tr>'; echo '<tr><td>' . _('Delivery By') . ':</td><td><select name="DeliveryBy">'; @@ -1098,7 +1097,7 @@ echo '<tr> <td>' . _('Delivery To') . ':</td> - <td><input type="text" name="Port" size="31" value="' . $_POST['Port'] . '"></td> + <td><input type="text" name="Port" size="31" value="' . $_POST['Port'] . '" /></td> </tr>'; if ($_SESSION['PO'.$identifier]->CurrCode != $_SESSION['CompanyRecord']['currencydefault']) { @@ -1127,7 +1126,7 @@ echo '</td></tr></table><br />'; /* end of main table */ echo '<div class="centre"> - <input type="submit" name="EnterLines" value="' . _('Enter Line Items') . '"> + <input type="submit" name="EnterLines" value="' . _('Enter Line Items') . '" /> </div>'; } /*end of if supplier selected */ Modified: trunk/PO_PDFPurchOrder.php =================================================================== --- trunk/PO_PDFPurchOrder.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PO_PDFPurchOrder.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PcAuthorizeExpenses.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -53,11 +53,11 @@ if(!isset ($Days)){ $Days=30; } - echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '">'; + echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; echo '<br /><table class=selection>'; echo '<tr><th colspan=7>' . _('Detail Of Movement For Last ') .': '; echo '<input type="text" class="number" name="Days" value="' . $Days . '" maxlength="3" size="4" />' . _('Days'); - echo '<input type="submit" name="Go" value="' . _('Go') . '"></tr></th>'; + echo '<input type="submit" name="Go" value="' . _('Go') . '" /></tr></th>'; echo '</form>'; $sql = "SELECT pcashdetails.counterindex, @@ -285,7 +285,7 @@ // Do the postings include ('includes/GLPostings.inc'); - echo'</table><br /><div class="centre"><input type="submit" name="Submit" value=' . _('Update') . '></div></form>'; + echo'</table><br /><div class="centre"><input type="submit" name="Submit" value="' . _('Update') . '" /></div></form>'; } else { /*The option to submit was not hit so display form */ @@ -319,8 +319,8 @@ echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"> - <input type="submit" name="Cancel" value="' . _('Cancel') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /></div>'; echo '</form>'; } /*end of else not submit */ Modified: trunk/PcExpenses.php =================================================================== --- trunk/PcExpenses.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PcExpenses.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -264,13 +264,14 @@ $_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> - <td>' . _('Code Of Expense') . ':</td> - <td>' . $_POST['CodeExpense'] . '</td></tr>'; + <td>' . _('Code Of Expense') . ':</td> + <td>' . $_POST['CodeExpense'] . '</td> + </tr>'; } else { @@ -278,8 +279,8 @@ echo '<table class="selection"> <tr> - <td>' . _('Code Of Expense') . ':</td> - <td><input type="text"' . (in_array('CodeExpense',$Errors) ? 'class="inputerror"' : '' ) .' name="CodeExpense"></td> + <td>' . _('Code Of Expense') . ':</td> + <td><input type="text"' . (in_array('CodeExpense',$Errors) ? 'class="inputerror"' : '' ) .' name="CodeExpense" /></td> </tr>'; } @@ -289,7 +290,7 @@ } echo '<tr> <td>' . _('Description') . ':</td> - <td><input type="text" ' . (in_array('Description',$Errors) ? 'class="inputerror"' : '' ) . ' name="Description" size=50 maxlength=49 value="' . $_POST['Description'] . '"></td> + <td><input type="text" ' . (in_array('Description',$Errors) ? 'class="inputerror"' : '' ) . ' name="Description" size="50" maxlength="49" value="' . $_POST['Description'] . '" /></td> </tr>'; echo '<tr> @@ -340,8 +341,11 @@ 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 '<br /> + <div class="centre"> + <input type="submit" name="submit" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /> + </div>'; echo '</form>'; Modified: trunk/PcExpensesTypeTab.php =================================================================== --- trunk/PcExpensesTypeTab.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PcExpensesTypeTab.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -136,8 +136,8 @@ echo '</table>'; // close table in first column echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"> - <input type="submit" name="Cancel" value="' . _('Cancel') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /></div>'; echo '</form>'; @@ -150,7 +150,7 @@ echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '">'; + echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '" />'; $sql = "SELECT pctabexpenses.codeexpense, pcexpenses.description @@ -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 02:57:49 UTC (rev 4830) +++ trunk/PcReportTab.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -20,7 +20,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Payment Entry') . '" alt="" />' . ' ' . $title . '</p>'; - echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (!isset($_POST['FromDate'])){ @@ -62,13 +62,13 @@ echo '</select></td></tr>'; echo'<tr><td>' . _('From Date :') . '</td><td>'; - echo '<input tabindex="2" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" name="FromDate" maxlength="10" size="11" value="' . $_POST['FromDate'] . '">'; + echo '<input tabindex="2" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" name="FromDate" maxlength="10" size="11" value="' . $_POST['FromDate'] . '" />'; echo '</td></tr>'; echo '<tr><td>' . _('To Date:') .'</td><td>'; - echo '<input tabindex="3" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" name="ToDate" maxlength="10" size="11" value="' . $_POST['ToDate'] . '">'; + echo '<input tabindex="3" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" type="text" name="ToDate" maxlength="10" size="11" value="' . $_POST['ToDate'] . '" />'; echo '</td></tr></table><br />'; - echo '<div class="centre"><input type="submit" Name="ShowTB" Value="' . _('Show HTML') .'">'; - echo '<input type="submit" name="PrintPDF" value="' . _('PrintPDF') . '"></div>'; + echo '<div class="centre"><input type="submit" Name="ShowTB" Value="' . _('Show HTML') .'" />'; + echo '<input type="submit" name="PrintPDF" value="' . _('PrintPDF') . '" /></div>'; } else if (isset($_POST['PrintPDF'])) { @@ -235,8 +235,8 @@ 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'] . '">'; + echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" /> + <input type="hidden" name="ToDate" value="' . $_POST['ToDate'] . '" />'; $SqlTabs = "SELECT * FROM pctabs WHERE tabcode='".$SelectedTabs."'"; @@ -400,7 +400,7 @@ <td>'.locale_number_format($Amount[0],$_SESSION['CompanyRecord']['decimalplaces']).' </td><td>'.$Tabs['currency'].'</td></tr>'; echo '</table>'; - echo '<br /><div class="centre"><input type="submit" name="SelectDifferentDate" value="' . _('Select A Different Date') . '"></div>'; + echo '<br /><div class="centre"><input type="submit" name="SelectDifferentDate" value="' . _('Select A Different Date') . '" /></div>'; } echo '</form>'; include('includes/footer.inc'); Modified: trunk/PcTypeTabs.php =================================================================== --- trunk/PcTypeTabs.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/PcTypeTabs.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -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; @@ -206,12 +206,12 @@ $_POST['TypeTabCode'] = $myrow['typetabcode']; $_POST['TypeTabDescription'] = $myrow['typetabdescription']; - echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '">'; - echo '<input type="hidden" name="TypeTabCode" value="' . $_POST['TypeTabCode']. '">'; - echo '<table class=selection> + echo '<input type="hidden" name="SelectedTab" value="' . $SelectedTab . '" />'; + echo '<input type="hidden" name="TypeTabCode" value="' . $_POST['TypeTabCode']. '" />'; + echo '<table class="selection"> <tr><td>' . _('Code Of Type Of Tab') . ':</td> - <td>' . $_POST['TypeTabCode'] . '</td>< - /tr>'; + <td>' . $_POST['TypeTabCode'] . '</td> + </tr>'; // We dont allow the user to change an existing type code @@ -221,22 +221,33 @@ // This is a new type so the user may volunteer a type code - echo '<table class="selection"><tr><td>' . _('Code Of Type Of Tab') . ':</td><td><input type="text" - ' . (in_array('TypeTabCode',$Errors) ? 'class="inputerror"' : '' ) .' name="TypeTabCode"></td></tr>'; + echo '<table class="selection"> + <tr> + <td>' . _('Code Of Type Of Tab') . ':</td> + <td><input type="text" ' . (in_array('TypeTabCode',$Errors) ? 'class="inputerror"' : '' ) .' name="TypeTabCode" /></td> + </tr>'; } if (!isset($_POST['TypeTabDescription'])) { $_POST['TypeTabDescription']=''; } - echo '<tr><td>' . _('Description Of Type of Tab') . ':</td><td><input type="text" name="TypeTabDescription" size="50" maxlength="49" value="' . $_POST['TypeTabDescription'] . '"></td></tr>'; + echo '<tr> + <td>' . _('Description Of Type of Tab') . ':</td> + <td><input type="text" name="TypeTabDescription" size="50" maxlength="49" value="' . $_POST['TypeTabDescription'] . '" /></td> + </tr>'; - echo '</td></tr></table>'; // close main table + 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 '<br /> + <div class="centre"> + <input type="submit" name="submit" value="' . _('Accept') . '" /> + <input type="submit" name="Cancel" value="' . _('Cancel') . '" /> + </div> + </form>'; - echo '</form>'; - } // end if user wish to delete include('includes/footer.inc'); Modified: trunk/SelectAsset.php =================================================================== --- trunk/SelectAsset.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/SelectAsset.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -67,11 +67,16 @@ echo '<td>' . _('Enter partial description') . '</b>:</td><td>'; if (isset($_POST['Keywords'])) { - echo '<input type="text" name="Keywords" value="' . $_POST['Keywords'] . '" size=20 maxlength=25>'; + echo '<input type="text" name="Keywords" value="' . $_POST['Keywords'] . '" size="20" maxlength="25" />'; } else { - echo '<input type="text" name="Keywords" size=20 maxlength=25>'; + echo '<input type="text" name="Keywords" size="20" maxlength="25"> /'; } -echo '</td></tr><tr><td>' . _('Asset Location') . ':</td><td><select name="AssetLocation">'; +echo '</td> + </tr> + <tr> + <td>' . _('Asset Location') . ':</td> + <td><select name="AssetLocation">'; + if (!isset($_POST['AssetLocation'])) { $_POST['AssetLocation'] = 'ALL'; } @@ -80,7 +85,7 @@ } else { echo '<option value="ALL">' . _('Any asset location') . '</option>'; } -$result = DB_query('SELECT locationid, locationdescription FROM fixedassetlocations',$db); +$result = DB_query("SELECT locationid, locationdescription FROM fixedassetlocations",$db); while ($myrow = DB_fetch_array($result)) { if ($myrow['locationid'] == $_POST['AssetLocation']) { @@ -94,14 +99,18 @@ echo ' </td><td><b>' . _('OR') . ' ' . '</b>' . _('Enter partial asset code') . '</b>:</td>'; echo '<td>'; if (isset($_POST['AssetCode'])) { - echo '<input type="text" class="number" name="AssetCode" value="' . $_POST['AssetCode'] . '" size=15 maxlength=13>'; + echo '<input type="text" class="number" name="AssetCode" value="' . $_POST['AssetCode'] . '" size="15" maxlength="13" />'; } else { - echo '<input type="text" name="AssetCode" size=15 maxlength=13>'; + echo '<input type="text" name="AssetCode" size="15" maxlength="13" />'; } echo '</td></tr></table><br />'; -echo '<div class="centre"><input type="submit" name="Search" value="' . _('Search Now') . '"></div><br /></form>'; +echo '<div class="centre"> + <input type="submit" name="Search" value="' . _('Search Now') . '" /> + </div> + <br /> + </form>'; echo '<script type="text/javascript">defaultControl(document.forms[0].Keywords);</script>'; -echo '</form>'; + // query for list of record(s) if(isset($_POST['Go']) OR isset($_POST['Next']) OR isset($_POST['Previous'])) { $_POST['Search']='Search'; @@ -231,13 +240,13 @@ $ListPage++; } echo '</select> - <input type="submit" name="Go" value="' . _('Go') . '"> - <input type="submit" name="Previous" value="' . _('Previous') . '"> - <input type="submit" name="Next" value="' . _('Next') . '">'; + <input type="submit" name="Go" value="' . _('Go') . '" /> + <input type="submit" name="Previous" value="' . _('Previous') . '" /> + <input type="submit" name="Next" value="' . _('Next') . '" />'; echo '<p></div>'; } - echo '<table cellpadding=2 colspan=7 class=selection>'; + echo '<table class="selection">'; $tableheader = '<tr> <th>' . _('Asset Code') . '</th> <th>' . _('Description') . '</th> @@ -259,7 +268,7 @@ echo '<tr class="OddTableRows">'; $k++; } - echo '<td><input type="submit" name="Select" value="' . $myrow['assetid'] .'"></td> + echo '<td><input type="submit" name="Select" value="' . $myrow['assetid'] .'" /></td> <td>' . $myrow['description'] . '</td> <td>' . $myrow['locationdescription'] . '</td> <td>' . ConvertSQLDate($myrow['datepurchased']) . '</td> Modified: trunk/SelectCreditItems.php =================================================================== --- trunk/SelectCreditItems.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/SelectCreditItems.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -261,8 +261,8 @@ } else { echo '<td></td>'; } - echo '<td><input tabindex='.($j+5).' type="submit" name="SubmitCustomerSelection' . $j .'" value="' . htmlentities($myrow['brname'], ENT_QUOTES,'UTF-8'). '"></td> - <input type="hidden" name="SelectedCustomer' . $j .'" value="'.$myrow['debtorno'].'"> + echo '<td><input tabindex='.($j+5).' type="submit" name="SubmitCustomerSelection' . $j .'" value="' . htmlentities($myrow['brname'], ENT_QUOTES,'UTF-8'). '" /></td> + <input type="hidden" name="SelectedCustomer' . $j .'" value="'.$myrow['debtorno'].'" /> <input type="hidden" name="SelectedBranch' . $j .'" value="'. $myrow['branchcode'].'" /> <td>'.$myrow['contactname'].'</td> <td>'.$myrow['phoneno'].'</td> @@ -709,16 +709,16 @@ <td>' . $LineItem->ItemDescription . '</td>'; if ($LineItem->Controlled==0){ - echo '<td><input type="text" class="number" name="Quantity_' . $LineItem->LineNumber . '" maxlength="6" size="6" value=' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '></td>'; + echo '<td><input type="text" class="number" name="Quantity_' . $LineItem->LineNumber . '" maxlength="6" size="6" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>'; } else { echo '<td class="number"><a href="' . $rootpath . '/CreditItemsControlled.php?LineNo=' . $LineItem->LineNumber . '">' . locale_number_format($LineItem->Quantity,$LineItem->DecimalPlaces) . '</a> - <input type="hidden" name="Quantity_' . $LineItem->LineNumber . '" value=' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '></td>'; + <input type="hidden" name="Quantity_' . $LineItem->LineNumber . '" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>'; } echo '<td>' . $LineItem->Units . '</td> - <td><input type="text" class="number" name="Price_' . $LineItem->LineNumber . '" size=10 maxlength=12 value=' . locale_number_format($LineItem->Price,$_SESSION['CreditItems'.$identifier]->CurrDecimalPlaces) . '></td> - <td><input type="CheckBox" name="Gross" value=False></td> - <td><input type="text" class="number" name="Discount_' . $LineItem->LineNumber . '" size=3 maxlength=3 value=' . locale_number_format(($LineItem->DiscountPercent * 100),'Variable') . '>%</td> + <td><input type="text" class="number" name="Price_' . $LineItem->LineNumber . '" size="10" maxlength="12" value="' . locale_number_format($LineItem->Price,$_SESSION['CreditItems'.$identifier]->CurrDecimalPlaces) . '" /></td> + <td><input type="CheckBox" name="Gross" value=False /></td> + <td><input type="text" class="number" name="Discount_' . $LineItem->LineNumber . '" size="3" maxlength="3" value="' . locale_number_format(($LineItem->DiscountPercent * 100),'Variable') . '" />%</td> <td class="number">' . $DisplayLineTotal . '</td>'; @@ -742,7 +742,7 @@ if ($i>0){ echo '<br />'; } - echo '<input type="text" class="number" name="' . $LineItem->LineNumber . $Tax->TaxCalculationOrder . '_TaxRate" maxlength=4 size="4" value="' . locale_number_format($Tax->TaxRate*100,'Variable') . '">'; + echo '<input type="text" class="number" name="' . $LineItem->LineNumber . $Tax->TaxCalculationOrder . '_TaxRate" maxlength=4 size="4" value="' . locale_number_format($Tax->TaxRate*100,'Variable') . '" />'; $i++; if ($Tax->TaxOnTax ==1){ $TaxTotals[$Tax->TaxAuthID] += ($Tax->TaxRate * ($LineTotal + $TaxLineTotal)); @@ -782,7 +782,7 @@ <td colspan="5"></td>'; echo '<td colspan="2" class="number">'. _('Credit Freight').'</td> - <td><input type="text" class="number" size=6 maxlength=6 name="ChargeFreightCost" value="' . locale_number_format($_SESSION['CreditItems'.$identifier]->FreightCost,$_SESSION['CreditItems'.$identifier]->CurrDecimalPlaces) . '" /></td>'; + <td><input type="text" class="number" size="6" maxlength="6" name="ChargeFreightCost" value="' . locale_number_format($_SESSION['CreditItems'.$identifier]->FreightCost,$_SESSION['CreditItems'.$identifier]->CurrDecimalPlaces) . '" /></td>'; $FreightTaxTotal =0; //initialise tax total @@ -977,8 +977,8 @@ <div class="centre">'; echo '<input type="submit" name="Search" value="' . _('Search Now') .'" /> - <input type="submit" Name="ChangeCustomer" value="' . _('Change Customer') . '" /> - <input type="submit" Name="Quick" value="' . _('Quick Entry') . '" /> + <input type="submit" name="ChangeCustomer" value="' . _('Change Customer') . '" /> + <input type="submit" name="Quick" value="' . _('Quick Entry') . '" /> </div>'; if (isset($SearchResult)) { @@ -1003,7 +1003,7 @@ $k++; } if(file_exists($_SESSION['part_pics_dir'] . '/' .mb_strtoupper($myrow['stockid']).'.jpg') ) { - printf('<td><font size=1><input type="submit" name="NewItem" value="%s"></font></td> + printf('<td><font size=1><input type="submit" name="NewItem" value="%s" /></font></td> <td><font size=1>%s</font></td> <td><font size=1>%s</font></td> <td><img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC&StockID=%s&text=&width=120&height=120"></td></tr>', @@ -1012,7 +1012,7 @@ $myrow['units'], $myrow['stockid']); } else { //don't try to show the image - printf('<td><font size=1><input type="submit" name="NewItem" value="%s"></font></td> + printf('<td><font size=1><input type="submit" name="NewItem" value="%s" /></font></td> <td><font size=1>%s</font></td> <td><font size=1>%s</font></td> <td>' . _('No Image') . '</td></tr>', @@ -1046,8 +1046,8 @@ echo '</table> <br /> <div class="centre"> - <input type="submit" name="QuickEntry" value="' . _('Process Entries') . '"> - <input type="submit" name="PartSearch" value="' . _('Search Parts') . '"> + <input type="submit" name="QuickEntry" value="' . _('Process Entries') . '" /> + <input type="submit" name="PartSearch" value="' . _('Search Parts') . '" /> </div>'; } Modified: trunk/SelectGLAccount.php =================================================================== --- trunk/SelectGLAccount.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/SelectGLAccount.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -20,9 +20,13 @@ $AccountID = $_POST['Select']; $_POST['Select'] = NULL; - echo '<br /><div class="centre"><a href="' . $rootpath . '/GLAccounts.php?' . SID . '&SelectedAccount=' . $AccountID . '">' . _('Edit Account') . '</a>'; - echo '<br /><a href="' . $rootpath . '/GLAccountInquiry.php?' . SID . '&Account=' . $AccountID . '">' . _('Account Inquiry') . '</a>'; - echo '<br /><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID . '">' . _('New Search') . '</a></div>'; + echo '<br /> + <div class="centre"> + <a href="' . $rootpath . '/GLAccounts.php?SelectedAccount=' . $AccountID . '">' . _('Edit Account') . '</a>'; + echo '<br /> + <a href="' . $rootpath . '/GLAccountInquiry.php?Account=' . $AccountID . '">' . _('Account Inquiry') . '</a>'; + echo '<br /> + <a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('New Search') . '</a></div>'; } elseif (isset($_POST['Search'])){ @@ -76,34 +80,40 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . _('Search for General Ledger Accounts') . '</p>'; - echo "<br /><form action='" . htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID . "' method=post>"; + echo '<br /> + <form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if(mb_strlen($msg)>1){ prnMsg($msg,'info'); } - echo '<table cellpadding=3 colspan=4 class=selection> + echo '<table class="selection"> <tr> - <td><font size=1>' . _('Enter extract of text in the Account name') .":</font></td> - <td><input type='Text' name='Keywords' size=20 maxlength=25></td> - <td><font size=3><b>" . _('OR') . "</b></font></td> - <td><font size=1>" . _('Enter Account No. to search from') . ":</font></td> - <td><input type='Text' name='GLCode' size=15 maxlength=18 class=number ></td> + <td><font size=1>' . _('Enter extract of text in the Account name') .':</font></td> + <td><input type="text" name="Keywords" size="20" maxlength="25" /></td> + <td><font size="3"><b>' . _('OR') . '</b></font></td> + <td><font size="1">' . _('Enter Account No. to search from') . ':</font></td> + <td><input type="text" name="GLCode" size="15" maxlength="18" class="number" /></td> </tr> - </table><br />"; + </table> + <br />'; - echo '<div class="centre"><input type="submit" name="Search" value=' . _('Search Now') . '"> - <input type="submit" action=reset value="' . _('Reset') .'"></div>'; + echo '<div class="centre"> + <input type="submit" name="Search" value=' . _('Search Now') . '" /> + <input type="submit" action=reset value="' . _('Reset') .'" /> + </div>'; if (isset($result) and DB_num_rows($result)>0) { - echo '<br /><table cellpadding=2 colspan=7 class=selection>'; + echo '<br /><table class="selection">'; - $TableHeader = '<tr><th>' . _('Code') . '</th> - <th>' . _('Account Name') . '</th> - <th>' . _('Group') . '</th> - <th>' . _('Account Type') . '</th></tr>'; + $TableHeader = '<tr> + <th>' . _('Code') . '</th> + <th>' . _('Account Name') . '</th> + <th>' . _('Group') . '</th> + <th>' . _('Account Type') . '</th> + </tr>'; echo $TableHeader; @@ -111,15 +121,16 @@ while ($myrow=DB_fetch_array($result)) { - printf('<tr><td><font size=1><input type="submit" name="Select" value="%s" /></font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - </tr>', - $myrow['accountcode'], - $myrow['accountname'], - $myrow['group_'], - $myrow['pl']); + printf('<tr> + <td><font size=1><input type="submit" name="Select" value="%s" /></font></td> + <td><font size=1>%s</font></td> + <td><font size=1>%s</font></td> + <td><font size=1>%s</font></td> + </tr>', + $myrow['accountcode'], + $myrow['accountname'], + $myrow['group_'], + $myrow['pl']); $j++; if ($j == 12){ Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-01-22 02:57:49 UTC (rev 4830) +++ trunk/SelectProduct.php 2012-01-22 07:33:48 UTC (rev 4831) @@ -36,7 +36,7 @@ ORDER BY categorydescription"; $result1 = DB_query($SQL, $db); if (DB_num_rows($result1) == 0) { - echo '<p><font size=4 color=red>' . _('Problem Report') . ':</font><br />' . _('There are no stock categories currently defined please use the link below to set them up').'</p>'; + echo '<p><font size="4" color="red">' . _('Problem Report') . ':</font><br />' . _('There are no stock categories currently defined please use the link below to set them up').'</p>'; echo '<br /><a href="' . $rootpath . '/StockCategories.php">' . _('Define Stock Categories') . '</a>'; exit; } @@ -75,9 +75,13 @@ } else { $ItemStatus = ''; } - echo '<table width="90%"><tr><th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b>' . ' ' . $StockID . ' - ' . $myrow['description'] . ' ' . $ItemStatus . '</b></th></tr>'; + echo '<table width="90%"> + <tr> + <th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b>' . ' ' . $StockID . ' - ' . $myrow['description'] . ' ' . $ItemStatus . '</b></th> + </tr>'; - echo '<tr><td width="40%" valign="top"> + echo '<tr> + <td width="40%" valign="top"> <table align="left">'; //nested table echo '<tr><th class="number">' . _('Item Type:') . '</th> <td colspan="2" class="select">'; @@ -718,24 +722,24 @@ $ListPage++; } echo '</select> - <input type="submit" name="Go" value="' . _('Go') . '"> - <input type="submit" name="Previous" value="' . _('Previous') . '"> + <input type="submit" name="Go" value="' . _('Go') . '" /> + <input type="submit" name="Previous" value="' . _('Previous') . '" /> <input type="submit" name="Next" value="' . _('Next') . '">'; - echo '<input type="hidden" name=Keywords value="'.$_POST['Keywords'].'">'; - echo '<input type="hidden" name=StockCat value="'.$_POST['StockCat'].'">'; - echo '<input type="hidden" name=StockCode value="'.$_POST['StockCode'].'">'; + echo '<input type="hidden" name=Keywords value="'.$_POST['Keywords'].'" />'; + echo '<input type="hidden" name=StockCat value="'.$_POST['StockCat'].'" />'; + echo '<input type="hidden" name=StockCode value="'.$_POST['StockCode'].'" />'; // echo '<input type="hidden" name=Search value="Search">'; echo '<p></div>'; } - echo '<table cellpadding="2" colspan="7">'; - $tableheader = '<tr> - <th>' . _('Code') . '</th> - <th>' . _('Description') . '</th> - <th>' . _('Total Qty On Hand') . '</th> - <th>' . _('Units') . '</th> - <th>' . _('Stock Status') . '</th> - </tr>'; - echo $tableheader; + echo '<table class="selection">'; + $TableHeader = '<tr> + <th>' . _('Code') . '</th> + <th>' . _('Description') . '</th> + <th>' . _('Total Qty On Hand') . '</th> + <th>' . _('Units') . '</th> + <th>' . _('Stock Status') . '</th> + </tr>'; + echo $TableHeader; $j = 1; $k = 0; //row counter to determine background colour $RowIndex = 0; @@ -771,7 +775,7 @@ $j++; if ($j == 20 AND ($RowIndex + 1 != $_SESSION['DisplayRecordsMax'])) { $j = 1; - echo $tableheader; + echo $TableHeader; } $RowIndex = $RowIndex + 1; //end of page full new headings if This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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] |
From: <vv...@us...> - 2012-01-22 02:58:00
|
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] |
From: <dai...@us...> - 2012-01-22 00:19:45
|
Revision: 4829 http://web-erp.svn.sourceforge.net/web-erp/?rev=4829&view=rev Author: daintree Date: 2012-01-22 00:19:38 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/GLAccountInquiry.php trunk/Z_poEditLangModule.php Modified: trunk/GLAccountInquiry.php =================================================================== --- trunk/GLAccountInquiry.php 2012-01-21 22:05:14 UTC (rev 4828) +++ trunk/GLAccountInquiry.php 2012-01-22 00:19:38 UTC (rev 4829) @@ -180,13 +180,13 @@ echo '<tr bgcolor="#FDFEEF"> <td colspan="3"><b>' . _('Brought Forward Balance') . '</b><td> </td></td> - <td class="number"><b>' . locale_number_format(-$RunningTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format(-$RunningTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td></td> </tr>'; } else { //its a debit balance b/fwd echo '<tr bgcolor="#FDFEEF"> <td colspan="3"><b>' . _('Brought Forward Balance') . '</b></td> - <td class="number"><b>' . locale_number_format($RunningTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format($RunningTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td colspan="2"></td> </tr>'; } @@ -220,18 +220,18 @@ $RunningTotal = 0; } echo '<td></td> - <td class="number"><b>' . locale_number_format(-$PeriodTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format(-$PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td></td> </tr>'; } else { //its a debit balance b/fwd if ($PandLAccount==True) { $RunningTotal = 0; } - echo '<td class="number"><b>' . locale_number_format($PeriodTotal,2) . '</b></td> + echo '<td class="number"><b>' . locale_number_format($PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td colspan="2"></td> </tr>'; } - $IntegrityReport .= '<br />' . _('Period') . ': ' . $PeriodNo . _('Account movement per transaction') . ': ' . locale_number_format($PeriodTotal,2) . ' ' . _('Movement per ChartDetails record') . ': ' . locale_number_format($ChartDetailRow['actual'],2) . ' ' . _('Period difference') . ': ' . locale_number_format($PeriodTotal -$ChartDetailRow['actual'],3); + $IntegrityReport .= '<br />' . _('Period') . ': ' . $PeriodNo . _('Account movement per transaction') . ': ' . locale_number_format($PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']) . ' ' . _('Movement per ChartDetails record') . ': ' . locale_number_format($ChartDetailRow['actual'],$_SESSION['CompanyRecord']['decimalplaces']) . ' ' . _('Period difference') . ': ' . locale_number_format($PeriodTotal -$ChartDetailRow['actual'],3); if (ABS($PeriodTotal -$ChartDetailRow['actual'])>0.01){ $ShowIntegrityReport = True; @@ -253,10 +253,10 @@ $PeriodTotal += $myrow['amount']; if($myrow['amount']>=0){ - $DebitAmount = locale_number_format($myrow['amount'],2); + $DebitAmount = locale_number_format($myrow['amount'],$_SESSION['CompanyRecord']['decimalplaces']); $CreditAmount = ''; } else { - $CreditAmount = locale_number_format(-$myrow['amount'],2); + $CreditAmount = locale_number_format(-$myrow['amount'],$_SESSION['CompanyRecord']['decimalplaces']); $DebitAmount = ''; } @@ -285,7 +285,7 @@ $DebitAmount, $CreditAmount, $myrow['narrative'], - locale_number_format($RunningTotal,2), + locale_number_format($RunningTotal,$_SESSION['CompanyRecord']['decimalplaces']), $tagrow['tagdescription']); } @@ -299,9 +299,9 @@ echo '</b></td>'; if ($RunningTotal >0){ - echo '<td class="number"><b>' . locale_number_format(($RunningTotal),2) . '</b></td><td colspan="2"></td></tr>'; + echo '<td class="number"><b>' . locale_number_format(($RunningTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td><td colspan="2"></td></tr>'; }else { - echo '<td></td><td class="number"><b>' . locale_number_format((-$RunningTotal),2) . '</b></td><td colspan="2"></td></tr>'; + echo '<td></td><td class="number"><b>' . locale_number_format((-$RunningTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td><td colspan="2"></td></tr>'; } echo '</table>'; } /* end of if Show button hit */ Modified: trunk/Z_poEditLangModule.php =================================================================== --- trunk/Z_poEditLangModule.php 2012-01-21 22:05:14 UTC (rev 4828) +++ trunk/Z_poEditLangModule.php 2012-01-22 00:19:38 UTC (rev 4829) @@ -20,7 +20,7 @@ $PathToLanguage = './locale/' . $_SESSION['Language'] . '/LC_MESSAGES/messages.po'; $PathToNewLanguage = './locale/' . $_SESSION['Language'] . '/LC_MESSAGES/messages.po.new'; -echo "<br /> <a href='" . $rootpath . "/Z_poAdmin.php'>" . _('Back to the translation menu') . "</a>"; +echo '<br /> <a href="' . $rootpath . '/Z_poAdmin.php">' . _('Back to the translation menu') . '</a>'; echo '<br /><br /> ' . _('Utility to edit a language file module'); echo '<br /> ' . _('Current language is') . ' ' . $_SESSION['Language']; echo '<br /><br /> ' . _('To change language click on the user name at the top left, change to language desired and click Modify'); @@ -130,12 +130,12 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '</div'; echo '<table>'; - echo '<tr><th ALIGN="center">' . _('Language File for') . ' "' . $_POST['language'] . '"</th></tr>'; - echo '<tr><td ALIGN="center">' . _('Module') . ' "' . $_POST['module'] . '"</td></tr>'; + echo '<tr><th align="center">' . _('Language File for') . ' "' . $_POST['language'] . '"</th></tr>'; + echo '<tr><td align="center">' . _('Module') . ' "' . $_POST['module'] . '"</td></tr>'; echo '<tr><td></td></tr>'; echo '<tr><td>'; - echo '<table WIDTH="100%">'; + echo '<table width="100%">'; echo '<tr>'; echo '<th>' . _('Default text') . '</th>'; echo '<th>' . _('Translation') . '</th>'; @@ -151,9 +151,9 @@ } else { echo '<tr>'; - echo '<td VALIGN="top"><I>' . $DefaultText[$i] . '</I></td>'; - echo '<td VALIGN="top"><input type="text" size="60" name="moduletext_' . $msgstr[$i] . '" VALUE="' . $ModuleText[$i] . '" /></td>'; - echo '<td VALIGN="top">' . $AlsoIn[$i] . '<input type="hidden" name="msgstr_' . $msgstr[$i] . '" VALUE="' . $msgstr[$i] . '" /></td>'; + echo '<td valign="top"><i>' . $DefaultText[$i] . '</i></td>'; + echo '<td valign="top"><input type="text" size="60" name="moduletext_' . $msgstr[$i] . '" value="' . $ModuleText[$i] . '" /></td>'; + echo '<td valign="top">' . $AlsoIn[$i] . '<input type="hidden" name="msgstr_' . $msgstr[$i] . '" value="' . $msgstr[$i] . '" /></td>'; echo '</tr>'; echo '<tr><th colspan="3"></th></tr>'; } @@ -165,8 +165,8 @@ echo '</td></tr>'; echo '</table>'; echo '<br /><div class="centre">'; - echo '<input type="submit" name="submit" VALUE="' . _('Modify') . '" /> '; - echo '<input type="hidden" name="module" VALUE="' . $_POST['module'] . '" />'; + echo '<input type="submit" name="submit" value="' . _('Modify') . '" /> '; + echo '<input type="hidden" name="module" value="' . $_POST['module'] . '" />'; echo '</form>'; echo '</div>'; @@ -213,8 +213,11 @@ } else { - echo '<br /><table><tr><td>'; - echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID . '>'; + echo '<br /> + <table> + <tr> + <td>'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" >'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table>'; @@ -228,11 +231,13 @@ echo '</tr></table>'; echo '<br />'; - echo '<div class="centre">'; - echo '<input type="submit" name="proceed" VALUE="' . _('Proceed') . '" /> '; - echo '<br /><br /><input type="submit" name="ReMergePO" VALUE="' . _('Refresh messages with latest strings') . '">'; - echo '</div>'; - echo '</form>'; + echo '<div class="centre"> + <input type="submit" name="proceed" value="' . _('Proceed') . '" /> + <br /> + <br /> + <input type="submit" name="ReMergePO" value="' . _('Refresh messages with latest strings') . '" /> + </div> + </form>'; echo '</td></tr></table>'; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-01-22 00:19:45
|
Revision: 4829 http://web-erp.svn.sourceforge.net/web-erp/?rev=4829&view=rev Author: daintree Date: 2012-01-22 00:19:38 +0000 (Sun, 22 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/GLAccountInquiry.php trunk/Z_poEditLangModule.php Modified: trunk/GLAccountInquiry.php =================================================================== --- trunk/GLAccountInquiry.php 2012-01-21 22:05:14 UTC (rev 4828) +++ trunk/GLAccountInquiry.php 2012-01-22 00:19:38 UTC (rev 4829) @@ -180,13 +180,13 @@ echo '<tr bgcolor="#FDFEEF"> <td colspan="3"><b>' . _('Brought Forward Balance') . '</b><td> </td></td> - <td class="number"><b>' . locale_number_format(-$RunningTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format(-$RunningTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td></td> </tr>'; } else { //its a debit balance b/fwd echo '<tr bgcolor="#FDFEEF"> <td colspan="3"><b>' . _('Brought Forward Balance') . '</b></td> - <td class="number"><b>' . locale_number_format($RunningTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format($RunningTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td colspan="2"></td> </tr>'; } @@ -220,18 +220,18 @@ $RunningTotal = 0; } echo '<td></td> - <td class="number"><b>' . locale_number_format(-$PeriodTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format(-$PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td></td> </tr>'; } else { //its a debit balance b/fwd if ($PandLAccount==True) { $RunningTotal = 0; } - echo '<td class="number"><b>' . locale_number_format($PeriodTotal,2) . '</b></td> + echo '<td class="number"><b>' . locale_number_format($PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td colspan="2"></td> </tr>'; } - $IntegrityReport .= '<br />' . _('Period') . ': ' . $PeriodNo . _('Account movement per transaction') . ': ' . locale_number_format($PeriodTotal,2) . ' ' . _('Movement per ChartDetails record') . ': ' . locale_number_format($ChartDetailRow['actual'],2) . ' ' . _('Period difference') . ': ' . locale_number_format($PeriodTotal -$ChartDetailRow['actual'],3); + $IntegrityReport .= '<br />' . _('Period') . ': ' . $PeriodNo . _('Account movement per transaction') . ': ' . locale_number_format($PeriodTotal,$_SESSION['CompanyRecord']['decimalplaces']) . ' ' . _('Movement per ChartDetails record') . ': ' . locale_number_format($ChartDetailRow['actual'],$_SESSION['CompanyRecord']['decimalplaces']) . ' ' . _('Period difference') . ': ' . locale_number_format($PeriodTotal -$ChartDetailRow['actual'],3); if (ABS($PeriodTotal -$ChartDetailRow['actual'])>0.01){ $ShowIntegrityReport = True; @@ -253,10 +253,10 @@ $PeriodTotal += $myrow['amount']; if($myrow['amount']>=0){ - $DebitAmount = locale_number_format($myrow['amount'],2); + $DebitAmount = locale_number_format($myrow['amount'],$_SESSION['CompanyRecord']['decimalplaces']); $CreditAmount = ''; } else { - $CreditAmount = locale_number_format(-$myrow['amount'],2); + $CreditAmount = locale_number_format(-$myrow['amount'],$_SESSION['CompanyRecord']['decimalplaces']); $DebitAmount = ''; } @@ -285,7 +285,7 @@ $DebitAmount, $CreditAmount, $myrow['narrative'], - locale_number_format($RunningTotal,2), + locale_number_format($RunningTotal,$_SESSION['CompanyRecord']['decimalplaces']), $tagrow['tagdescription']); } @@ -299,9 +299,9 @@ echo '</b></td>'; if ($RunningTotal >0){ - echo '<td class="number"><b>' . locale_number_format(($RunningTotal),2) . '</b></td><td colspan="2"></td></tr>'; + echo '<td class="number"><b>' . locale_number_format(($RunningTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td><td colspan="2"></td></tr>'; }else { - echo '<td></td><td class="number"><b>' . locale_number_format((-$RunningTotal),2) . '</b></td><td colspan="2"></td></tr>'; + echo '<td></td><td class="number"><b>' . locale_number_format((-$RunningTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td><td colspan="2"></td></tr>'; } echo '</table>'; } /* end of if Show button hit */ Modified: trunk/Z_poEditLangModule.php =================================================================== --- trunk/Z_poEditLangModule.php 2012-01-21 22:05:14 UTC (rev 4828) +++ trunk/Z_poEditLangModule.php 2012-01-22 00:19:38 UTC (rev 4829) @@ -20,7 +20,7 @@ $PathToLanguage = './locale/' . $_SESSION['Language'] . '/LC_MESSAGES/messages.po'; $PathToNewLanguage = './locale/' . $_SESSION['Language'] . '/LC_MESSAGES/messages.po.new'; -echo "<br /> <a href='" . $rootpath . "/Z_poAdmin.php'>" . _('Back to the translation menu') . "</a>"; +echo '<br /> <a href="' . $rootpath . '/Z_poAdmin.php">' . _('Back to the translation menu') . '</a>'; echo '<br /><br /> ' . _('Utility to edit a language file module'); echo '<br /> ' . _('Current language is') . ' ' . $_SESSION['Language']; echo '<br /><br /> ' . _('To change language click on the user name at the top left, change to language desired and click Modify'); @@ -130,12 +130,12 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '</div'; echo '<table>'; - echo '<tr><th ALIGN="center">' . _('Language File for') . ' "' . $_POST['language'] . '"</th></tr>'; - echo '<tr><td ALIGN="center">' . _('Module') . ' "' . $_POST['module'] . '"</td></tr>'; + echo '<tr><th align="center">' . _('Language File for') . ' "' . $_POST['language'] . '"</th></tr>'; + echo '<tr><td align="center">' . _('Module') . ' "' . $_POST['module'] . '"</td></tr>'; echo '<tr><td></td></tr>'; echo '<tr><td>'; - echo '<table WIDTH="100%">'; + echo '<table width="100%">'; echo '<tr>'; echo '<th>' . _('Default text') . '</th>'; echo '<th>' . _('Translation') . '</th>'; @@ -151,9 +151,9 @@ } else { echo '<tr>'; - echo '<td VALIGN="top"><I>' . $DefaultText[$i] . '</I></td>'; - echo '<td VALIGN="top"><input type="text" size="60" name="moduletext_' . $msgstr[$i] . '" VALUE="' . $ModuleText[$i] . '" /></td>'; - echo '<td VALIGN="top">' . $AlsoIn[$i] . '<input type="hidden" name="msgstr_' . $msgstr[$i] . '" VALUE="' . $msgstr[$i] . '" /></td>'; + echo '<td valign="top"><i>' . $DefaultText[$i] . '</i></td>'; + echo '<td valign="top"><input type="text" size="60" name="moduletext_' . $msgstr[$i] . '" value="' . $ModuleText[$i] . '" /></td>'; + echo '<td valign="top">' . $AlsoIn[$i] . '<input type="hidden" name="msgstr_' . $msgstr[$i] . '" value="' . $msgstr[$i] . '" /></td>'; echo '</tr>'; echo '<tr><th colspan="3"></th></tr>'; } @@ -165,8 +165,8 @@ echo '</td></tr>'; echo '</table>'; echo '<br /><div class="centre">'; - echo '<input type="submit" name="submit" VALUE="' . _('Modify') . '" /> '; - echo '<input type="hidden" name="module" VALUE="' . $_POST['module'] . '" />'; + echo '<input type="submit" name="submit" value="' . _('Modify') . '" /> '; + echo '<input type="hidden" name="module" value="' . $_POST['module'] . '" />'; echo '</form>'; echo '</div>'; @@ -213,8 +213,11 @@ } else { - echo '<br /><table><tr><td>'; - echo '<form method="post" action=' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' . SID . '>'; + echo '<br /> + <table> + <tr> + <td>'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" >'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table>'; @@ -228,11 +231,13 @@ echo '</tr></table>'; echo '<br />'; - echo '<div class="centre">'; - echo '<input type="submit" name="proceed" VALUE="' . _('Proceed') . '" /> '; - echo '<br /><br /><input type="submit" name="ReMergePO" VALUE="' . _('Refresh messages with latest strings') . '">'; - echo '</div>'; - echo '</form>'; + echo '<div class="centre"> + <input type="submit" name="proceed" value="' . _('Proceed') . '" /> + <br /> + <br /> + <input type="submit" name="ReMergePO" value="' . _('Refresh messages with latest strings') . '" /> + </div> + </form>'; echo '</td></tr></table>'; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-01-21 22:05:21
|
Revision: 4828 http://web-erp.svn.sourceforge.net/web-erp/?rev=4828&view=rev Author: vvs2012 Date: 2012-01-21 22:05:14 +0000 (Sat, 21 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/AccountGroups.php trunk/CustomerReceipt.php trunk/PDFPriceList.php trunk/PricesBasedOnMarkUp.php trunk/SpecialOrder.php trunk/StockCategories.php trunk/StockSerialItemResearch.php trunk/Z_CreateCompanyTemplateFile.php trunk/Z_ImportGLAccountSections.php Modified: trunk/AccountGroups.php =================================================================== --- trunk/AccountGroups.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/AccountGroups.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -276,7 +276,7 @@ echo '<br /><form method="post" id="AccountGroups" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - + echo '<table class="selection"><tr><td>'; if (isset($_GET['SelectedAccountGroup'])) { //editing an existing account group @@ -304,7 +304,6 @@ $_POST['PandL'] = $myrow['pandl']; $_POST['ParentGroupName'] = $myrow['parentgroupname']; - echo '<table class="selection"><tr><td>'; echo '<input type="hidden" name="SelectedAccountGroup" value="' . $_GET['SelectedAccountGroup'] . '" />'; echo '<input type="hidden" name="GroupName" value="' . $_POST['GroupName'] . '" />'; @@ -330,7 +329,6 @@ $_POST['PandL']=''; } - echo '<br /><table class="selection"><tr><td>'; echo '<input type="hidden" name="SelectedAccountGroup" value="' . $_POST['SelectedAccountGroup'] . '" />'; echo _('Account Group Name') . ':' . '</td><td> <input tabindex="1" ' . (in_array('GroupName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="GroupName" size="50" maxlength="50" value="' . $_POST['GroupName'] . '" /></td></tr>'; Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/CustomerReceipt.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -544,8 +544,8 @@ echo '<br />'; prnMsg( _('Receipt batch') . ' ' . $_SESSION['ReceiptBatch']->BatchNo . ' ' . _('has been successfully entered into the database'),'success'); - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a href="' . $rootpath . '/PDFBankingSummary.php?BatchNo=' . $_SESSION['ReceiptBatch']->BatchNo . '">' . _('Print PDF Batch Summary') . '</a></p>'; - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/allocation.png" title="' . _('Allocate') . '" alt="">' . ' ' . '<a href="' . $rootpath . '/CustomerAllocations.php">' . _('Allocate Receipts') . '</a></p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a href="' . $rootpath . '/PDFBankingSummary.php?BatchNo=' . $_SESSION['ReceiptBatch']->BatchNo . '">' . _('Print PDF Batch Summary') . '</a></p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/allocation.png" title="' . _('Allocate') . '" alt="" />' . ' ' . '<a href="' . $rootpath . '/CustomerAllocations.php">' . _('Allocate Receipts') . '</a></p>'; echo '<p class="page_title_text"><a href="' . $rootpath . '/CustomerReceipt.php?NewReceipt=Yes&Type=Customer">' . _('Enter Receipts') . '</a> </p>'; @@ -743,9 +743,9 @@ $AccountsResults = DB_query($SQL,$db,$ErrMsg,$DbgMsg); if (isset($_POST['GLEntry'])) { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Enter Receipt') . '" alt="">' . ' ' . _('General Ledger Receipt Entry') . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Enter Receipt') . '" alt="" />' . ' ' . _('General Ledger Receipt Entry') . '</p>'; } else { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Enter Receipt') . '" alt="">' . ' ' . _('Enter Customer Receipt') . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Enter Receipt') . '" alt="" />' . ' ' . _('Enter Customer Receipt') . '</p>'; echo '<div class="page_help_text">' . _('To enter a payment TO a customer (ie. to pay out a credit note), enter a negative payment amount.') . '</div>'; } echo '<br /> @@ -782,7 +782,7 @@ echo '<tr> <td>' . _('Date Banked') . ':</td> - <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="DateBanked" maxlength="10" size="10" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['ReceiptBatch']->DateBanked . '"></td> + <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="DateBanked" maxlength="10" size="10" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['ReceiptBatch']->DateBanked . '" /></td> </tr> <tr> <td>' . _('Currency') . ':</td> @@ -887,8 +887,8 @@ if (isset($_SESSION['ReceiptBatch'])){ /* Now show the entries made so far */ if (!$BankAccountEmpty) { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Banked') . - '" alt="">' . ' ' . $_SESSION['ReceiptBatch']->ReceiptType . ' - ' . _('Banked into the') . " " . + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Banked') . '" alt="" /> + ' . ' ' . $_SESSION['ReceiptBatch']->ReceiptType . ' - ' . _('Banked into the') . " " . $_SESSION['ReceiptBatch']->BankAccountName . ' ' . _('on') . ' ' . $_SESSION['ReceiptBatch']->DateBanked . '</p>'; } @@ -1072,7 +1072,7 @@ <td>' . _('Amount of Discount') . ':</td> <td><input tabindex="10" type="text" name="Discount" maxlength="12" size="13" class="number" value="' . $_POST['Discount'] . '" /> ' . _('agreed prompt payment discount is') . ' ' . $DisplayDiscountPercent . '</td></tr>'; } else { - echo '<input tabindex=11 type="hidden" name="Discount" value="0" />'; + echo '<input tabindex="11" type="hidden" name="Discount" value="0" />'; } echo '<tr> @@ -1080,7 +1080,7 @@ <td><input tabindex="12" type="text" name="PayeeBankDetail" maxlength="22" size="20" value="' . $_POST['PayeeBankDetail'] . '" /></td> </tr>'; // echo '<tr><td>' . _('Narrative') . ':</td> -// <td><input tabindex=13 type="text" name="Narrative" maxlength=30 size=32 value="' . $_POST['Narrative'] . '"></td></tr>'; +// <td><input tabindex="13" type="text" name="Narrative" maxlength="30" size="32" value="' . $_POST['Narrative'] . '" /></td></tr>'; echo '<td>' . _('Narrative') . ':</td> <td><textarea name="Narrative" cols="40" rows="1"></textarea></td> </tr> @@ -1098,7 +1098,7 @@ echo '<br />'; echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="">' . ' ' . _('Select a Customer') . '</b> + <img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Select a Customer') . '</b> <table class="selection"> <tr> <td>' . _('Text in the Customer') . ' ' . '<b>' . _('name') . '</b>:</td> @@ -1140,7 +1140,7 @@ echo '<tr class="EvenTableRows">'; $k=1; } - printf('<td><font size=1><input tabindex="'. strval(12+$j).'" type="submit" name="Select" value="%s" /></font></td> + printf('<td><input tabindex="'. strval(12+$j).'" type="submit" name="Select" value="%s" /></td> <td>%s</td> </tr>', $myrow['debtorno'], Modified: trunk/PDFPriceList.php =================================================================== --- trunk/PDFPriceList.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/PDFPriceList.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -251,8 +251,8 @@ $title= _('Price Listing'); include('includes/header.inc'); - echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/customer.png" title="' . - _('Price List') . '" alt="" />' . ' ' . _('Print a price list') . '</p>'; + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/customer.png" title="' . _('Price List') . '" alt="" /> + ' . ' ' . _('Print a price list') . '</p>'; if (!isset($_POST['FromCriteria']) or !isset($_POST['ToCriteria'])) { @@ -302,7 +302,9 @@ echo '<option Value="Full Description">'. _('Full Description') . '</option>'; echo '</select></td></tr>'; - echo '<tr><td>' . _('Effective As At') . ':</td><td><input type="text" size=11 class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="EffectiveDate" value="' . Date($_SESSION['DefaultDateFormat']) . '">'; + echo '<tr><td>' . _('Effective As At') . ':</td>'; + 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>'; } Modified: trunk/PricesBasedOnMarkUp.php =================================================================== --- trunk/PricesBasedOnMarkUp.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/PricesBasedOnMarkUp.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -5,8 +5,7 @@ $title=_('Update Pricing'); include('includes/header.inc'); -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Search') . - '" alt="" />' . $title.'</p>'; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Search') . '" alt="" />' . $title.'</p>'; echo '<br /><div class="page_help_text">' . _('This page adds new prices or updates already existing prices for a specified sales type (price list) and currency for the stock category selected - based on a percentage mark up from cost prices or from preferred supplier cost data or from another price list. The rounding factor ensures that prices are at least this amount or a multiple of it. A rounding factor of 5 would mean that prices would be a minimum of 5 and other prices would be expressed as multiples of 5.') . '</div><br /><div class="centre">'; @@ -145,13 +144,13 @@ } echo '<tr><td>' . _('Rounding Factor') . ':</td> - <td><input type="text" class=number name="RoundingFactor" size="6" maxlength="6" value=' . $_POST['RoundingFactor'] . '></td></tr>'; + <td><input type="text" class="number" name="RoundingFactor" size="6" maxlength="6" value="' . $_POST['RoundingFactor'] . '" /></td></tr>'; echo '<tr><td>' . _('New Price To Be Effective From') . ':</td> - <td><input type="text" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceStartDate" size="10" maxlength="10" value="' . $_POST['PriceStartDate'] . '"></td></tr>'; + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceStartDate" size="10" maxlength="10" value="' . $_POST['PriceStartDate'] . '" /></td></tr>'; echo '<tr><td>' . _('New Price To Be Effective To (Blank = No End Date)') . ':</td> - <td><input type="text" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceEndDate" size="10" maxlength="10" value="' . $_POST['PriceEndDate'] . '"></td></tr>'; + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceEndDate" size="10" maxlength="10" value="' . $_POST['PriceEndDate'] . '" /></td></tr>'; if (!isset($_POST['IncreasePercent'])){ $_POST['IncreasePercent']=0; @@ -161,7 +160,7 @@ <td><input type="text" name="IncreasePercent" class="number" size="4" maxlength="4" value="' . $_POST['IncreasePercent'] . '"></td></tr></table>'; -echo '<p><div class="centre"><input type="submit" name="UpdatePrices" value="' . _('Update Prices') . '\' onclick="return confirm(\'' . _('Are you sure you wish to update or add all the prices according to the criteria selected?') . '\');"></div>'; +echo '<p><div class="centre"><input type="submit" name="UpdatePrices" value="' . _('Update Prices') . '\' onclick="return confirm(\'' . _('Are you sure you wish to update or add all the prices according to the criteria selected?') . '\');" /></div>'; echo '</form>'; Modified: trunk/SpecialOrder.php =================================================================== --- trunk/SpecialOrder.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/SpecialOrder.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -740,10 +740,10 @@ <input type="submit" name="EnterLine" value="' . _('Add Item to Order') . '" /> <br /> <br /> - <input type="submit" name="Cancel" value="' . _('Start Again') . '"> + <input type="submit" name="Cancel" value="' . _('Start Again') . '" /> <br /> <br /> - <input type="submit" name="Commit" value="' . _('Process This Order') . '"> + <input type="submit" name="Commit" value="' . _('Process This Order') . '" /> </div> </form>'; Modified: trunk/StockCategories.php =================================================================== --- trunk/StockCategories.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/StockCategories.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -8,8 +8,7 @@ include('includes/header.inc'); echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . - _('Inventory Adjustment') . '" alt="" />' . ' ' . $title . ' + <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Inventory Adjustment') . '" alt="" />' . ' ' . $title . ' </p>'; if (isset($_GET['SelectedCategory'])){ @@ -350,7 +349,7 @@ echo '<tr> <td>' . _('Category Description') . ':</td> - <td><input type="text" name="CategoryDescription" size=22 maxlength=20 value="' . $_POST['CategoryDescription'] . '" /></td></tr>'; + <td><input type="text" name="CategoryDescription" size="22" maxlength="20" value="' . $_POST['CategoryDescription'] . '" /></td></tr>'; echo '<tr> @@ -535,28 +534,26 @@ } else { echo '<option value="2">' . _('Check Box') . '</option>'; } - echo '</select></td> - <td><input type="textbox" name="PropDefault' . $PropertyCounter . '" value="' . $myrow['defaultvalue'] . '"></td> - <td><input type="checkbox" name="PropNumeric' . $PropertyCounter . '"'; - - if ($myrow['numericvalue'] ==1){ - echo 'checked'; - } - echo '"></td> - <td><input type="textbox" class="number" name="PropMinimum' . $PropertyCounter . '" value="' . locale_number_format($myrow['minimumvalue'],'Variable') . '" /></td> - <td><input type="textbox" class="number" name="PropMaximum' . $PropertyCounter . '" value="' . locale_number_format($myrow['maximumvalue'],'Variable') . '" /></td>'; + echo '</select></td>'; + + echo '<td><input type="textbox" name="PropDefault' . $PropertyCounter . '" value="' . $myrow['defaultvalue'] . '" /></td>'; + echo '<td><input type="checkbox" name="PropNumeric' . $PropertyCounter . '"'; + if ($myrow['numericvalue'] == 1){ + echo ' checked="checked"'; + } + echo ' /></td>'; + + echo '<td><input type="textbox" class="number" name="PropMinimum' . $PropertyCounter . '" value="' . locale_number_format($myrow['minimumvalue'],'Variable') . '" /></td>'; + echo '<td><input type="textbox" class="number" name="PropMaximum' . $PropertyCounter . '" value="' . locale_number_format($myrow['maximumvalue'],'Variable') . '" /></td>'; echo '<td align="center"><input type="checkbox" name="PropReqSO' . $PropertyCounter .'"'; + if ($myrow['reqatsalesorder']==1){ + echo ' checked="checked"'; + } + echo ' /></td>'; + + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?DeleteProperty=' . $myrow['stkcatpropid'] .'&SelectedCategory=' . $SelectedCategory . '" onclick=\'return confirm("' . _('Are you sure you wish to delete this property? All properties of this type set up for stock items will also be deleted.') . '");\'>' . _('Delete') . '</td>'; + echo '</tr>'; - if ($myrow['reqatsalesorder']==1){ - echo 'checked'; - } else { - echo ''; - } - - echo ' /></td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?DeleteProperty=' . $myrow['stkcatpropid'] .'&SelectedCategory=' . $SelectedCategory . '" onclick=\'return confirm("' . _('Are you sure you wish to delete this property? All properties of this type set up for stock items will also be deleted.') . '");\'>' . _('Delete') . '</td> - </tr>'; - $PropertyCounter++; } //end loop around defined properties for this category echo '<input type="hidden" name="PropID' . $PropertyCounter .'" value="NewProperty" />'; Modified: trunk/StockSerialItemResearch.php =================================================================== --- trunk/StockSerialItemResearch.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/StockSerialItemResearch.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -6,9 +6,8 @@ include('includes/header.inc'); echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Inventory') . -'" alt="" /><b>' . $title. '</b> - </p>'; + <img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b>' . $title. '</b> + </p>'; //validate the submission Modified: trunk/Z_CreateCompanyTemplateFile.php =================================================================== --- trunk/Z_CreateCompanyTemplateFile.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/Z_CreateCompanyTemplateFile.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -218,7 +218,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; prnMsg(_('Running the create a new company template script will export all account groups, account codes and tax set up tables including tax groups, tax authorities, tax rates etc. However, no transactions or private data will be exported. There is opportunity to prevent specific general ledger accounts from being exported where these are considered private - again no transactional or balance data is exported and you can inspect the contents of the sql file. The template file will be emailed automatically to the webERP project'),'info'); -echo _('Enter the name of the template to be created') . ':<input type="text" name="TemplateName">'; +echo _('Enter the name of the template to be created') . ':<input type="text" name="TemplateName" />'; prnMsg(_('Warning: All selected accounts will be exported - please de-select the accounts you do not wish to export to the new template file'),'warn'); @@ -233,14 +233,14 @@ while ($ChartRow = DB_fetch_array($ChartResult)){ echo '<tr><td>' . $ChartRow['accountcode'] . '</td> <td>' . $ChartRow['accountname'] . '</td> - <td><input type="checkbox" name="IncludeAccount_' . $i . '" CHECKED></td> + <td><input type="checkbox" name="IncludeAccount_' . $i . '" checked="checked" /></td> </tr>'; $i++; } echo '</table>'; echo '<hr>'; -echo '<center><input type="submit" name="CreateTemplate" value="' . _('Create Template and Email') . '"></center>'; +echo '<center><input type="submit" name="CreateTemplate" value="' . _('Create Template and Email') . '" /></center>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/Z_ImportGLAccountSections.php =================================================================== --- trunk/Z_ImportGLAccountSections.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/Z_ImportGLAccountSections.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -73,8 +73,8 @@ echo '<form name="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' .SID .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table><tr><td>'._('File to import').'</td>'. - '<td><input type="file" id="ImportFile" name="ImportFile"></td></tr></table>'; - echo '<div class= "centre"><input type="submit" name="update" value="Process"></div>'; + '<td><input type="file" id="ImportFile" name="ImportFile" /></td></tr></table>'; + echo '<div class= "centre"><input type="submit" name="update" value="Process" /></div>'; echo '</form>'; } include('includes/footer.inc'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-01-21 22:05:20
|
Revision: 4828 http://web-erp.svn.sourceforge.net/web-erp/?rev=4828&view=rev Author: vvs2012 Date: 2012-01-21 22:05:14 +0000 (Sat, 21 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/AccountGroups.php trunk/CustomerReceipt.php trunk/PDFPriceList.php trunk/PricesBasedOnMarkUp.php trunk/SpecialOrder.php trunk/StockCategories.php trunk/StockSerialItemResearch.php trunk/Z_CreateCompanyTemplateFile.php trunk/Z_ImportGLAccountSections.php Modified: trunk/AccountGroups.php =================================================================== --- trunk/AccountGroups.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/AccountGroups.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -276,7 +276,7 @@ echo '<br /><form method="post" id="AccountGroups" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - + echo '<table class="selection"><tr><td>'; if (isset($_GET['SelectedAccountGroup'])) { //editing an existing account group @@ -304,7 +304,6 @@ $_POST['PandL'] = $myrow['pandl']; $_POST['ParentGroupName'] = $myrow['parentgroupname']; - echo '<table class="selection"><tr><td>'; echo '<input type="hidden" name="SelectedAccountGroup" value="' . $_GET['SelectedAccountGroup'] . '" />'; echo '<input type="hidden" name="GroupName" value="' . $_POST['GroupName'] . '" />'; @@ -330,7 +329,6 @@ $_POST['PandL']=''; } - echo '<br /><table class="selection"><tr><td>'; echo '<input type="hidden" name="SelectedAccountGroup" value="' . $_POST['SelectedAccountGroup'] . '" />'; echo _('Account Group Name') . ':' . '</td><td> <input tabindex="1" ' . (in_array('GroupName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="GroupName" size="50" maxlength="50" value="' . $_POST['GroupName'] . '" /></td></tr>'; Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/CustomerReceipt.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -544,8 +544,8 @@ echo '<br />'; prnMsg( _('Receipt batch') . ' ' . $_SESSION['ReceiptBatch']->BatchNo . ' ' . _('has been successfully entered into the database'),'success'); - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="">' . ' ' . '<a href="' . $rootpath . '/PDFBankingSummary.php?BatchNo=' . $_SESSION['ReceiptBatch']->BatchNo . '">' . _('Print PDF Batch Summary') . '</a></p>'; - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/allocation.png" title="' . _('Allocate') . '" alt="">' . ' ' . '<a href="' . $rootpath . '/CustomerAllocations.php">' . _('Allocate Receipts') . '</a></p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . '<a href="' . $rootpath . '/PDFBankingSummary.php?BatchNo=' . $_SESSION['ReceiptBatch']->BatchNo . '">' . _('Print PDF Batch Summary') . '</a></p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/allocation.png" title="' . _('Allocate') . '" alt="" />' . ' ' . '<a href="' . $rootpath . '/CustomerAllocations.php">' . _('Allocate Receipts') . '</a></p>'; echo '<p class="page_title_text"><a href="' . $rootpath . '/CustomerReceipt.php?NewReceipt=Yes&Type=Customer">' . _('Enter Receipts') . '</a> </p>'; @@ -743,9 +743,9 @@ $AccountsResults = DB_query($SQL,$db,$ErrMsg,$DbgMsg); if (isset($_POST['GLEntry'])) { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Enter Receipt') . '" alt="">' . ' ' . _('General Ledger Receipt Entry') . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Enter Receipt') . '" alt="" />' . ' ' . _('General Ledger Receipt Entry') . '</p>'; } else { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Enter Receipt') . '" alt="">' . ' ' . _('Enter Customer Receipt') . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Enter Receipt') . '" alt="" />' . ' ' . _('Enter Customer Receipt') . '</p>'; echo '<div class="page_help_text">' . _('To enter a payment TO a customer (ie. to pay out a credit note), enter a negative payment amount.') . '</div>'; } echo '<br /> @@ -782,7 +782,7 @@ echo '<tr> <td>' . _('Date Banked') . ':</td> - <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="DateBanked" maxlength="10" size="10" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['ReceiptBatch']->DateBanked . '"></td> + <td><input tabindex="2" type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="DateBanked" maxlength="10" size="10" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['ReceiptBatch']->DateBanked . '" /></td> </tr> <tr> <td>' . _('Currency') . ':</td> @@ -887,8 +887,8 @@ if (isset($_SESSION['ReceiptBatch'])){ /* Now show the entries made so far */ if (!$BankAccountEmpty) { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Banked') . - '" alt="">' . ' ' . $_SESSION['ReceiptBatch']->ReceiptType . ' - ' . _('Banked into the') . " " . + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Banked') . '" alt="" /> + ' . ' ' . $_SESSION['ReceiptBatch']->ReceiptType . ' - ' . _('Banked into the') . " " . $_SESSION['ReceiptBatch']->BankAccountName . ' ' . _('on') . ' ' . $_SESSION['ReceiptBatch']->DateBanked . '</p>'; } @@ -1072,7 +1072,7 @@ <td>' . _('Amount of Discount') . ':</td> <td><input tabindex="10" type="text" name="Discount" maxlength="12" size="13" class="number" value="' . $_POST['Discount'] . '" /> ' . _('agreed prompt payment discount is') . ' ' . $DisplayDiscountPercent . '</td></tr>'; } else { - echo '<input tabindex=11 type="hidden" name="Discount" value="0" />'; + echo '<input tabindex="11" type="hidden" name="Discount" value="0" />'; } echo '<tr> @@ -1080,7 +1080,7 @@ <td><input tabindex="12" type="text" name="PayeeBankDetail" maxlength="22" size="20" value="' . $_POST['PayeeBankDetail'] . '" /></td> </tr>'; // echo '<tr><td>' . _('Narrative') . ':</td> -// <td><input tabindex=13 type="text" name="Narrative" maxlength=30 size=32 value="' . $_POST['Narrative'] . '"></td></tr>'; +// <td><input tabindex="13" type="text" name="Narrative" maxlength="30" size="32" value="' . $_POST['Narrative'] . '" /></td></tr>'; echo '<td>' . _('Narrative') . ':</td> <td><textarea name="Narrative" cols="40" rows="1"></textarea></td> </tr> @@ -1098,7 +1098,7 @@ echo '<br />'; echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="">' . ' ' . _('Select a Customer') . '</b> + <img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Select a Customer') . '</b> <table class="selection"> <tr> <td>' . _('Text in the Customer') . ' ' . '<b>' . _('name') . '</b>:</td> @@ -1140,7 +1140,7 @@ echo '<tr class="EvenTableRows">'; $k=1; } - printf('<td><font size=1><input tabindex="'. strval(12+$j).'" type="submit" name="Select" value="%s" /></font></td> + printf('<td><input tabindex="'. strval(12+$j).'" type="submit" name="Select" value="%s" /></td> <td>%s</td> </tr>', $myrow['debtorno'], Modified: trunk/PDFPriceList.php =================================================================== --- trunk/PDFPriceList.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/PDFPriceList.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -251,8 +251,8 @@ $title= _('Price Listing'); include('includes/header.inc'); - echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/customer.png" title="' . - _('Price List') . '" alt="" />' . ' ' . _('Print a price list') . '</p>'; + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/customer.png" title="' . _('Price List') . '" alt="" /> + ' . ' ' . _('Print a price list') . '</p>'; if (!isset($_POST['FromCriteria']) or !isset($_POST['ToCriteria'])) { @@ -302,7 +302,9 @@ echo '<option Value="Full Description">'. _('Full Description') . '</option>'; echo '</select></td></tr>'; - echo '<tr><td>' . _('Effective As At') . ':</td><td><input type="text" size=11 class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="EffectiveDate" value="' . Date($_SESSION['DefaultDateFormat']) . '">'; + echo '<tr><td>' . _('Effective As At') . ':</td>'; + 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>'; } Modified: trunk/PricesBasedOnMarkUp.php =================================================================== --- trunk/PricesBasedOnMarkUp.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/PricesBasedOnMarkUp.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -5,8 +5,7 @@ $title=_('Update Pricing'); include('includes/header.inc'); -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Search') . - '" alt="" />' . $title.'</p>'; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Search') . '" alt="" />' . $title.'</p>'; echo '<br /><div class="page_help_text">' . _('This page adds new prices or updates already existing prices for a specified sales type (price list) and currency for the stock category selected - based on a percentage mark up from cost prices or from preferred supplier cost data or from another price list. The rounding factor ensures that prices are at least this amount or a multiple of it. A rounding factor of 5 would mean that prices would be a minimum of 5 and other prices would be expressed as multiples of 5.') . '</div><br /><div class="centre">'; @@ -145,13 +144,13 @@ } echo '<tr><td>' . _('Rounding Factor') . ':</td> - <td><input type="text" class=number name="RoundingFactor" size="6" maxlength="6" value=' . $_POST['RoundingFactor'] . '></td></tr>'; + <td><input type="text" class="number" name="RoundingFactor" size="6" maxlength="6" value="' . $_POST['RoundingFactor'] . '" /></td></tr>'; echo '<tr><td>' . _('New Price To Be Effective From') . ':</td> - <td><input type="text" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceStartDate" size="10" maxlength="10" value="' . $_POST['PriceStartDate'] . '"></td></tr>'; + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceStartDate" size="10" maxlength="10" value="' . $_POST['PriceStartDate'] . '" /></td></tr>'; echo '<tr><td>' . _('New Price To Be Effective To (Blank = No End Date)') . ':</td> - <td><input type="text" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceEndDate" size="10" maxlength="10" value="' . $_POST['PriceEndDate'] . '"></td></tr>'; + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="PriceEndDate" size="10" maxlength="10" value="' . $_POST['PriceEndDate'] . '" /></td></tr>'; if (!isset($_POST['IncreasePercent'])){ $_POST['IncreasePercent']=0; @@ -161,7 +160,7 @@ <td><input type="text" name="IncreasePercent" class="number" size="4" maxlength="4" value="' . $_POST['IncreasePercent'] . '"></td></tr></table>'; -echo '<p><div class="centre"><input type="submit" name="UpdatePrices" value="' . _('Update Prices') . '\' onclick="return confirm(\'' . _('Are you sure you wish to update or add all the prices according to the criteria selected?') . '\');"></div>'; +echo '<p><div class="centre"><input type="submit" name="UpdatePrices" value="' . _('Update Prices') . '\' onclick="return confirm(\'' . _('Are you sure you wish to update or add all the prices according to the criteria selected?') . '\');" /></div>'; echo '</form>'; Modified: trunk/SpecialOrder.php =================================================================== --- trunk/SpecialOrder.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/SpecialOrder.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -740,10 +740,10 @@ <input type="submit" name="EnterLine" value="' . _('Add Item to Order') . '" /> <br /> <br /> - <input type="submit" name="Cancel" value="' . _('Start Again') . '"> + <input type="submit" name="Cancel" value="' . _('Start Again') . '" /> <br /> <br /> - <input type="submit" name="Commit" value="' . _('Process This Order') . '"> + <input type="submit" name="Commit" value="' . _('Process This Order') . '" /> </div> </form>'; Modified: trunk/StockCategories.php =================================================================== --- trunk/StockCategories.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/StockCategories.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -8,8 +8,7 @@ include('includes/header.inc'); echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . - _('Inventory Adjustment') . '" alt="" />' . ' ' . $title . ' + <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Inventory Adjustment') . '" alt="" />' . ' ' . $title . ' </p>'; if (isset($_GET['SelectedCategory'])){ @@ -350,7 +349,7 @@ echo '<tr> <td>' . _('Category Description') . ':</td> - <td><input type="text" name="CategoryDescription" size=22 maxlength=20 value="' . $_POST['CategoryDescription'] . '" /></td></tr>'; + <td><input type="text" name="CategoryDescription" size="22" maxlength="20" value="' . $_POST['CategoryDescription'] . '" /></td></tr>'; echo '<tr> @@ -535,28 +534,26 @@ } else { echo '<option value="2">' . _('Check Box') . '</option>'; } - echo '</select></td> - <td><input type="textbox" name="PropDefault' . $PropertyCounter . '" value="' . $myrow['defaultvalue'] . '"></td> - <td><input type="checkbox" name="PropNumeric' . $PropertyCounter . '"'; - - if ($myrow['numericvalue'] ==1){ - echo 'checked'; - } - echo '"></td> - <td><input type="textbox" class="number" name="PropMinimum' . $PropertyCounter . '" value="' . locale_number_format($myrow['minimumvalue'],'Variable') . '" /></td> - <td><input type="textbox" class="number" name="PropMaximum' . $PropertyCounter . '" value="' . locale_number_format($myrow['maximumvalue'],'Variable') . '" /></td>'; + echo '</select></td>'; + + echo '<td><input type="textbox" name="PropDefault' . $PropertyCounter . '" value="' . $myrow['defaultvalue'] . '" /></td>'; + echo '<td><input type="checkbox" name="PropNumeric' . $PropertyCounter . '"'; + if ($myrow['numericvalue'] == 1){ + echo ' checked="checked"'; + } + echo ' /></td>'; + + echo '<td><input type="textbox" class="number" name="PropMinimum' . $PropertyCounter . '" value="' . locale_number_format($myrow['minimumvalue'],'Variable') . '" /></td>'; + echo '<td><input type="textbox" class="number" name="PropMaximum' . $PropertyCounter . '" value="' . locale_number_format($myrow['maximumvalue'],'Variable') . '" /></td>'; echo '<td align="center"><input type="checkbox" name="PropReqSO' . $PropertyCounter .'"'; + if ($myrow['reqatsalesorder']==1){ + echo ' checked="checked"'; + } + echo ' /></td>'; + + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?DeleteProperty=' . $myrow['stkcatpropid'] .'&SelectedCategory=' . $SelectedCategory . '" onclick=\'return confirm("' . _('Are you sure you wish to delete this property? All properties of this type set up for stock items will also be deleted.') . '");\'>' . _('Delete') . '</td>'; + echo '</tr>'; - if ($myrow['reqatsalesorder']==1){ - echo 'checked'; - } else { - echo ''; - } - - echo ' /></td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?DeleteProperty=' . $myrow['stkcatpropid'] .'&SelectedCategory=' . $SelectedCategory . '" onclick=\'return confirm("' . _('Are you sure you wish to delete this property? All properties of this type set up for stock items will also be deleted.') . '");\'>' . _('Delete') . '</td> - </tr>'; - $PropertyCounter++; } //end loop around defined properties for this category echo '<input type="hidden" name="PropID' . $PropertyCounter .'" value="NewProperty" />'; Modified: trunk/StockSerialItemResearch.php =================================================================== --- trunk/StockSerialItemResearch.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/StockSerialItemResearch.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -6,9 +6,8 @@ include('includes/header.inc'); echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Inventory') . -'" alt="" /><b>' . $title. '</b> - </p>'; + <img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b>' . $title. '</b> + </p>'; //validate the submission Modified: trunk/Z_CreateCompanyTemplateFile.php =================================================================== --- trunk/Z_CreateCompanyTemplateFile.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/Z_CreateCompanyTemplateFile.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -218,7 +218,7 @@ echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; prnMsg(_('Running the create a new company template script will export all account groups, account codes and tax set up tables including tax groups, tax authorities, tax rates etc. However, no transactions or private data will be exported. There is opportunity to prevent specific general ledger accounts from being exported where these are considered private - again no transactional or balance data is exported and you can inspect the contents of the sql file. The template file will be emailed automatically to the webERP project'),'info'); -echo _('Enter the name of the template to be created') . ':<input type="text" name="TemplateName">'; +echo _('Enter the name of the template to be created') . ':<input type="text" name="TemplateName" />'; prnMsg(_('Warning: All selected accounts will be exported - please de-select the accounts you do not wish to export to the new template file'),'warn'); @@ -233,14 +233,14 @@ while ($ChartRow = DB_fetch_array($ChartResult)){ echo '<tr><td>' . $ChartRow['accountcode'] . '</td> <td>' . $ChartRow['accountname'] . '</td> - <td><input type="checkbox" name="IncludeAccount_' . $i . '" CHECKED></td> + <td><input type="checkbox" name="IncludeAccount_' . $i . '" checked="checked" /></td> </tr>'; $i++; } echo '</table>'; echo '<hr>'; -echo '<center><input type="submit" name="CreateTemplate" value="' . _('Create Template and Email') . '"></center>'; +echo '<center><input type="submit" name="CreateTemplate" value="' . _('Create Template and Email') . '" /></center>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/Z_ImportGLAccountSections.php =================================================================== --- trunk/Z_ImportGLAccountSections.php 2012-01-21 15:41:50 UTC (rev 4827) +++ trunk/Z_ImportGLAccountSections.php 2012-01-21 22:05:14 UTC (rev 4828) @@ -73,8 +73,8 @@ echo '<form name="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' .SID .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table><tr><td>'._('File to import').'</td>'. - '<td><input type="file" id="ImportFile" name="ImportFile"></td></tr></table>'; - echo '<div class= "centre"><input type="submit" name="update" value="Process"></div>'; + '<td><input type="file" id="ImportFile" name="ImportFile" /></td></tr></table>'; + echo '<div class= "centre"><input type="submit" name="update" value="Process" /></div>'; echo '</form>'; } include('includes/footer.inc'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-01-21 15:41:58
|
Revision: 4827 http://web-erp.svn.sourceforge.net/web-erp/?rev=4827&view=rev Author: vvs2012 Date: 2012-01-21 15:41:50 +0000 (Sat, 21 Jan 2012) Log Message: ----------- xhtml fixes in multiple files Modified Paths: -------------- trunk/AuditTrail.php trunk/FixedAssetDepreciation.php trunk/FixedAssetLocations.php trunk/GLAccountInquiry.php trunk/PDFCustTransListing.php trunk/PcClaimExpensesFromTab.php trunk/PurchData.php trunk/SelectCompletedOrder.php trunk/StockCostUpdate.php trunk/StockLocStatus.php trunk/StockTransfers.php trunk/SuppLoginSetup.php trunk/SupplierInvoice.php trunk/WorkOrderEntry.php trunk/Z_ImportGLAccountGroups.php trunk/Z_ImportPartCodes.php trunk/Z_poEditLangModule.php trunk/doc/Change.log Modified: trunk/AuditTrail.php =================================================================== --- trunk/AuditTrail.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/AuditTrail.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -39,9 +39,9 @@ echo '<table class="selection">'; echo '<tr><td>'. _('From Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="1" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value=' .$_POST['FromDate'].'></td></tr>'; + <td><input tabindex="1" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value="' .$_POST['FromDate']. '" /></td></tr>'; echo '<tr><td>'. _('To Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="2" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value=' . $_POST['ToDate'] . '></td></tr>'; + <td><input tabindex="2" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value="' . $_POST['ToDate'] . '" /></td></tr>'; // Show user selections echo '<tr><td>'. _('User ID'). '</td> @@ -74,11 +74,11 @@ } // Show the text echo '<tr><td>' . _('Containing text') . ':</td>'; -echo '<td><input type="text" name="ContainingText" size=20 maxlength=20 value="'. $_POST['ContainingText'] . '"></td></tr>'; +echo '<td><input type="text" name="ContainingText" size="20" maxlength="20" value="'. $_POST['ContainingText'] . '" /></td></tr>'; echo '</table><br />'; -echo '<div class="centre"><input tabindex="5" type="submit" name="View" value="' . _('View') . '"></div>'; +echo '<div class="centre"><input tabindex="5" type="submit" name="View" value="' . _('View') . '" /></div>'; echo '</form>'; // View the audit trail Modified: trunk/FixedAssetDepreciation.php =================================================================== --- trunk/FixedAssetDepreciation.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/FixedAssetDepreciation.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -109,11 +109,11 @@ while ($AssetRow=DB_fetch_array($AssetsResult)) { if ($AssetCategoryDescription != $AssetRow['categorydescription'] OR $AssetCategoryDescription =='0'){ if ($AssetCategoryDescription !='0'){ //then print totals - echo '<tr><th colspan=3 align="right">' . _('Total for') . ' ' . $AssetCategoryDescription . ' </th> + echo '<tr><th colspan="3" align="right">' . _('Total for') . ' ' . $AssetCategoryDescription . ' </th> <th class="number">' . locale_number_format($TotalCategoryCost,$_SESSION['CompanyRecord']['decimalplaces']) . '</th> <th class="number">' . locale_number_format($TotalCategoryAccumDepn,$_SESSION['CompanyRecord']['decimalplaces']) . '</th> <th class="number">' . locale_number_format(($TotalCategoryCost-$TotalCategoryAccumDepn),$_SESSION['CompanyRecord']['decimalplaces']) . '</th> - <th colspan=2></th> + <th colspan="2"></th> <th class="number">' . locale_number_format($TotalCategoryDepn,$_SESSION['CompanyRecord']['decimalplaces']) . '</th> </tr>'; } Modified: trunk/FixedAssetLocations.php =================================================================== --- trunk/FixedAssetLocations.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/FixedAssetLocations.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -115,10 +115,10 @@ <tr> <th style="text-align:left">'._('Location ID').'</th>'; if (isset($_GET['SelectedLocation'])) { - echo '<input type="hidden" name=LocationID value="'.$LocationID.'" />'; + echo '<input type="hidden" name="LocationID" value="'.$LocationID.'" />'; echo '<td>'.$LocationID.'</td>'; } else { - echo '<td><input type="text" name=LocationID size=6 value="'.$LocationID.'" /></td> + echo '<td><input type="text" name="LocationID" size="6" value="'.$LocationID.'" /></td> </tr>'; } Modified: trunk/GLAccountInquiry.php =================================================================== --- trunk/GLAccountInquiry.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/GLAccountInquiry.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -74,7 +74,7 @@ } } echo '</select></td></tr><table>'; -echo '<p><div class="centre"><input type=submit name="Show" value="'._('Show Account Transactions').'"></div></form>'; +echo '<p><div class="centre"><input type="submit" name="Show" value="'._('Show Account Transactions').'" /></div></form>'; /* End of the Form rest of script is what happens if the show button is hit*/ @@ -145,7 +145,7 @@ echo '<br /><table class=selection>'; - echo '<tr><th colspan=8><b>' ._('Transactions for account').' '.$SelectedAccount. ' - '. $SelectedAccountName.'</b></th></tr>'; + echo '<tr><th colspan="8"><b>' ._('Transactions for account').' '.$SelectedAccount. ' - '. $SelectedAccountName.'</b></th></tr>'; $TableHeader = '<tr> <th>' . _('Type') . '</th> <th>' . _('Number') . '</th> @@ -178,16 +178,16 @@ $RunningTotal =$ChartDetailRow['bfwd']; if ($RunningTotal < 0 ){ //its a credit balance b/fwd echo '<tr bgcolor="#FDFEEF"> - <td colspan=3><b>' . _('Brought Forward Balance') . '</b><td> + <td colspan="3"><b>' . _('Brought Forward Balance') . '</b><td> </td></td> - <td class=number><b>' . locale_number_format(-$RunningTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format(-$RunningTotal,2) . '</b></td> <td></td> </tr>'; } else { //its a debit balance b/fwd echo '<tr bgcolor="#FDFEEF"> - <td colspan=3><b>' . _('Brought Forward Balance') . '</b></td> - <td class=number><b>' . locale_number_format($RunningTotal,2) . '</b></td> - <td colspan=2></td> + <td colspan="3"><b>' . _('Brought Forward Balance') . '</b></td> + <td class="number"><b>' . locale_number_format($RunningTotal,2) . '</b></td> + <td colspan="2"></td> </tr>'; } } @@ -214,21 +214,21 @@ $ChartDetailRow = DB_fetch_array($ChartDetailsResult); echo '<tr bgcolor="#FDFEEF"> - <td colspan=3><b>' . _('Total for period') . ' ' . $PeriodNo . '</b></td>'; + <td colspan="3"><b>' . _('Total for period') . ' ' . $PeriodNo . '</b></td>'; if ($PeriodTotal < 0 ){ //its a credit balance b/fwd if ($PandLAccount==True) { $RunningTotal = 0; } echo '<td></td> - <td class=number><b>' . locale_number_format(-$PeriodTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format(-$PeriodTotal,2) . '</b></td> <td></td> </tr>'; } else { //its a debit balance b/fwd if ($PandLAccount==True) { $RunningTotal = 0; } - echo '<td class=number><b>' . locale_number_format($PeriodTotal,2) . '</b></td> - <td colspan=2></td> + echo '<td class="number"><b>' . locale_number_format($PeriodTotal,2) . '</b></td> + <td colspan="2"></td> </tr>'; } $IntegrityReport .= '<br />' . _('Period') . ': ' . $PeriodNo . _('Account movement per transaction') . ': ' . locale_number_format($PeriodTotal,2) . ' ' . _('Movement per ChartDetails record') . ': ' . locale_number_format($ChartDetailRow['actual'],2) . ' ' . _('Period difference') . ': ' . locale_number_format($PeriodTotal -$ChartDetailRow['actual'],3); @@ -290,7 +290,7 @@ } - echo '<tr bgcolor="#FDFEEF"><td colspan=3><b>'; + echo '<tr bgcolor="#FDFEEF"><td colspan="3"><b>'; if ($PandLAccount==True){ echo _('Total Period Movement'); } else { /*its a balance sheet account*/ @@ -299,9 +299,9 @@ echo '</b></td>'; if ($RunningTotal >0){ - echo '<td class=number><b>' . locale_number_format(($RunningTotal),2) . '</b></td><td colspan=2></td></tr>'; + echo '<td class="number"><b>' . locale_number_format(($RunningTotal),2) . '</b></td><td colspan="2"></td></tr>'; }else { - echo '<td></td><td class=number><b>' . locale_number_format((-$RunningTotal),2) . '</b></td><td colspan=2></td></tr>'; + echo '<td></td><td class="number"><b>' . locale_number_format((-$RunningTotal),2) . '</b></td><td colspan="2"></td></tr>'; } echo '</table>'; } /* end of if Show button hit */ Modified: trunk/PDFCustTransListing.php =================================================================== --- trunk/PDFCustTransListing.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/PDFCustTransListing.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -19,7 +19,7 @@ echo '<div class="centre"> <p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="">' . ' ' . _('Customer Transaction Listing'). + <img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="" />' . ' ' . _('Customer Transaction Listing'). '</p>'; if ($InputError==1){ @@ -31,7 +31,7 @@ echo '<table class="selection"> <tr> <td>' . _('Enter the date for which the transactions are to be listed') . ':</td> - <td><input type="text" name="Date" maxlength="10" size="10" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '"></td> + <td><input type="text" name="Date" maxlength="10" size="10" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td> </tr>'; echo '<tr><td>' . _('Transaction type') . '</td> @@ -46,7 +46,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/PcClaimExpensesFromTab.php =================================================================== --- trunk/PcClaimExpensesFromTab.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/PcClaimExpensesFromTab.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -164,14 +164,14 @@ echo '</select></td></tr>'; echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"><input type=submit name="Cancel" value="' . _('Cancel') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"><input type="submit" name="Cancel" value="' . _('Cancel') . '" /></div>'; echo '</form>'; } else { // isset($SelectedTabs) - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Petty Cash Claim Entry') - . '" alt="" />' . ' ' . $title . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Petty Cash Claim Entry') . '" alt="" /> + ' . ' ' . $title . '</p>'; echo '<p><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('Select another tab') . '</a></div></p>'; @@ -320,9 +320,9 @@ $_POST['Notes'] = $myrow['notes']; $_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="Days" value="' .$Days. '">'; + echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; + echo '<input type="hidden" name="SelectedIndex" value="' . $SelectedIndex. '" />'; + echo '<input type="hidden" name="Days" value="' .$Days. '" />'; }//end of Get Edit @@ -331,7 +331,7 @@ } echo '<tr><td>' . _('Date Of Expense') . ':</td> - <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="Date" size=10 maxlength=10 value="' . $_POST['Date']. '"></td></tr>'; + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="Date" size="10" maxlength="10" value="' . $_POST['Date']. '" /></td></tr>'; echo '<tr><td>' . _('Code Of Expense') . ':</td><td><select name="SelectedExpense">'; DB_free_result($result); @@ -363,26 +363,26 @@ } echo '<tr><td>' . _('Amount') . ':</td> - <td><input type="text" class="number" name="amount" size="12" maxlength="11" value="' . $_POST['Amount'] . '"></td></tr>'; + <td><input type="text" class="number" name="amount" size="12" maxlength="11" value="' . $_POST['Amount'] . '" /></td></tr>'; if (!isset($_POST['Notes'])) { $_POST['Notes']=''; } echo '<tr><td>' . _('Notes') . ':</td> - <td><input type="text" name="Notes" size="50" maxlength="49" value="' . $_POST['Notes'] . '"></td></tr>'; + <td><input type="text" name="Notes" size="50" maxlength="49" value="' . $_POST['Notes'] . '" /></td></tr>'; if (!isset($_POST['Receipt'])) { $_POST['Receipt']=''; } echo '<tr><td>' . _('Receipt') . ':</td> - <td><input type="text" name="Receipt" size="50" maxlength="49" value="' . $_POST['Receipt'] . '"></td></tr>'; - echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '">'; - echo '<input type="hidden" name="Days" value="' .$Days. '">'; + <td><input type="text" name="Receipt" size="50" maxlength="49" value="' . $_POST['Receipt'] . '" /></td></tr>'; + echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; + echo '<input type="hidden" name="Days" value="' .$Days. '" />'; 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>'; } // end if user wish to delete Modified: trunk/PurchData.php =================================================================== --- trunk/PurchData.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/PurchData.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -1,4 +1,4 @@ -<?php +<?php /* $Id$*/ include ('includes/session.inc'); @@ -160,7 +160,7 @@ prnMsg(_('There is no purchasing data set up for the part selected'), 'info'); $NoPurchasingData=1; } else if ($StockID != '') { - echo '<table cellpadding=2 class=selection>'; + echo '<table cellpadding="2" class="selection">'; $TableHeader = '<tr><th>' . _('Supplier') . '</th> <th>' . _('Price') . '</th> <th>' . _('Supplier Unit') . '</th> @@ -263,11 +263,11 @@ <tr>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="StockID" value="' . $StockID . '" />'; - echo '<td>' . _('Text in the Supplier') . ' <b>' . _('NAME') . '</b>:</font></td>'; + echo '<td>' . _('Text in the Supplier') . ' <b>' . _('NAME') . '</b>:</td>'; echo '<td><input type="text" name="Keywords" size="20" maxlength="25" /></td>'; - echo '<td><font size=3><b>' . _('OR') . '</b></font></td>'; - echo '<td>' . _('Text in Supplier') . ' <b>' . _('CODE') . '</b>:</font></td>'; - echo '<td><input type="text" name="SupplierCode" size=15 maxlength=18></td>'; + echo '<td><b>' . _('OR') . '</b></td>'; + echo '<td>' . _('Text in Supplier') . ' <b>' . _('CODE') . '</b>:</td>'; + echo '<td><input type="text" name="SupplierCode" size="15" maxlength="18" /></td>'; echo '</tr></table><br />'; echo '<div class="centre"> <input type="submit" name="SearchSupplier" value="' . _('Find Suppliers Now') . '" /> @@ -334,7 +334,7 @@ include ('includes/footer.inc'); exit; } else { - // echo '<br /><font color=BLUE size=3><b>' . $StockID . ' - ' . $myrow[0] . ' </b> (' . _('In Units of') . ' ' . $myrow[1] . ' )</font>'; + // echo '<br /><b>' . $StockID . ' - ' . $myrow[0] . ' </b> (' . _('In Units of') . ' ' . $myrow[1] . ' )'; } } else { prnMsg(_('Stock Item') . ' - ' . $StockID . ' ' . _('is not defined in the database'), 'warn'); @@ -364,12 +364,12 @@ echo '<tr class="OddTableRows">'; $k++; } - printf('<td><font size=1><input type="submit" name="SupplierID" value="%s"</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> + printf('<td><input type="submit" name="SupplierID" value="%s" /></td> + <td>%s</td> + <td>%s</td> + <td>%s</td> + <td>%s</td> + <td>%s</td> </tr>', $myrow['supplierid'], $myrow['suppname'], @@ -440,23 +440,23 @@ } if (isset($_GET['Edit'])) { echo '<tr><td>' . _('Supplier Name') . ':</td> - <td><input type="hidden" name="SupplierID" value="' . $SupplierID . '" />' . $SupplierID . ' - ' . $SuppName . '<input type=hidden name="WasEffectiveFrom" value="' . $myrow['effectivefrom'] . '" /></td> + <td><input type="hidden" name="SupplierID" value="' . $SupplierID . '" />' . $SupplierID . ' - ' . $SuppName . '<input type="hidden" name="WasEffectiveFrom" value="' . $myrow['effectivefrom'] . '" /></td> </tr>'; } else { echo '<tr> <td>' . _('Supplier Name') . ':</td> - <input type="hidden" name="SupplierID" maxlength=10 size=11 value="' . $SupplierID . '" />'; + <input type="hidden" name="SupplierID" maxlength="10" size="11" value="' . $SupplierID . '" />'; if ($SupplierID!='') { echo '<td>'.$SuppName; } if (!isset($SuppName) OR $SuppName = "") { - echo '<font size=1>' . '(' . _('A search facility is available below if necessary') . ')'; + echo '(' . _('A search facility is available below if necessary') . ')'; } else { echo '<td>'.$SuppName; } echo '</td></tr>'; } - echo '<td><input type="hidden" name="StockID" maxlength=10 size=11 value="' . $StockID . '" />'; + echo '<td><input type="hidden" name="StockID" maxlength="10" size="11" value="' . $StockID . '" />'; if (!isset($CurrCode)) { $CurrCode = ''; } @@ -479,11 +479,11 @@ $_POST['MinOrderQty'] = '1'; } echo '<tr><td>' . _('Currency') . ':</td> - <td><input type="hidden" name="CurrCode" . value="' . $CurrCode . '">' . $CurrCode . '</td></tr>'; + <td><input type="hidden" name="CurrCode" . value="' . $CurrCode . '" />' . $CurrCode . '</td></tr>'; echo '<tr><td>' . _('Price') . ' (' . _('in Supplier Currency') . '):</td> <td><input type="text" class="number" name="Price" maxlength="12" size="12" value=' . $_POST['Price'] . ' /></td></tr>'; echo '<tr><td>' . _('Date Updated') . ':</td> - <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="EffectiveFrom" maxlength="10" size="11" value="' . $_POST['EffectiveFrom'] . '"></td></tr>'; + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="EffectiveFrom" maxlength="10" size="11" value="' . $_POST['EffectiveFrom'] . '" /></td></tr>'; echo '<tr><td>' . _('Our Unit of Measure') . ':</td>'; if (isset($SupplierID)) { echo '<td>' . $StockUOM . '</td></tr>'; @@ -496,18 +496,18 @@ $_POST['ConversionFactor'] = 1; } echo '<tr><td>' . _('Conversion Factor (to our UOM)') . ':</td> - <td><input type="text" class="number" name="ConversionFactor" maxlength="12" size="12" value=' . $_POST['ConversionFactor'] . '></td></tr>'; + <td><input type="text" class="number" name="ConversionFactor" maxlength="12" size="12" value="' . $_POST['ConversionFactor'] . '" /></td></tr>'; echo '<tr><td>' . _('Supplier Stock Code') . ':</td> - <td><input type="text" name="SupplierCode" maxlength="15" size="15" value="' . $_POST['SupplierCode'] . '"></td></tr>'; + <td><input type="text" name="SupplierCode" maxlength="15" size="15" value="' . $_POST['SupplierCode'] . '" /></td></tr>'; echo '<tr><td>' . _('MinOrderQty') . ':</td> - <td><input type="text" class="number" name="MinOrderQty" maxlength=15 size=15 value="' . $_POST['MinOrderQty'] . '"></td></tr>'; + <td><input type="text" class="number" name="MinOrderQty" maxlength="15" size="15" value="' . $_POST['MinOrderQty'] . '" /></td></tr>'; echo '<tr><td>' . _('Supplier Stock Description') . ':</td> - <td><input type="text" name="SupplierDescription" maxlength="50" size="51" value="' . $_POST['SupplierDescription'] . '"></td></tr>'; + <td><input type="text" name="SupplierDescription" maxlength="50" size="51" value="' . $_POST['SupplierDescription'] . '" /></td></tr>'; if (!isset($_POST['LeadTime']) OR $_POST['LeadTime'] == "") { $_POST['LeadTime'] = 1; } echo '<tr><td>' . _('Lead Time') . ' (' . _('in days from date of order') . '):</td> - <td><input type="text" class=number name="LeadTime" maxlength=4 size=5 value=' . $_POST['LeadTime'] . '></td></tr>'; + <td><input type="text" class=number name="LeadTime" maxlength="4" size="5" value="' . $_POST['LeadTime'] . '" /></td></tr>'; echo '<tr><td>' . _('Preferred Supplier') . ':</td> <td><select name="Preferred">'; if ($_POST['Preferred'] == 1) { @@ -519,9 +519,9 @@ } echo '</select></td></tr></table><br /><div class="centre">'; if (isset($_GET['Edit'])) { - echo '<input type=submit name="UpdateRecord" value="' . _('Update') . '" />'; + echo '<input type="submit" name="UpdateRecord" value="' . _('Update') . '" />'; } else { - echo '<input type=submit name="AddRecord" value="' . _('Add') . '" />'; + echo '<input type="submit" name="AddRecord" value="' . _('Add') . '" />'; } echo '</div>'; echo '<div class="centre">'; Modified: trunk/SelectCompletedOrder.php =================================================================== --- trunk/SelectCompletedOrder.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/SelectCompletedOrder.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -8,8 +8,8 @@ include('includes/header.inc'); -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . - '" alt="" />' . ' ' . _('Search Sales Orders') . '</p>'; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" /> + ' . ' ' . _('Search Sales Orders') . '</p>'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -60,8 +60,8 @@ } if (isset($OrderNumber)) { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Sales Order') . - '" alt="" />' . ' ' . _('Order Number') . ' - ' . $OrderNumber . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Sales Order') . '" alt="" /> + ' . ' ' . _('Order Number') . ' - ' . $OrderNumber . '</p>'; if (mb_strlen($_SESSION['UserBranch'])>1){ echo _('For customer') . ': ' . $SelectedCustomer; echo '<input type="hidden" name="SelectedCustomer" value="' . $SelectedCustomer .'" />'; @@ -506,10 +506,10 @@ ORDER BY categorydescription",$db); echo '<br />'; - echo '<div class="page_help_text"><font size=1>' . _('To search for sales orders for a specific part use the part selection facilities below') . ' </font></div>'; + echo '<div class="page_help_text">' . _('To search for sales orders for a specific part use the part selection facilities below') . '</div>'; echo '<br /> <table class="selection">'; - echo '<tr><td><font size="1">' . _('Select a stock category') . ':</font>'; + echo '<tr><td>' . _('Select a stock category') . ':'; echo '<select name="StockCat">'; while ($myrow1 = DB_fetch_array($result1)) { @@ -521,15 +521,15 @@ } echo '</select> - <td><font size="1">' . _('Enter text extracts in the description') . ':</font></td> + <td>' . _('Enter text extracts in the description') . ':</td> <td><input type="text" name="Keywords" size="20" maxlength="25" /></td> </tr> <tr> <td></td> - <td><font size=3><b> ' ._('OR') . ' </b></font><font size=1>' . _('Enter extract of the Stock Code') . ':</font></td> + <td><b> ' ._('OR') . ' </b>' . _('Enter extract of the Stock Code') . ':</td> <td><input type="text" name="StockCode" size="15" maxlength="18" /></td> </tr> - <tr><td colspan=4><div class="centre"><input type="submit" name="SearchParts" value="' . _('Search Parts Now') . '" />'; + <tr><td colspan="4"><div class="centre"><input type="submit" name="SearchParts" value="' . _('Search Parts Now') . '" />'; if (count($_SESSION['AllowedPageSecurityTokens'])>1){ echo '<input type="submit" name="ResetPart" value="' . _('Show All') . '" /></div>'; @@ -569,12 +569,12 @@ $k++; } - printf('<td><font size=1><input type="submit" name="SelectedStockItem" value="%s" /></font></td> - <td><font size=1>%s</font></td> - <td class="number"><font size=1>%s</font></td> - <td class="number"><font size=1>%s</font></td> - <td class="number"><font size=1>%s</font></td> - <td><font size=1>%s</font></td></tr>', + printf('<td><input type="submit" name="SelectedStockItem" value="%s" /></td> + <td>%s</td> + <td class="number">%s</td> + <td class="number">%s</td> + <td class="number">%s</td> + <td>%s</td></tr>', $myrow['stockid'], $myrow['description'], locale_number_format($myrow['qoh'],$myrow['decimalplaces']), Modified: trunk/StockCostUpdate.php =================================================================== --- trunk/StockCostUpdate.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/StockCostUpdate.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -17,8 +17,9 @@ echo '<a href="' . $rootpath . '/SelectProduct.php">' . _('Back to Items') . '</a><br />'; -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . - _('Inventory Adjustment') . '" alt="" />' . ' ' . $title . '</p>'; +echo '<p class="page_title_text"> + <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Inventory Adjustment') . '" alt="" /> + ' . ' ' . $title . '</p>'; if (isset($_POST['UpdateData'])){ @@ -157,7 +158,7 @@ } else { if ($myrow['mbflag']=='M'){ - echo '<input type=hidden name="MaterialCost" value=' . $myrow['materialcost'] . '>'; + echo '<input type="hidden" name="MaterialCost" value=' . $myrow['materialcost'] . ' />'; echo '<tr><td>' . _('Standard Material Cost Per Unit') .':</td> <td class="number">' . locale_number_format($myrow['materialcost'],4) . '</td> </tr>'; @@ -175,8 +176,8 @@ <td class="number"><input type="text" class="number" name="MaterialCost" value="' . locale_number_format($myrow['materialcost'],4) . '" /></td> </tr>'; } else { - echo '<input type="hidden" name="LabourCost" value=0>'; - echo '<input type="hidden" name="OverheadCost" value=0>'; + echo '<input type="hidden" name="LabourCost" value=0 />'; + echo '<input type="hidden" name="OverheadCost" value=0 />'; } echo '</table> <br /> Modified: trunk/StockLocStatus.php =================================================================== --- trunk/StockLocStatus.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/StockLocStatus.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -24,9 +24,8 @@ $resultStkLocs = DB_query($sql,$db); echo '<p class="page_title_text"> - <img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . - '" alt="" />' . ' ' . $title.' - </p>'; + <img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.' + </p>'; echo '<table class="selection"> <tr><td>' . _('From Stock Location') . ':</td> Modified: trunk/StockTransfers.php =================================================================== --- trunk/StockTransfers.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/StockTransfers.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -24,9 +24,9 @@ if (isset($_POST['CheckCode'])) { echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Dispatch') . - '" alt="" />' . ' ' . _('Select Item to Transfer') . ' - </p>'; + <img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Dispatch') . '" alt="" /> + ' . ' ' . _('Select Item to Transfer') . ' + </p>'; if (mb_strlen($_POST['StockText'])>0) { $sql="SELECT stockid, @@ -444,9 +444,8 @@ } echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Dispatch') . - '" alt="" />' . ' ' . $title . ' - </p>'; + <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Dispatch') . '" alt="" />' . ' ' . $title . ' + </p>'; echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -471,7 +470,7 @@ } else { echo '<input type="text" name="StockCode" size="21" value="" maxlength="20" />'; } -echo '</td><td><input type=submit name="CheckCode" value="'._('Check Part').'" /></td></tr>'; +echo '</td><td><input type="submit" name="CheckCode" value="'._('Check Part').'" /></td></tr>'; if (isset($_SESSION['Transfer']->TransferItem[0]->ItemDescription) AND mb_strlen($_SESSION['Transfer']->TransferItem[0]->ItemDescription)>1){ @@ -536,9 +535,9 @@ echo '<td class="number"><input type="hidden" name="Quantity" value=' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '/><a href="' . $rootpath .'/StockTransferControlled.php?StockLocationFrom='.$_SESSION['Transfer']->StockLocationFrom.'">' . $_SESSION['Transfer']->TransferItem[0]->Quantity . '</a></td></tr>'; } elseif (isset($_SESSION['Transfer']->TransferItem[0]->Controlled)){ - echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value=' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '></td></tr>'; + echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value="' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '" /></td></tr>'; } else { - echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value="0"></td> + echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value="0" /></td> </tr>'; } Modified: trunk/SuppLoginSetup.php =================================================================== --- trunk/SuppLoginSetup.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/SuppLoginSetup.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -133,7 +133,7 @@ } echo '<tr> <td>' . _('Password') . ':</td> - <td><input type="password" name="Password" size="22" maxlength="20" value="' . $_POST['Password'] . '"> + <td><input type="password" name="Password" size="22" maxlength="20" value="' . $_POST['Password'] . '" /> </tr> <tr> <td>' . _('Full Name') . ':</td> Modified: trunk/SupplierInvoice.php =================================================================== --- trunk/SupplierInvoice.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/SupplierInvoice.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -26,7 +26,8 @@ $SupplierName=$_SESSION['SuppTrans']->SupplierName; } -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Supplier Invoice') . '" alt="">' . ' ' . _('Enter Supplier Invoice:') . ' ' . $SupplierName; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Supplier Invoice') . '" alt="" /> + ' . ' ' . _('Enter Supplier Invoice:') . ' ' . $SupplierName; echo '</p>'; if (isset($_GET['SupplierID']) and $_GET['SupplierID']!=''){ @@ -252,7 +253,7 @@ echo '<tr> <td>' . _('Supplier Invoice Reference') . ':</td> - <td><input type="text" size="20" maxlength="20" name="SuppReference" value="' . $_SESSION['SuppTrans']->SuppReference . '"></td>'; + <td><input type="text" size="20" maxlength="20" name="SuppReference" value="' . $_SESSION['SuppTrans']->SuppReference . '" /></td>'; if (!isset($_SESSION['SuppTrans']->TranDate)){ $_SESSION['SuppTrans']->TranDate= Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,Date('m'),Date('d')-1,Date('y'))); @@ -491,7 +492,7 @@ <table class="selection"> <tr> <td>' . _('Amount in supplier currency') . ':</td> - <td colspan=2 class="number"><input type="text" size="12" maxlength="10" name="OvAmount" value="' . locale_number_format( $_SESSION['SuppTrans']->OvAmount,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" /></td> + <td colspan="2" class="number"><input type="text" size="12" maxlength="10" name="OvAmount" value="' . locale_number_format( $_SESSION['SuppTrans']->OvAmount,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" /></td> </tr>'; } Modified: trunk/WorkOrderEntry.php =================================================================== --- trunk/WorkOrderEntry.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/WorkOrderEntry.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -651,12 +651,11 @@ $k=1; } - printf('<td><font size="1">%s</font></td> - <td><font size="1">%s</font></td> - <td><font size="1">%s</font></td> + printf('<td>%s</td> <td>%s</td> - <td><font size=1><a href="%s">' - . _('Add to Work Order') . '</a></font></td> + <td>%s</td> + <td>%s</td> + <td><a href="%s">' . _('Add to Work Order') . '</a></td> </tr>', $myrow['stockid'], $myrow['description'], Modified: trunk/Z_ImportGLAccountGroups.php =================================================================== --- trunk/Z_ImportGLAccountGroups.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/Z_ImportGLAccountGroups.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -69,8 +69,8 @@ echo '<form name="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' .SID .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table><tr><td>'._('File to import').'</td>'. - '<td><input type="file" id="ImportFile" name="ImportFile"></td></tr></table>'; - echo '<div class="centre"><input type="submit" name="update" value="Process"></div>'; + '<td><input type="file" id="ImportFile" name="ImportFile" /></td></tr></table>'; + echo '<div class="centre"><input type="submit" name="update" value="Process" /></div>'; echo '</form>'; } Modified: trunk/Z_ImportPartCodes.php =================================================================== --- trunk/Z_ImportPartCodes.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/Z_ImportPartCodes.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -80,8 +80,8 @@ echo '<form name="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' .SID .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table><tr><td>'._('File to import').'</td>'. - '<td><input type="file" id="ImportFile" name="ImportFile"></td></tr></table>'; - echo '<div class="centre"><input type="submit" name="update" value="Process"></div>'; + '<td><input type="file" id="ImportFile" name="ImportFile" /></td></tr></table>'; + echo '<div class="centre"><input type="submit" name="update" value="Process" /></div>'; echo '</form>'; } } Modified: trunk/Z_poEditLangModule.php =================================================================== --- trunk/Z_poEditLangModule.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/Z_poEditLangModule.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -152,8 +152,8 @@ } else { echo '<tr>'; echo '<td VALIGN="top"><I>' . $DefaultText[$i] . '</I></td>'; - echo '<td VALIGN="top"><input type="text" size="60" name="moduletext_' . $msgstr[$i] . '" VALUE="' . $ModuleText[$i] . '"></td>'; - echo '<td VALIGN="top">' . $AlsoIn[$i] . '<input type="hidden" name="msgstr_' . $msgstr[$i] . '" VALUE="' . $msgstr[$i] . '"></td>'; + echo '<td VALIGN="top"><input type="text" size="60" name="moduletext_' . $msgstr[$i] . '" VALUE="' . $ModuleText[$i] . '" /></td>'; + echo '<td VALIGN="top">' . $AlsoIn[$i] . '<input type="hidden" name="msgstr_' . $msgstr[$i] . '" VALUE="' . $msgstr[$i] . '" /></td>'; echo '</tr>'; echo '<tr><th colspan="3"></th></tr>'; } @@ -165,8 +165,8 @@ echo '</td></tr>'; echo '</table>'; echo '<br /><div class="centre">'; - echo '<input type="Submit" name="submit" VALUE="' . _('Modify') . '"> '; - echo '<input type="hidden" name="module" VALUE="' . $_POST['module'] . '">'; + echo '<input type="submit" name="submit" VALUE="' . _('Modify') . '" /> '; + echo '<input type="hidden" name="module" VALUE="' . $_POST['module'] . '" />'; echo '</form>'; echo '</div>'; @@ -229,8 +229,8 @@ echo '</tr></table>'; echo '<br />'; echo '<div class="centre">'; - echo '<input type="Submit" name="proceed" VALUE="' . _('Proceed') . '"> '; - echo '<br /><br /><input type="Submit" name="ReMergePO" VALUE="' . _('Refresh messages with latest strings') . '">'; + echo '<input type="submit" name="proceed" VALUE="' . _('Proceed') . '" /> '; + echo '<br /><br /><input type="submit" name="ReMergePO" VALUE="' . _('Refresh messages with latest strings') . '">'; echo '</div>'; echo '</form>'; echo '</td></tr></table>'; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/doc/Change.log 2012-01-21 15:41:50 UTC (rev 4827) @@ -1,5 +1,6 @@ webERP Change Log +21/1/12 Vitaly: xhtml fixes in multiple files. 20/1/12 Phil: Fixed GetStockPrice API function for effectivty dates 20/1/12 Vitaly: Changed $DB_error_no($db) to DB_error_no($db) in Z_ChangeStockCode.php 20/1/12 Vitaly: xhtml fixes in CustomerBranches.php StockAdjustments.php WorkOrderEntry.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-01-21 15:41:58
|
Revision: 4827 http://web-erp.svn.sourceforge.net/web-erp/?rev=4827&view=rev Author: vvs2012 Date: 2012-01-21 15:41:50 +0000 (Sat, 21 Jan 2012) Log Message: ----------- xhtml fixes in multiple files Modified Paths: -------------- trunk/AuditTrail.php trunk/FixedAssetDepreciation.php trunk/FixedAssetLocations.php trunk/GLAccountInquiry.php trunk/PDFCustTransListing.php trunk/PcClaimExpensesFromTab.php trunk/PurchData.php trunk/SelectCompletedOrder.php trunk/StockCostUpdate.php trunk/StockLocStatus.php trunk/StockTransfers.php trunk/SuppLoginSetup.php trunk/SupplierInvoice.php trunk/WorkOrderEntry.php trunk/Z_ImportGLAccountGroups.php trunk/Z_ImportPartCodes.php trunk/Z_poEditLangModule.php trunk/doc/Change.log Modified: trunk/AuditTrail.php =================================================================== --- trunk/AuditTrail.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/AuditTrail.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -39,9 +39,9 @@ echo '<table class="selection">'; echo '<tr><td>'. _('From Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="1" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value=' .$_POST['FromDate'].'></td></tr>'; + <td><input tabindex="1" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="FromDate" size="11" maxlength="10" value="' .$_POST['FromDate']. '" /></td></tr>'; echo '<tr><td>'. _('To Date') . ' ' . $_SESSION['DefaultDateFormat'] .'</td> - <td><input tabindex="2" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value=' . $_POST['ToDate'] . '></td></tr>'; + <td><input tabindex="2" type="text" class=date alt="'.$_SESSION['DefaultDateFormat'].'" name="ToDate" size="11" maxlength="10" value="' . $_POST['ToDate'] . '" /></td></tr>'; // Show user selections echo '<tr><td>'. _('User ID'). '</td> @@ -74,11 +74,11 @@ } // Show the text echo '<tr><td>' . _('Containing text') . ':</td>'; -echo '<td><input type="text" name="ContainingText" size=20 maxlength=20 value="'. $_POST['ContainingText'] . '"></td></tr>'; +echo '<td><input type="text" name="ContainingText" size="20" maxlength="20" value="'. $_POST['ContainingText'] . '" /></td></tr>'; echo '</table><br />'; -echo '<div class="centre"><input tabindex="5" type="submit" name="View" value="' . _('View') . '"></div>'; +echo '<div class="centre"><input tabindex="5" type="submit" name="View" value="' . _('View') . '" /></div>'; echo '</form>'; // View the audit trail Modified: trunk/FixedAssetDepreciation.php =================================================================== --- trunk/FixedAssetDepreciation.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/FixedAssetDepreciation.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -109,11 +109,11 @@ while ($AssetRow=DB_fetch_array($AssetsResult)) { if ($AssetCategoryDescription != $AssetRow['categorydescription'] OR $AssetCategoryDescription =='0'){ if ($AssetCategoryDescription !='0'){ //then print totals - echo '<tr><th colspan=3 align="right">' . _('Total for') . ' ' . $AssetCategoryDescription . ' </th> + echo '<tr><th colspan="3" align="right">' . _('Total for') . ' ' . $AssetCategoryDescription . ' </th> <th class="number">' . locale_number_format($TotalCategoryCost,$_SESSION['CompanyRecord']['decimalplaces']) . '</th> <th class="number">' . locale_number_format($TotalCategoryAccumDepn,$_SESSION['CompanyRecord']['decimalplaces']) . '</th> <th class="number">' . locale_number_format(($TotalCategoryCost-$TotalCategoryAccumDepn),$_SESSION['CompanyRecord']['decimalplaces']) . '</th> - <th colspan=2></th> + <th colspan="2"></th> <th class="number">' . locale_number_format($TotalCategoryDepn,$_SESSION['CompanyRecord']['decimalplaces']) . '</th> </tr>'; } Modified: trunk/FixedAssetLocations.php =================================================================== --- trunk/FixedAssetLocations.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/FixedAssetLocations.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -115,10 +115,10 @@ <tr> <th style="text-align:left">'._('Location ID').'</th>'; if (isset($_GET['SelectedLocation'])) { - echo '<input type="hidden" name=LocationID value="'.$LocationID.'" />'; + echo '<input type="hidden" name="LocationID" value="'.$LocationID.'" />'; echo '<td>'.$LocationID.'</td>'; } else { - echo '<td><input type="text" name=LocationID size=6 value="'.$LocationID.'" /></td> + echo '<td><input type="text" name="LocationID" size="6" value="'.$LocationID.'" /></td> </tr>'; } Modified: trunk/GLAccountInquiry.php =================================================================== --- trunk/GLAccountInquiry.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/GLAccountInquiry.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -74,7 +74,7 @@ } } echo '</select></td></tr><table>'; -echo '<p><div class="centre"><input type=submit name="Show" value="'._('Show Account Transactions').'"></div></form>'; +echo '<p><div class="centre"><input type="submit" name="Show" value="'._('Show Account Transactions').'" /></div></form>'; /* End of the Form rest of script is what happens if the show button is hit*/ @@ -145,7 +145,7 @@ echo '<br /><table class=selection>'; - echo '<tr><th colspan=8><b>' ._('Transactions for account').' '.$SelectedAccount. ' - '. $SelectedAccountName.'</b></th></tr>'; + echo '<tr><th colspan="8"><b>' ._('Transactions for account').' '.$SelectedAccount. ' - '. $SelectedAccountName.'</b></th></tr>'; $TableHeader = '<tr> <th>' . _('Type') . '</th> <th>' . _('Number') . '</th> @@ -178,16 +178,16 @@ $RunningTotal =$ChartDetailRow['bfwd']; if ($RunningTotal < 0 ){ //its a credit balance b/fwd echo '<tr bgcolor="#FDFEEF"> - <td colspan=3><b>' . _('Brought Forward Balance') . '</b><td> + <td colspan="3"><b>' . _('Brought Forward Balance') . '</b><td> </td></td> - <td class=number><b>' . locale_number_format(-$RunningTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format(-$RunningTotal,2) . '</b></td> <td></td> </tr>'; } else { //its a debit balance b/fwd echo '<tr bgcolor="#FDFEEF"> - <td colspan=3><b>' . _('Brought Forward Balance') . '</b></td> - <td class=number><b>' . locale_number_format($RunningTotal,2) . '</b></td> - <td colspan=2></td> + <td colspan="3"><b>' . _('Brought Forward Balance') . '</b></td> + <td class="number"><b>' . locale_number_format($RunningTotal,2) . '</b></td> + <td colspan="2"></td> </tr>'; } } @@ -214,21 +214,21 @@ $ChartDetailRow = DB_fetch_array($ChartDetailsResult); echo '<tr bgcolor="#FDFEEF"> - <td colspan=3><b>' . _('Total for period') . ' ' . $PeriodNo . '</b></td>'; + <td colspan="3"><b>' . _('Total for period') . ' ' . $PeriodNo . '</b></td>'; if ($PeriodTotal < 0 ){ //its a credit balance b/fwd if ($PandLAccount==True) { $RunningTotal = 0; } echo '<td></td> - <td class=number><b>' . locale_number_format(-$PeriodTotal,2) . '</b></td> + <td class="number"><b>' . locale_number_format(-$PeriodTotal,2) . '</b></td> <td></td> </tr>'; } else { //its a debit balance b/fwd if ($PandLAccount==True) { $RunningTotal = 0; } - echo '<td class=number><b>' . locale_number_format($PeriodTotal,2) . '</b></td> - <td colspan=2></td> + echo '<td class="number"><b>' . locale_number_format($PeriodTotal,2) . '</b></td> + <td colspan="2"></td> </tr>'; } $IntegrityReport .= '<br />' . _('Period') . ': ' . $PeriodNo . _('Account movement per transaction') . ': ' . locale_number_format($PeriodTotal,2) . ' ' . _('Movement per ChartDetails record') . ': ' . locale_number_format($ChartDetailRow['actual'],2) . ' ' . _('Period difference') . ': ' . locale_number_format($PeriodTotal -$ChartDetailRow['actual'],3); @@ -290,7 +290,7 @@ } - echo '<tr bgcolor="#FDFEEF"><td colspan=3><b>'; + echo '<tr bgcolor="#FDFEEF"><td colspan="3"><b>'; if ($PandLAccount==True){ echo _('Total Period Movement'); } else { /*its a balance sheet account*/ @@ -299,9 +299,9 @@ echo '</b></td>'; if ($RunningTotal >0){ - echo '<td class=number><b>' . locale_number_format(($RunningTotal),2) . '</b></td><td colspan=2></td></tr>'; + echo '<td class="number"><b>' . locale_number_format(($RunningTotal),2) . '</b></td><td colspan="2"></td></tr>'; }else { - echo '<td></td><td class=number><b>' . locale_number_format((-$RunningTotal),2) . '</b></td><td colspan=2></td></tr>'; + echo '<td></td><td class="number"><b>' . locale_number_format((-$RunningTotal),2) . '</b></td><td colspan="2"></td></tr>'; } echo '</table>'; } /* end of if Show button hit */ Modified: trunk/PDFCustTransListing.php =================================================================== --- trunk/PDFCustTransListing.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/PDFCustTransListing.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -19,7 +19,7 @@ echo '<div class="centre"> <p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="">' . ' ' . _('Customer Transaction Listing'). + <img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . $title . '" alt="" />' . ' ' . _('Customer Transaction Listing'). '</p>'; if ($InputError==1){ @@ -31,7 +31,7 @@ echo '<table class="selection"> <tr> <td>' . _('Enter the date for which the transactions are to be listed') . ':</td> - <td><input type="text" name="Date" maxlength="10" size="10" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '"></td> + <td><input type="text" name="Date" maxlength="10" size="10" class=date alt="' . $_SESSION['DefaultDateFormat'] . '" value="' . Date($_SESSION['DefaultDateFormat']) . '" /></td> </tr>'; echo '<tr><td>' . _('Transaction type') . '</td> @@ -46,7 +46,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/PcClaimExpensesFromTab.php =================================================================== --- trunk/PcClaimExpensesFromTab.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/PcClaimExpensesFromTab.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -164,14 +164,14 @@ echo '</select></td></tr>'; echo '</td></tr></table>'; // close main table - echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"><input type=submit name="Cancel" value="' . _('Cancel') . '"></div>'; + echo '<p><div class="centre"><input type="submit" name="Process" value="' . _('Accept') . '"><input type="submit" name="Cancel" value="' . _('Cancel') . '" /></div>'; echo '</form>'; } else { // isset($SelectedTabs) - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Petty Cash Claim Entry') - . '" alt="" />' . ' ' . $title . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Petty Cash Claim Entry') . '" alt="" /> + ' . ' ' . $title . '</p>'; echo '<p><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF']) . '">' . _('Select another tab') . '</a></div></p>'; @@ -320,9 +320,9 @@ $_POST['Notes'] = $myrow['notes']; $_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="Days" value="' .$Days. '">'; + echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; + echo '<input type="hidden" name="SelectedIndex" value="' . $SelectedIndex. '" />'; + echo '<input type="hidden" name="Days" value="' .$Days. '" />'; }//end of Get Edit @@ -331,7 +331,7 @@ } echo '<tr><td>' . _('Date Of Expense') . ':</td> - <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="Date" size=10 maxlength=10 value="' . $_POST['Date']. '"></td></tr>'; + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="Date" size="10" maxlength="10" value="' . $_POST['Date']. '" /></td></tr>'; echo '<tr><td>' . _('Code Of Expense') . ':</td><td><select name="SelectedExpense">'; DB_free_result($result); @@ -363,26 +363,26 @@ } echo '<tr><td>' . _('Amount') . ':</td> - <td><input type="text" class="number" name="amount" size="12" maxlength="11" value="' . $_POST['Amount'] . '"></td></tr>'; + <td><input type="text" class="number" name="amount" size="12" maxlength="11" value="' . $_POST['Amount'] . '" /></td></tr>'; if (!isset($_POST['Notes'])) { $_POST['Notes']=''; } echo '<tr><td>' . _('Notes') . ':</td> - <td><input type="text" name="Notes" size="50" maxlength="49" value="' . $_POST['Notes'] . '"></td></tr>'; + <td><input type="text" name="Notes" size="50" maxlength="49" value="' . $_POST['Notes'] . '" /></td></tr>'; if (!isset($_POST['Receipt'])) { $_POST['Receipt']=''; } echo '<tr><td>' . _('Receipt') . ':</td> - <td><input type="text" name="Receipt" size="50" maxlength="49" value="' . $_POST['Receipt'] . '"></td></tr>'; - echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '">'; - echo '<input type="hidden" name="Days" value="' .$Days. '">'; + <td><input type="text" name="Receipt" size="50" maxlength="49" value="' . $_POST['Receipt'] . '" /></td></tr>'; + echo '<input type="hidden" name="SelectedTabs" value="' . $SelectedTabs . '" />'; + echo '<input type="hidden" name="Days" value="' .$Days. '" />'; 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>'; } // end if user wish to delete Modified: trunk/PurchData.php =================================================================== --- trunk/PurchData.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/PurchData.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -1,4 +1,4 @@ -<?php +<?php /* $Id$*/ include ('includes/session.inc'); @@ -160,7 +160,7 @@ prnMsg(_('There is no purchasing data set up for the part selected'), 'info'); $NoPurchasingData=1; } else if ($StockID != '') { - echo '<table cellpadding=2 class=selection>'; + echo '<table cellpadding="2" class="selection">'; $TableHeader = '<tr><th>' . _('Supplier') . '</th> <th>' . _('Price') . '</th> <th>' . _('Supplier Unit') . '</th> @@ -263,11 +263,11 @@ <tr>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="StockID" value="' . $StockID . '" />'; - echo '<td>' . _('Text in the Supplier') . ' <b>' . _('NAME') . '</b>:</font></td>'; + echo '<td>' . _('Text in the Supplier') . ' <b>' . _('NAME') . '</b>:</td>'; echo '<td><input type="text" name="Keywords" size="20" maxlength="25" /></td>'; - echo '<td><font size=3><b>' . _('OR') . '</b></font></td>'; - echo '<td>' . _('Text in Supplier') . ' <b>' . _('CODE') . '</b>:</font></td>'; - echo '<td><input type="text" name="SupplierCode" size=15 maxlength=18></td>'; + echo '<td><b>' . _('OR') . '</b></td>'; + echo '<td>' . _('Text in Supplier') . ' <b>' . _('CODE') . '</b>:</td>'; + echo '<td><input type="text" name="SupplierCode" size="15" maxlength="18" /></td>'; echo '</tr></table><br />'; echo '<div class="centre"> <input type="submit" name="SearchSupplier" value="' . _('Find Suppliers Now') . '" /> @@ -334,7 +334,7 @@ include ('includes/footer.inc'); exit; } else { - // echo '<br /><font color=BLUE size=3><b>' . $StockID . ' - ' . $myrow[0] . ' </b> (' . _('In Units of') . ' ' . $myrow[1] . ' )</font>'; + // echo '<br /><b>' . $StockID . ' - ' . $myrow[0] . ' </b> (' . _('In Units of') . ' ' . $myrow[1] . ' )'; } } else { prnMsg(_('Stock Item') . ' - ' . $StockID . ' ' . _('is not defined in the database'), 'warn'); @@ -364,12 +364,12 @@ echo '<tr class="OddTableRows">'; $k++; } - printf('<td><font size=1><input type="submit" name="SupplierID" value="%s"</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> - <td><font size=1>%s</font></td> + printf('<td><input type="submit" name="SupplierID" value="%s" /></td> + <td>%s</td> + <td>%s</td> + <td>%s</td> + <td>%s</td> + <td>%s</td> </tr>', $myrow['supplierid'], $myrow['suppname'], @@ -440,23 +440,23 @@ } if (isset($_GET['Edit'])) { echo '<tr><td>' . _('Supplier Name') . ':</td> - <td><input type="hidden" name="SupplierID" value="' . $SupplierID . '" />' . $SupplierID . ' - ' . $SuppName . '<input type=hidden name="WasEffectiveFrom" value="' . $myrow['effectivefrom'] . '" /></td> + <td><input type="hidden" name="SupplierID" value="' . $SupplierID . '" />' . $SupplierID . ' - ' . $SuppName . '<input type="hidden" name="WasEffectiveFrom" value="' . $myrow['effectivefrom'] . '" /></td> </tr>'; } else { echo '<tr> <td>' . _('Supplier Name') . ':</td> - <input type="hidden" name="SupplierID" maxlength=10 size=11 value="' . $SupplierID . '" />'; + <input type="hidden" name="SupplierID" maxlength="10" size="11" value="' . $SupplierID . '" />'; if ($SupplierID!='') { echo '<td>'.$SuppName; } if (!isset($SuppName) OR $SuppName = "") { - echo '<font size=1>' . '(' . _('A search facility is available below if necessary') . ')'; + echo '(' . _('A search facility is available below if necessary') . ')'; } else { echo '<td>'.$SuppName; } echo '</td></tr>'; } - echo '<td><input type="hidden" name="StockID" maxlength=10 size=11 value="' . $StockID . '" />'; + echo '<td><input type="hidden" name="StockID" maxlength="10" size="11" value="' . $StockID . '" />'; if (!isset($CurrCode)) { $CurrCode = ''; } @@ -479,11 +479,11 @@ $_POST['MinOrderQty'] = '1'; } echo '<tr><td>' . _('Currency') . ':</td> - <td><input type="hidden" name="CurrCode" . value="' . $CurrCode . '">' . $CurrCode . '</td></tr>'; + <td><input type="hidden" name="CurrCode" . value="' . $CurrCode . '" />' . $CurrCode . '</td></tr>'; echo '<tr><td>' . _('Price') . ' (' . _('in Supplier Currency') . '):</td> <td><input type="text" class="number" name="Price" maxlength="12" size="12" value=' . $_POST['Price'] . ' /></td></tr>'; echo '<tr><td>' . _('Date Updated') . ':</td> - <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="EffectiveFrom" maxlength="10" size="11" value="' . $_POST['EffectiveFrom'] . '"></td></tr>'; + <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="EffectiveFrom" maxlength="10" size="11" value="' . $_POST['EffectiveFrom'] . '" /></td></tr>'; echo '<tr><td>' . _('Our Unit of Measure') . ':</td>'; if (isset($SupplierID)) { echo '<td>' . $StockUOM . '</td></tr>'; @@ -496,18 +496,18 @@ $_POST['ConversionFactor'] = 1; } echo '<tr><td>' . _('Conversion Factor (to our UOM)') . ':</td> - <td><input type="text" class="number" name="ConversionFactor" maxlength="12" size="12" value=' . $_POST['ConversionFactor'] . '></td></tr>'; + <td><input type="text" class="number" name="ConversionFactor" maxlength="12" size="12" value="' . $_POST['ConversionFactor'] . '" /></td></tr>'; echo '<tr><td>' . _('Supplier Stock Code') . ':</td> - <td><input type="text" name="SupplierCode" maxlength="15" size="15" value="' . $_POST['SupplierCode'] . '"></td></tr>'; + <td><input type="text" name="SupplierCode" maxlength="15" size="15" value="' . $_POST['SupplierCode'] . '" /></td></tr>'; echo '<tr><td>' . _('MinOrderQty') . ':</td> - <td><input type="text" class="number" name="MinOrderQty" maxlength=15 size=15 value="' . $_POST['MinOrderQty'] . '"></td></tr>'; + <td><input type="text" class="number" name="MinOrderQty" maxlength="15" size="15" value="' . $_POST['MinOrderQty'] . '" /></td></tr>'; echo '<tr><td>' . _('Supplier Stock Description') . ':</td> - <td><input type="text" name="SupplierDescription" maxlength="50" size="51" value="' . $_POST['SupplierDescription'] . '"></td></tr>'; + <td><input type="text" name="SupplierDescription" maxlength="50" size="51" value="' . $_POST['SupplierDescription'] . '" /></td></tr>'; if (!isset($_POST['LeadTime']) OR $_POST['LeadTime'] == "") { $_POST['LeadTime'] = 1; } echo '<tr><td>' . _('Lead Time') . ' (' . _('in days from date of order') . '):</td> - <td><input type="text" class=number name="LeadTime" maxlength=4 size=5 value=' . $_POST['LeadTime'] . '></td></tr>'; + <td><input type="text" class=number name="LeadTime" maxlength="4" size="5" value="' . $_POST['LeadTime'] . '" /></td></tr>'; echo '<tr><td>' . _('Preferred Supplier') . ':</td> <td><select name="Preferred">'; if ($_POST['Preferred'] == 1) { @@ -519,9 +519,9 @@ } echo '</select></td></tr></table><br /><div class="centre">'; if (isset($_GET['Edit'])) { - echo '<input type=submit name="UpdateRecord" value="' . _('Update') . '" />'; + echo '<input type="submit" name="UpdateRecord" value="' . _('Update') . '" />'; } else { - echo '<input type=submit name="AddRecord" value="' . _('Add') . '" />'; + echo '<input type="submit" name="AddRecord" value="' . _('Add') . '" />'; } echo '</div>'; echo '<div class="centre">'; Modified: trunk/SelectCompletedOrder.php =================================================================== --- trunk/SelectCompletedOrder.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/SelectCompletedOrder.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -8,8 +8,8 @@ include('includes/header.inc'); -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . - '" alt="" />' . ' ' . _('Search Sales Orders') . '</p>'; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" /> + ' . ' ' . _('Search Sales Orders') . '</p>'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -60,8 +60,8 @@ } if (isset($OrderNumber)) { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Sales Order') . - '" alt="" />' . ' ' . _('Order Number') . ' - ' . $OrderNumber . '</p>'; + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Sales Order') . '" alt="" /> + ' . ' ' . _('Order Number') . ' - ' . $OrderNumber . '</p>'; if (mb_strlen($_SESSION['UserBranch'])>1){ echo _('For customer') . ': ' . $SelectedCustomer; echo '<input type="hidden" name="SelectedCustomer" value="' . $SelectedCustomer .'" />'; @@ -506,10 +506,10 @@ ORDER BY categorydescription",$db); echo '<br />'; - echo '<div class="page_help_text"><font size=1>' . _('To search for sales orders for a specific part use the part selection facilities below') . ' </font></div>'; + echo '<div class="page_help_text">' . _('To search for sales orders for a specific part use the part selection facilities below') . '</div>'; echo '<br /> <table class="selection">'; - echo '<tr><td><font size="1">' . _('Select a stock category') . ':</font>'; + echo '<tr><td>' . _('Select a stock category') . ':'; echo '<select name="StockCat">'; while ($myrow1 = DB_fetch_array($result1)) { @@ -521,15 +521,15 @@ } echo '</select> - <td><font size="1">' . _('Enter text extracts in the description') . ':</font></td> + <td>' . _('Enter text extracts in the description') . ':</td> <td><input type="text" name="Keywords" size="20" maxlength="25" /></td> </tr> <tr> <td></td> - <td><font size=3><b> ' ._('OR') . ' </b></font><font size=1>' . _('Enter extract of the Stock Code') . ':</font></td> + <td><b> ' ._('OR') . ' </b>' . _('Enter extract of the Stock Code') . ':</td> <td><input type="text" name="StockCode" size="15" maxlength="18" /></td> </tr> - <tr><td colspan=4><div class="centre"><input type="submit" name="SearchParts" value="' . _('Search Parts Now') . '" />'; + <tr><td colspan="4"><div class="centre"><input type="submit" name="SearchParts" value="' . _('Search Parts Now') . '" />'; if (count($_SESSION['AllowedPageSecurityTokens'])>1){ echo '<input type="submit" name="ResetPart" value="' . _('Show All') . '" /></div>'; @@ -569,12 +569,12 @@ $k++; } - printf('<td><font size=1><input type="submit" name="SelectedStockItem" value="%s" /></font></td> - <td><font size=1>%s</font></td> - <td class="number"><font size=1>%s</font></td> - <td class="number"><font size=1>%s</font></td> - <td class="number"><font size=1>%s</font></td> - <td><font size=1>%s</font></td></tr>', + printf('<td><input type="submit" name="SelectedStockItem" value="%s" /></td> + <td>%s</td> + <td class="number">%s</td> + <td class="number">%s</td> + <td class="number">%s</td> + <td>%s</td></tr>', $myrow['stockid'], $myrow['description'], locale_number_format($myrow['qoh'],$myrow['decimalplaces']), Modified: trunk/StockCostUpdate.php =================================================================== --- trunk/StockCostUpdate.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/StockCostUpdate.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -17,8 +17,9 @@ echo '<a href="' . $rootpath . '/SelectProduct.php">' . _('Back to Items') . '</a><br />'; -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . - _('Inventory Adjustment') . '" alt="" />' . ' ' . $title . '</p>'; +echo '<p class="page_title_text"> + <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Inventory Adjustment') . '" alt="" /> + ' . ' ' . $title . '</p>'; if (isset($_POST['UpdateData'])){ @@ -157,7 +158,7 @@ } else { if ($myrow['mbflag']=='M'){ - echo '<input type=hidden name="MaterialCost" value=' . $myrow['materialcost'] . '>'; + echo '<input type="hidden" name="MaterialCost" value=' . $myrow['materialcost'] . ' />'; echo '<tr><td>' . _('Standard Material Cost Per Unit') .':</td> <td class="number">' . locale_number_format($myrow['materialcost'],4) . '</td> </tr>'; @@ -175,8 +176,8 @@ <td class="number"><input type="text" class="number" name="MaterialCost" value="' . locale_number_format($myrow['materialcost'],4) . '" /></td> </tr>'; } else { - echo '<input type="hidden" name="LabourCost" value=0>'; - echo '<input type="hidden" name="OverheadCost" value=0>'; + echo '<input type="hidden" name="LabourCost" value=0 />'; + echo '<input type="hidden" name="OverheadCost" value=0 />'; } echo '</table> <br /> Modified: trunk/StockLocStatus.php =================================================================== --- trunk/StockLocStatus.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/StockLocStatus.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -24,9 +24,8 @@ $resultStkLocs = DB_query($sql,$db); echo '<p class="page_title_text"> - <img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . - '" alt="" />' . ' ' . $title.' - </p>'; + <img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.' + </p>'; echo '<table class="selection"> <tr><td>' . _('From Stock Location') . ':</td> Modified: trunk/StockTransfers.php =================================================================== --- trunk/StockTransfers.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/StockTransfers.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -24,9 +24,9 @@ if (isset($_POST['CheckCode'])) { echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Dispatch') . - '" alt="" />' . ' ' . _('Select Item to Transfer') . ' - </p>'; + <img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Dispatch') . '" alt="" /> + ' . ' ' . _('Select Item to Transfer') . ' + </p>'; if (mb_strlen($_POST['StockText'])>0) { $sql="SELECT stockid, @@ -444,9 +444,8 @@ } echo '<p class="page_title_text"> - <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Dispatch') . - '" alt="" />' . ' ' . $title . ' - </p>'; + <img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Dispatch') . '" alt="" />' . ' ' . $title . ' + </p>'; echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF']) . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -471,7 +470,7 @@ } else { echo '<input type="text" name="StockCode" size="21" value="" maxlength="20" />'; } -echo '</td><td><input type=submit name="CheckCode" value="'._('Check Part').'" /></td></tr>'; +echo '</td><td><input type="submit" name="CheckCode" value="'._('Check Part').'" /></td></tr>'; if (isset($_SESSION['Transfer']->TransferItem[0]->ItemDescription) AND mb_strlen($_SESSION['Transfer']->TransferItem[0]->ItemDescription)>1){ @@ -536,9 +535,9 @@ echo '<td class="number"><input type="hidden" name="Quantity" value=' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '/><a href="' . $rootpath .'/StockTransferControlled.php?StockLocationFrom='.$_SESSION['Transfer']->StockLocationFrom.'">' . $_SESSION['Transfer']->TransferItem[0]->Quantity . '</a></td></tr>'; } elseif (isset($_SESSION['Transfer']->TransferItem[0]->Controlled)){ - echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value=' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '></td></tr>'; + echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value="' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '" /></td></tr>'; } else { - echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value="0"></td> + echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value="0" /></td> </tr>'; } Modified: trunk/SuppLoginSetup.php =================================================================== --- trunk/SuppLoginSetup.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/SuppLoginSetup.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -133,7 +133,7 @@ } echo '<tr> <td>' . _('Password') . ':</td> - <td><input type="password" name="Password" size="22" maxlength="20" value="' . $_POST['Password'] . '"> + <td><input type="password" name="Password" size="22" maxlength="20" value="' . $_POST['Password'] . '" /> </tr> <tr> <td>' . _('Full Name') . ':</td> Modified: trunk/SupplierInvoice.php =================================================================== --- trunk/SupplierInvoice.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/SupplierInvoice.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -26,7 +26,8 @@ $SupplierName=$_SESSION['SuppTrans']->SupplierName; } -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Supplier Invoice') . '" alt="">' . ' ' . _('Enter Supplier Invoice:') . ' ' . $SupplierName; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('Supplier Invoice') . '" alt="" /> + ' . ' ' . _('Enter Supplier Invoice:') . ' ' . $SupplierName; echo '</p>'; if (isset($_GET['SupplierID']) and $_GET['SupplierID']!=''){ @@ -252,7 +253,7 @@ echo '<tr> <td>' . _('Supplier Invoice Reference') . ':</td> - <td><input type="text" size="20" maxlength="20" name="SuppReference" value="' . $_SESSION['SuppTrans']->SuppReference . '"></td>'; + <td><input type="text" size="20" maxlength="20" name="SuppReference" value="' . $_SESSION['SuppTrans']->SuppReference . '" /></td>'; if (!isset($_SESSION['SuppTrans']->TranDate)){ $_SESSION['SuppTrans']->TranDate= Date($_SESSION['DefaultDateFormat'], Mktime(0,0,0,Date('m'),Date('d')-1,Date('y'))); @@ -491,7 +492,7 @@ <table class="selection"> <tr> <td>' . _('Amount in supplier currency') . ':</td> - <td colspan=2 class="number"><input type="text" size="12" maxlength="10" name="OvAmount" value="' . locale_number_format( $_SESSION['SuppTrans']->OvAmount,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" /></td> + <td colspan="2" class="number"><input type="text" size="12" maxlength="10" name="OvAmount" value="' . locale_number_format( $_SESSION['SuppTrans']->OvAmount,$_SESSION['SuppTrans']->CurrDecimalPlaces) . '" /></td> </tr>'; } Modified: trunk/WorkOrderEntry.php =================================================================== --- trunk/WorkOrderEntry.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/WorkOrderEntry.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -651,12 +651,11 @@ $k=1; } - printf('<td><font size="1">%s</font></td> - <td><font size="1">%s</font></td> - <td><font size="1">%s</font></td> + printf('<td>%s</td> <td>%s</td> - <td><font size=1><a href="%s">' - . _('Add to Work Order') . '</a></font></td> + <td>%s</td> + <td>%s</td> + <td><a href="%s">' . _('Add to Work Order') . '</a></td> </tr>', $myrow['stockid'], $myrow['description'], Modified: trunk/Z_ImportGLAccountGroups.php =================================================================== --- trunk/Z_ImportGLAccountGroups.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/Z_ImportGLAccountGroups.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -69,8 +69,8 @@ echo '<form name="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' .SID .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table><tr><td>'._('File to import').'</td>'. - '<td><input type="file" id="ImportFile" name="ImportFile"></td></tr></table>'; - echo '<div class="centre"><input type="submit" name="update" value="Process"></div>'; + '<td><input type="file" id="ImportFile" name="ImportFile" /></td></tr></table>'; + echo '<div class="centre"><input type="submit" name="update" value="Process" /></div>'; echo '</form>'; } Modified: trunk/Z_ImportPartCodes.php =================================================================== --- trunk/Z_ImportPartCodes.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/Z_ImportPartCodes.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -80,8 +80,8 @@ echo '<form name="ItemForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF']) . '?' .SID .'">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table><tr><td>'._('File to import').'</td>'. - '<td><input type="file" id="ImportFile" name="ImportFile"></td></tr></table>'; - echo '<div class="centre"><input type="submit" name="update" value="Process"></div>'; + '<td><input type="file" id="ImportFile" name="ImportFile" /></td></tr></table>'; + echo '<div class="centre"><input type="submit" name="update" value="Process" /></div>'; echo '</form>'; } } Modified: trunk/Z_poEditLangModule.php =================================================================== --- trunk/Z_poEditLangModule.php 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/Z_poEditLangModule.php 2012-01-21 15:41:50 UTC (rev 4827) @@ -152,8 +152,8 @@ } else { echo '<tr>'; echo '<td VALIGN="top"><I>' . $DefaultText[$i] . '</I></td>'; - echo '<td VALIGN="top"><input type="text" size="60" name="moduletext_' . $msgstr[$i] . '" VALUE="' . $ModuleText[$i] . '"></td>'; - echo '<td VALIGN="top">' . $AlsoIn[$i] . '<input type="hidden" name="msgstr_' . $msgstr[$i] . '" VALUE="' . $msgstr[$i] . '"></td>'; + echo '<td VALIGN="top"><input type="text" size="60" name="moduletext_' . $msgstr[$i] . '" VALUE="' . $ModuleText[$i] . '" /></td>'; + echo '<td VALIGN="top">' . $AlsoIn[$i] . '<input type="hidden" name="msgstr_' . $msgstr[$i] . '" VALUE="' . $msgstr[$i] . '" /></td>'; echo '</tr>'; echo '<tr><th colspan="3"></th></tr>'; } @@ -165,8 +165,8 @@ echo '</td></tr>'; echo '</table>'; echo '<br /><div class="centre">'; - echo '<input type="Submit" name="submit" VALUE="' . _('Modify') . '"> '; - echo '<input type="hidden" name="module" VALUE="' . $_POST['module'] . '">'; + echo '<input type="submit" name="submit" VALUE="' . _('Modify') . '" /> '; + echo '<input type="hidden" name="module" VALUE="' . $_POST['module'] . '" />'; echo '</form>'; echo '</div>'; @@ -229,8 +229,8 @@ echo '</tr></table>'; echo '<br />'; echo '<div class="centre">'; - echo '<input type="Submit" name="proceed" VALUE="' . _('Proceed') . '"> '; - echo '<br /><br /><input type="Submit" name="ReMergePO" VALUE="' . _('Refresh messages with latest strings') . '">'; + echo '<input type="submit" name="proceed" VALUE="' . _('Proceed') . '" /> '; + echo '<br /><br /><input type="submit" name="ReMergePO" VALUE="' . _('Refresh messages with latest strings') . '">'; echo '</div>'; echo '</form>'; echo '</td></tr></table>'; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-01-21 00:49:44 UTC (rev 4826) +++ trunk/doc/Change.log 2012-01-21 15:41:50 UTC (rev 4827) @@ -1,5 +1,6 @@ webERP Change Log +21/1/12 Vitaly: xhtml fixes in multiple files. 20/1/12 Phil: Fixed GetStockPrice API function for effectivty dates 20/1/12 Vitaly: Changed $DB_error_no($db) to DB_error_no($db) in Z_ChangeStockCode.php 20/1/12 Vitaly: xhtml fixes in CustomerBranches.php StockAdjustments.php WorkOrderEntry.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-01-21 00:49:51
|
Revision: 4826 http://web-erp.svn.sourceforge.net/web-erp/?rev=4826&view=rev Author: daintree Date: 2012-01-21 00:49:44 +0000 (Sat, 21 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/CustomerBranches.php trunk/StockAdjustments.php trunk/doc/Change.log Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2012-01-20 23:11:00 UTC (rev 4825) +++ trunk/CustomerBranches.php 2012-01-21 00:49:44 UTC (rev 4826) @@ -85,9 +85,9 @@ if (!isset($_POST['EstDeliveryDays'])) { $_POST['EstDeliveryDays']=1; } - if (!isset($latitude)) { - $latitude=0.0; - $longitude=0.0; + if (!isset($Latitude)) { + $Latitude=0.0; + $Longitude=0.0; } if ($_SESSION['geocode_integration']==1 ){ // Get the lat/long from our geocoding host @@ -110,8 +110,8 @@ $coordinates = $xml->Response->Placemark->Point->coordinates; $coordinatesSplit = explode(",", $coordinates); // Format: Longitude, Latitude, Altitude - $latitude = $coordinatesSplit[1]; - $longitude = $coordinatesSplit[0]; + $Latitude = $coordinatesSplit[1]; + $Longitude = $coordinatesSplit[0]; $status = $xml->Response->Status->code; if (strcmp($status, '200') == 0) { @@ -120,8 +120,8 @@ $coordinates = $xml->Response->Placemark->Point->coordinates; $coordinatesSplit = explode(",", $coordinates); // Format: Longitude, Latitude, Altitude - $latitude = $coordinatesSplit[1]; - $longitude = $coordinatesSplit[0]; + $Latitude = $coordinatesSplit[1]; + $Longitude = $coordinatesSplit[0]; } else { // failure to geocode $geocode_pending = false; @@ -141,8 +141,8 @@ braddress4 = '" . $_POST['BrAddress4'] . "', braddress5 = '" . $_POST['BrAddress5'] . "', braddress6 = '" . $_POST['BrAddress6'] . "', - lat = '" . $latitude . "', - lng = '" . $longitude . "', + lat = '" . $Latitude . "', + lng = '" . $Longitude . "', specialinstructions = '" . $_POST['SpecialInstructions'] . "', phoneno='" . $_POST['PhoneNo'] . "', faxno='" . $_POST['FaxNo'] . "', @@ -209,8 +209,8 @@ '" . $_POST['BrAddress4'] . "', '" . $_POST['BrAddress5'] . "', '" . $_POST['BrAddress6'] . "', - '" . $latitude . "', - '" . $longitude . "', + '" . $Latitude . "', + '" . $Longitude . "', '" . $_POST['SpecialInstructions'] . "', '" . filter_number_format($_POST['EstDeliveryDays']) . "', '" . $_POST['FwdDate'] . "', @@ -362,9 +362,9 @@ if ($myrow) { echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" /> ' . ' ' . _('Branches defined for'). ' '. $DebtorNo . ' - ' . $myrow[0] . '</p>'; - echo '<table class=selection>'; - - echo '<tr><th>'._('Code').'</th> + echo '<table class="selection"> + <tr> + <th>'._('Code').'</th> <th>'._('Name').'</th> <th>'._('Branch Contact').'</th> <th>'._('Salesman').'</th> @@ -373,7 +373,8 @@ <th>'._('Fax No').'</th> <th>'._('Email').'</th> <th>'._('Tax Group').'</th> - <th>'._('Enabled?').'</th></tr>'; + <th>'._('Enabled?').'</th> + </tr>'; $k=0; do { @@ -425,10 +426,16 @@ } while ($myrow = DB_fetch_row($result)); //END WHILE LIST LOOP - echo '</table><br /><table class=selection><tr><td><div class="centre">'; + echo '</table> + <br /> + <table class="selection"> + <tr> + <td><div class="centre">'; echo '<b>'.$TotalEnable.'</b> ' . _('Branches are enabled.') . '<br />'; echo '<b>'.$TotalDisable.'</b> ' . _('Branches are disabled.') . '<br />'; - echo '<b>'.($TotalEnable+$TotalDisable). '</b> ' . _('Total Branches') . '</div></td></tr></table>'; + echo '<b>'.($TotalEnable+$TotalDisable). '</b> ' . _('Total Branches') . '</div></td> + </tr> + </table>'; } else { $sql = "SELECT debtorsmaster.name, address1, @@ -577,7 +584,7 @@ $_POST['BranchCode']=''; } echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Add a Branch').'</p>'; - echo '<table class=selection> + echo '<table class="selection"> <tr> <td>'._('Branch Code'). ':</td> <td><input ' .(in_array('BranchCode',$Errors) ? 'class="inputerror"' : '' ) . ' tabindex="1" type="text" name="BranchCode" size="12" maxlength="10" value="' . $_POST['BranchCode'] . '" /></td> Modified: trunk/StockAdjustments.php =================================================================== --- trunk/StockAdjustments.php 2012-01-20 23:11:00 UTC (rev 4825) +++ trunk/StockAdjustments.php 2012-01-21 00:49:44 UTC (rev 4826) @@ -349,8 +349,11 @@ $_SESSION['Adjustment']->StandardCost=$myrow['materialcost']+$myrow['labourcost']+$myrow['overheadcost']; $DecimalPlaces = $myrow['decimalplaces']; } -echo '<br /><table class=selection>'; -echo '<tr><th colspan="4"><font color=blue size=3>'._('Adjustment Details').'</font></th></tr>'; +echo '<br /> + <table class="selection"> + <tr> + <th colspan="4"><font color=blue size="3">'._('Adjustment Details').'</font></th> + </tr>'; if (!isset($_GET['Description'])) { $_GET['Description']=''; } Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-01-20 23:11:00 UTC (rev 4825) +++ trunk/doc/Change.log 2012-01-21 00:49:44 UTC (rev 4826) @@ -1,5 +1,6 @@ webERP Change Log +20/1/12 Phil: Fixed GetStockPrice API function for effectivty dates 20/1/12 Vitaly: Changed $DB_error_no($db) to DB_error_no($db) in Z_ChangeStockCode.php 20/1/12 Vitaly: xhtml fixes in CustomerBranches.php StockAdjustments.php WorkOrderEntry.php 20/1/12 Tim: Merge tendering system from Tim's branch This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-01-21 00:49:50
|
Revision: 4826 http://web-erp.svn.sourceforge.net/web-erp/?rev=4826&view=rev Author: daintree Date: 2012-01-21 00:49:44 +0000 (Sat, 21 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/CustomerBranches.php trunk/StockAdjustments.php trunk/doc/Change.log Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2012-01-20 23:11:00 UTC (rev 4825) +++ trunk/CustomerBranches.php 2012-01-21 00:49:44 UTC (rev 4826) @@ -85,9 +85,9 @@ if (!isset($_POST['EstDeliveryDays'])) { $_POST['EstDeliveryDays']=1; } - if (!isset($latitude)) { - $latitude=0.0; - $longitude=0.0; + if (!isset($Latitude)) { + $Latitude=0.0; + $Longitude=0.0; } if ($_SESSION['geocode_integration']==1 ){ // Get the lat/long from our geocoding host @@ -110,8 +110,8 @@ $coordinates = $xml->Response->Placemark->Point->coordinates; $coordinatesSplit = explode(",", $coordinates); // Format: Longitude, Latitude, Altitude - $latitude = $coordinatesSplit[1]; - $longitude = $coordinatesSplit[0]; + $Latitude = $coordinatesSplit[1]; + $Longitude = $coordinatesSplit[0]; $status = $xml->Response->Status->code; if (strcmp($status, '200') == 0) { @@ -120,8 +120,8 @@ $coordinates = $xml->Response->Placemark->Point->coordinates; $coordinatesSplit = explode(",", $coordinates); // Format: Longitude, Latitude, Altitude - $latitude = $coordinatesSplit[1]; - $longitude = $coordinatesSplit[0]; + $Latitude = $coordinatesSplit[1]; + $Longitude = $coordinatesSplit[0]; } else { // failure to geocode $geocode_pending = false; @@ -141,8 +141,8 @@ braddress4 = '" . $_POST['BrAddress4'] . "', braddress5 = '" . $_POST['BrAddress5'] . "', braddress6 = '" . $_POST['BrAddress6'] . "', - lat = '" . $latitude . "', - lng = '" . $longitude . "', + lat = '" . $Latitude . "', + lng = '" . $Longitude . "', specialinstructions = '" . $_POST['SpecialInstructions'] . "', phoneno='" . $_POST['PhoneNo'] . "', faxno='" . $_POST['FaxNo'] . "', @@ -209,8 +209,8 @@ '" . $_POST['BrAddress4'] . "', '" . $_POST['BrAddress5'] . "', '" . $_POST['BrAddress6'] . "', - '" . $latitude . "', - '" . $longitude . "', + '" . $Latitude . "', + '" . $Longitude . "', '" . $_POST['SpecialInstructions'] . "', '" . filter_number_format($_POST['EstDeliveryDays']) . "', '" . $_POST['FwdDate'] . "', @@ -362,9 +362,9 @@ if ($myrow) { echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" /> ' . ' ' . _('Branches defined for'). ' '. $DebtorNo . ' - ' . $myrow[0] . '</p>'; - echo '<table class=selection>'; - - echo '<tr><th>'._('Code').'</th> + echo '<table class="selection"> + <tr> + <th>'._('Code').'</th> <th>'._('Name').'</th> <th>'._('Branch Contact').'</th> <th>'._('Salesman').'</th> @@ -373,7 +373,8 @@ <th>'._('Fax No').'</th> <th>'._('Email').'</th> <th>'._('Tax Group').'</th> - <th>'._('Enabled?').'</th></tr>'; + <th>'._('Enabled?').'</th> + </tr>'; $k=0; do { @@ -425,10 +426,16 @@ } while ($myrow = DB_fetch_row($result)); //END WHILE LIST LOOP - echo '</table><br /><table class=selection><tr><td><div class="centre">'; + echo '</table> + <br /> + <table class="selection"> + <tr> + <td><div class="centre">'; echo '<b>'.$TotalEnable.'</b> ' . _('Branches are enabled.') . '<br />'; echo '<b>'.$TotalDisable.'</b> ' . _('Branches are disabled.') . '<br />'; - echo '<b>'.($TotalEnable+$TotalDisable). '</b> ' . _('Total Branches') . '</div></td></tr></table>'; + echo '<b>'.($TotalEnable+$TotalDisable). '</b> ' . _('Total Branches') . '</div></td> + </tr> + </table>'; } else { $sql = "SELECT debtorsmaster.name, address1, @@ -577,7 +584,7 @@ $_POST['BranchCode']=''; } echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Add a Branch').'</p>'; - echo '<table class=selection> + echo '<table class="selection"> <tr> <td>'._('Branch Code'). ':</td> <td><input ' .(in_array('BranchCode',$Errors) ? 'class="inputerror"' : '' ) . ' tabindex="1" type="text" name="BranchCode" size="12" maxlength="10" value="' . $_POST['BranchCode'] . '" /></td> Modified: trunk/StockAdjustments.php =================================================================== --- trunk/StockAdjustments.php 2012-01-20 23:11:00 UTC (rev 4825) +++ trunk/StockAdjustments.php 2012-01-21 00:49:44 UTC (rev 4826) @@ -349,8 +349,11 @@ $_SESSION['Adjustment']->StandardCost=$myrow['materialcost']+$myrow['labourcost']+$myrow['overheadcost']; $DecimalPlaces = $myrow['decimalplaces']; } -echo '<br /><table class=selection>'; -echo '<tr><th colspan="4"><font color=blue size=3>'._('Adjustment Details').'</font></th></tr>'; +echo '<br /> + <table class="selection"> + <tr> + <th colspan="4"><font color=blue size="3">'._('Adjustment Details').'</font></th> + </tr>'; if (!isset($_GET['Description'])) { $_GET['Description']=''; } Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-01-20 23:11:00 UTC (rev 4825) +++ trunk/doc/Change.log 2012-01-21 00:49:44 UTC (rev 4826) @@ -1,5 +1,6 @@ webERP Change Log +20/1/12 Phil: Fixed GetStockPrice API function for effectivty dates 20/1/12 Vitaly: Changed $DB_error_no($db) to DB_error_no($db) in Z_ChangeStockCode.php 20/1/12 Vitaly: xhtml fixes in CustomerBranches.php StockAdjustments.php WorkOrderEntry.php 20/1/12 Tim: Merge tendering system from Tim's branch This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |