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. |