From: <vv...@us...> - 2012-03-06 21:05:59
|
Revision: 5044 http://web-erp.svn.sourceforge.net/web-erp/?rev=5044&view=rev Author: vvs2012 Date: 2012-03-06 21:05:52 +0000 (Tue, 06 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/COGSGLPostings.php trunk/ConfirmDispatch_Invoice.php trunk/ContractBOM.php trunk/ContractCosting.php trunk/ContractOtherReqts.php trunk/Contracts.php Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/COGSGLPostings.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -106,7 +106,7 @@ <td>%s</td> <td>%s</td> <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</td></tr>', + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</td></tr>', $myrow['area'], $myrow['stkcat'], $myrow['salestype'], @@ -204,7 +204,7 @@ <td>%s</td> <td>%s</td> <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</td> + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</td> </tr>', $myrow['area'], $myrow['stkcat'], @@ -228,6 +228,7 @@ echo '<br />'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedCOGSPostingID)) { @@ -353,6 +354,7 @@ <div class="centre"> <input tabindex="5" type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/ConfirmDispatch_Invoice.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -267,6 +267,7 @@ <br />'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*************************************************************** @@ -327,7 +328,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'])) { @@ -395,7 +396,7 @@ if ($LnItm->Controlled==1){ if (!isset($_POST['ProcessInvoice'])) { - echo '<td><a href="' . $rootpath . '/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">'; + echo '<td><a href="' . $rootpath . '/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">'; if ($LnItm->Serialised==1){ echo _('Enter Serial Numbers'); } else { /*Just batch/roll/lot control */ @@ -1613,9 +1614,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 />'; @@ -1666,7 +1667,7 @@ </div> <input type="hidden" name="ShipVia" value="' . $_SESSION['Items'.$identifier]->ShipVia . '" />'; } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/ContractBOM.php =================================================================== --- trunk/ContractBOM.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/ContractBOM.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -216,6 +216,7 @@ /* This is where the order as selected should be displayed reflecting any deletions or insertions*/ echo '<form name="ContractBOMForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (count($_SESSION['Contract'.$identifier]->ContractBOM)>0){ @@ -227,7 +228,7 @@ if (isset($_SESSION['Contract'.$identifier]->ContractRef)) { echo '<tr> - <th colspan="7"><font color="navy" size="2">' . _('Contract Reference:') .' '. $_SESSION['Contract'.$identifier]->ContractRef.'</font></th> + <th colspan="7">' . _('Contract Reference:') .' '. $_SESSION['Contract'.$identifier]->ContractRef.'</th> </tr>'; } @@ -263,7 +264,7 @@ <td>' . $ContractComponent->UOM . '</td> <td class="number">' . locale_number_format($ContractComponent->ItemCost,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> <td class="number">' . $DisplayLineTotal . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '&Delete=' . $ContractComponent->ComponentID . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this item from the contract BOM?') . '\');">' . _('Delete') . '</a></td></tr>'; + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '&Delete=' . $ContractComponent->ComponentID . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this item from the contract BOM?') . '\');">' . _('Delete') . '</a></td></tr>'; $TotalCost += $LineTotal; } @@ -317,17 +318,17 @@ } echo '</select></td> - <td><font size="2">' . _('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" value="' . $_POST['Keywords'] . '" /></td> </tr> <tr> <td></td> - <td><font size="3"> <b>' . _('OR') . ' </b></font><font size="2">' . _('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" value="' . $_POST['StockCode'] . '" /></td> </tr> <tr> <td></td> - <td><font size="3"><b>' . _('OR') . ' </b></font><font size="2"><a target="_blank" href="'.$rootpath.'/Stocks.php">' . _('Create a New Stock Item') . '</a></font></td> + <td><b>' . _('OR') . ' </b><a target="_blank" href="'.$rootpath.'/Stocks.php">' . _('Create a New Stock Item') . '</a></td> </tr> </table> <br /> @@ -364,7 +365,7 @@ } if (file_exists( $_SESSION['part_pics_dir'] . '/' . $myrow['stockid'] . '.jpg') ) { - $ImageSource = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC&StockID=' . $myrow['stockid']. '&text=&width=50&height=50" />'; + $ImageSource = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC&StockID=' . $myrow['stockid']. '&text=&width=50&height=50" />'; } else { $ImageSource = '<i>'._('No Image').'</i>'; } @@ -398,6 +399,7 @@ }#end if SearchResults to show echo '<hr /> + </div> </form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/ContractCosting.php =================================================================== --- trunk/ContractCosting.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/ContractCosting.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -432,12 +432,14 @@ if ($_SESSION['Contract'.$identifier]->Status ==2){//the contract is an order being processed now - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedContract=' . $_SESSION['Contract'.$identifier]->ContractRef . '&identifier=' . $identifier . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedContract=' . $_SESSION['Contract'.$identifier]->ContractRef . '&identifier=' . $identifier . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /> <div class="centre"> <input type="submit" name="CloseContract" value="' . _('Close Contract') . '" onclick="return confirm(\'' . _('Closing the contract will prevent further stock being issued to it and charges being made against it. Variances will be taken to the profit and loss account. Are You Sure?') . '\');" /> </div> + </div> </form>'; } Modified: trunk/ContractOtherReqts.php =================================================================== --- trunk/ContractOtherReqts.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/ContractOtherReqts.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -76,6 +76,7 @@ /* This is where the other requirement as entered/modified should be displayed reflecting any deletions or insertions*/ echo '<form name="ContractReqtsForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/contract.png" title="' . _('Contract Other Requirements') . '" alt="" /> ' . _('Contract Other Requirements') . ' - ' . $_SESSION['Contract'.$identifier]->CustomerName.'</p>'; @@ -165,7 +166,7 @@ <div class="centre"> <input type="submit" name="EnterNewRequirement" value="' . _('Enter New Contract Requirement') . '" /> </div> - + </div> </form>'; include('includes/footer.inc'); Modified: trunk/Contracts.php =================================================================== --- trunk/Contracts.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/Contracts.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -373,7 +373,7 @@ $DbgMsg = _('The SQL that failed to update the quotation was'); $UpdQuoteResult = DB_query($sql,$db,$ErrMsg,$DbgMsg); prnMsg(_('The contract quotation has been updated based on the new contract cost and margin'),'success'); - echo '<br /><a href="' .$rootpath . '/SelectSalesOrder.php?OrderNumber=' . $_SESSION['Contract'.$identifier]->OrderNo . '&Quotations=Quotes_Only">' . _('Go to Quotation') . ' ' . $_SESSION['Contract'.$identifier]->OrderNo . '</a>'; + echo '<br /><a href="' .$rootpath . '/SelectSalesOrder.php?OrderNumber=' . $_SESSION['Contract'.$identifier]->OrderNo . '&Quotations=Quotes_Only">' . _('Go to Quotation') . ' ' . $_SESSION['Contract'.$identifier]->OrderNo . '</a>'; } if ($ExistingContract['status'] == 0 AND $_POST['Status']==1){ @@ -747,6 +747,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/contract.png" title="' . _('Contract') . '" alt="" />' . ' ' . _('Contract: Select Customer') . '</p>'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier .'" name="CustomerSelection" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table cellpadding="3" colspan="4" class="selection"> @@ -807,7 +808,9 @@ //end of while loop echo '<input type="hidden" name="JustSelectedACustomer" value="Yes" />'; - echo '</table></form>'; + echo '</table> + </div> + </form>'; }//end if results to show @@ -815,6 +818,7 @@ } else { /*A customer is already selected so get into the contract setup proper */ echo '<form name="ContractEntry" enctype="multipart/form-data" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"> @@ -936,7 +940,7 @@ if ($_SESSION['Contract'.$identifier]->Status >=1) { echo '<tr> <td>' . _('Quotation Reference/Sales Order No') . ':</td> - <td><a href="' . $rootpath . '/SelectSalesOrder.php?OrderNumber=' . $_SESSION['Contract'.$identifier]->OrderNo . '&Quotations=Quotes_Only">' . $_SESSION['Contract'.$identifier]->OrderNo . '</a></td> + <td><a href="' . $rootpath . '/SelectSalesOrder.php?OrderNumber=' . $_SESSION['Contract'.$identifier]->OrderNo . '&Quotations=Quotes_Only">' . $_SESSION['Contract'.$identifier]->OrderNo . '</a></td> </tr>'; } if ($_SESSION['Contract'.$identifier]->Status!=2 and isset($_SESSION['Contract'.$identifier]->WO)) { @@ -1049,7 +1053,8 @@ </div> </p>'; } - echo '</form>'; + echo '</div> + </form>'; } /*end of if customer selected and entering contract header*/ 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-03-06 21:05:59
|
Revision: 5044 http://web-erp.svn.sourceforge.net/web-erp/?rev=5044&view=rev Author: vvs2012 Date: 2012-03-06 21:05:52 +0000 (Tue, 06 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/COGSGLPostings.php trunk/ConfirmDispatch_Invoice.php trunk/ContractBOM.php trunk/ContractCosting.php trunk/ContractOtherReqts.php trunk/Contracts.php Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/COGSGLPostings.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -106,7 +106,7 @@ <td>%s</td> <td>%s</td> <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</td></tr>', + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</td></tr>', $myrow['area'], $myrow['stkcat'], $myrow['salestype'], @@ -204,7 +204,7 @@ <td>%s</td> <td>%s</td> <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</td> + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</td> </tr>', $myrow['area'], $myrow['stkcat'], @@ -228,6 +228,7 @@ echo '<br />'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedCOGSPostingID)) { @@ -353,6 +354,7 @@ <div class="centre"> <input tabindex="5" type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/ConfirmDispatch_Invoice.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -267,6 +267,7 @@ <br />'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*************************************************************** @@ -327,7 +328,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'])) { @@ -395,7 +396,7 @@ if ($LnItm->Controlled==1){ if (!isset($_POST['ProcessInvoice'])) { - echo '<td><a href="' . $rootpath . '/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">'; + echo '<td><a href="' . $rootpath . '/ConfirmDispatchControlled_Invoice.php?identifier=' . $identifier . '&LineNo='. $LnItm->LineNumber.'">'; if ($LnItm->Serialised==1){ echo _('Enter Serial Numbers'); } else { /*Just batch/roll/lot control */ @@ -1613,9 +1614,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 />'; @@ -1666,7 +1667,7 @@ </div> <input type="hidden" name="ShipVia" value="' . $_SESSION['Items'.$identifier]->ShipVia . '" />'; } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/ContractBOM.php =================================================================== --- trunk/ContractBOM.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/ContractBOM.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -216,6 +216,7 @@ /* This is where the order as selected should be displayed reflecting any deletions or insertions*/ echo '<form name="ContractBOMForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (count($_SESSION['Contract'.$identifier]->ContractBOM)>0){ @@ -227,7 +228,7 @@ if (isset($_SESSION['Contract'.$identifier]->ContractRef)) { echo '<tr> - <th colspan="7"><font color="navy" size="2">' . _('Contract Reference:') .' '. $_SESSION['Contract'.$identifier]->ContractRef.'</font></th> + <th colspan="7">' . _('Contract Reference:') .' '. $_SESSION['Contract'.$identifier]->ContractRef.'</th> </tr>'; } @@ -263,7 +264,7 @@ <td>' . $ContractComponent->UOM . '</td> <td class="number">' . locale_number_format($ContractComponent->ItemCost,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> <td class="number">' . $DisplayLineTotal . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '&Delete=' . $ContractComponent->ComponentID . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this item from the contract BOM?') . '\');">' . _('Delete') . '</a></td></tr>'; + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '&Delete=' . $ContractComponent->ComponentID . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this item from the contract BOM?') . '\');">' . _('Delete') . '</a></td></tr>'; $TotalCost += $LineTotal; } @@ -317,17 +318,17 @@ } echo '</select></td> - <td><font size="2">' . _('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" value="' . $_POST['Keywords'] . '" /></td> </tr> <tr> <td></td> - <td><font size="3"> <b>' . _('OR') . ' </b></font><font size="2">' . _('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" value="' . $_POST['StockCode'] . '" /></td> </tr> <tr> <td></td> - <td><font size="3"><b>' . _('OR') . ' </b></font><font size="2"><a target="_blank" href="'.$rootpath.'/Stocks.php">' . _('Create a New Stock Item') . '</a></font></td> + <td><b>' . _('OR') . ' </b><a target="_blank" href="'.$rootpath.'/Stocks.php">' . _('Create a New Stock Item') . '</a></td> </tr> </table> <br /> @@ -364,7 +365,7 @@ } if (file_exists( $_SESSION['part_pics_dir'] . '/' . $myrow['stockid'] . '.jpg') ) { - $ImageSource = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC&StockID=' . $myrow['stockid']. '&text=&width=50&height=50" />'; + $ImageSource = '<img src="GetStockImage.php?automake=1&textcolor=FFFFFF&bgcolor=CCCCCC&StockID=' . $myrow['stockid']. '&text=&width=50&height=50" />'; } else { $ImageSource = '<i>'._('No Image').'</i>'; } @@ -398,6 +399,7 @@ }#end if SearchResults to show echo '<hr /> + </div> </form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/ContractCosting.php =================================================================== --- trunk/ContractCosting.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/ContractCosting.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -432,12 +432,14 @@ if ($_SESSION['Contract'.$identifier]->Status ==2){//the contract is an order being processed now - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedContract=' . $_SESSION['Contract'.$identifier]->ContractRef . '&identifier=' . $identifier . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedContract=' . $_SESSION['Contract'.$identifier]->ContractRef . '&identifier=' . $identifier . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /> <div class="centre"> <input type="submit" name="CloseContract" value="' . _('Close Contract') . '" onclick="return confirm(\'' . _('Closing the contract will prevent further stock being issued to it and charges being made against it. Variances will be taken to the profit and loss account. Are You Sure?') . '\');" /> </div> + </div> </form>'; } Modified: trunk/ContractOtherReqts.php =================================================================== --- trunk/ContractOtherReqts.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/ContractOtherReqts.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -76,6 +76,7 @@ /* This is where the other requirement as entered/modified should be displayed reflecting any deletions or insertions*/ echo '<form name="ContractReqtsForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/contract.png" title="' . _('Contract Other Requirements') . '" alt="" /> ' . _('Contract Other Requirements') . ' - ' . $_SESSION['Contract'.$identifier]->CustomerName.'</p>'; @@ -165,7 +166,7 @@ <div class="centre"> <input type="submit" name="EnterNewRequirement" value="' . _('Enter New Contract Requirement') . '" /> </div> - + </div> </form>'; include('includes/footer.inc'); Modified: trunk/Contracts.php =================================================================== --- trunk/Contracts.php 2012-03-06 07:43:43 UTC (rev 5043) +++ trunk/Contracts.php 2012-03-06 21:05:52 UTC (rev 5044) @@ -373,7 +373,7 @@ $DbgMsg = _('The SQL that failed to update the quotation was'); $UpdQuoteResult = DB_query($sql,$db,$ErrMsg,$DbgMsg); prnMsg(_('The contract quotation has been updated based on the new contract cost and margin'),'success'); - echo '<br /><a href="' .$rootpath . '/SelectSalesOrder.php?OrderNumber=' . $_SESSION['Contract'.$identifier]->OrderNo . '&Quotations=Quotes_Only">' . _('Go to Quotation') . ' ' . $_SESSION['Contract'.$identifier]->OrderNo . '</a>'; + echo '<br /><a href="' .$rootpath . '/SelectSalesOrder.php?OrderNumber=' . $_SESSION['Contract'.$identifier]->OrderNo . '&Quotations=Quotes_Only">' . _('Go to Quotation') . ' ' . $_SESSION['Contract'.$identifier]->OrderNo . '</a>'; } if ($ExistingContract['status'] == 0 AND $_POST['Status']==1){ @@ -747,6 +747,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/contract.png" title="' . _('Contract') . '" alt="" />' . ' ' . _('Contract: Select Customer') . '</p>'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier .'" name="CustomerSelection" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table cellpadding="3" colspan="4" class="selection"> @@ -807,7 +808,9 @@ //end of while loop echo '<input type="hidden" name="JustSelectedACustomer" value="Yes" />'; - echo '</table></form>'; + echo '</table> + </div> + </form>'; }//end if results to show @@ -815,6 +818,7 @@ } else { /*A customer is already selected so get into the contract setup proper */ echo '<form name="ContractEntry" enctype="multipart/form-data" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"> @@ -936,7 +940,7 @@ if ($_SESSION['Contract'.$identifier]->Status >=1) { echo '<tr> <td>' . _('Quotation Reference/Sales Order No') . ':</td> - <td><a href="' . $rootpath . '/SelectSalesOrder.php?OrderNumber=' . $_SESSION['Contract'.$identifier]->OrderNo . '&Quotations=Quotes_Only">' . $_SESSION['Contract'.$identifier]->OrderNo . '</a></td> + <td><a href="' . $rootpath . '/SelectSalesOrder.php?OrderNumber=' . $_SESSION['Contract'.$identifier]->OrderNo . '&Quotations=Quotes_Only">' . $_SESSION['Contract'.$identifier]->OrderNo . '</a></td> </tr>'; } if ($_SESSION['Contract'.$identifier]->Status!=2 and isset($_SESSION['Contract'.$identifier]->WO)) { @@ -1049,7 +1053,8 @@ </div> </p>'; } - echo '</form>'; + echo '</div> + </form>'; } /*end of if customer selected and entering contract header*/ 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-03-06 23:02:34
|
Revision: 5045 http://web-erp.svn.sourceforge.net/web-erp/?rev=5045&view=rev Author: vvs2012 Date: 2012-03-06 23:02:27 +0000 (Tue, 06 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/COGSGLPostings.php trunk/ConfirmDispatch_Invoice.php trunk/ContractBOM.php trunk/Contracts.php trunk/CopyBOM.php trunk/includes/InputSerialItems.php trunk/includes/InputSerialItemsFile.php trunk/includes/InputSerialItemsKeyed.php Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/COGSGLPostings.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -105,8 +105,8 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</td></tr>', + <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</a></td> + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</a></td></tr>', $myrow['area'], $myrow['stkcat'], $myrow['salestype'], @@ -203,8 +203,8 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</td> + <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</a></td> + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</a></td> </tr>', $myrow['area'], $myrow['stkcat'], @@ -341,7 +341,7 @@ } else { echo '<option value="'; } - echo $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' - ' . $myrow['accountname'] . '</option>'; + echo $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' - ' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8') . '</option>'; } //end while loop Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/ConfirmDispatch_Invoice.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -273,7 +273,7 @@ /*************************************************************** Line Item Display ***************************************************************/ -echo '<table width="90%" cellpadding="2" colspan="7" class="selection"> +echo '<table width="90%" cellpadding="2" class="selection"> <tr> <th>' . _('Item Code') . '</th> <th>' . _('Item Description' ) . '</th> @@ -317,6 +317,7 @@ $_SESSION['Items'.$identifier]->totalVolume += ($LnItm->QtyDispatched * $LnItm->Volume); $_SESSION['Items'.$identifier]->totalWeight += ($LnItm->QtyDispatched * $LnItm->Weight); + echo $RowStarter; echo '<td>'.$LnItm->StockID.'</td> <td>'.$LnItm->ItemDescription.'</td> <td class="number">' . locale_number_format($LnItm->Quantity,$LnItm->DecimalPlaces) . '</td> @@ -545,10 +546,10 @@ echo '<tr> <td colspan="10" class="number">' . _('Invoice Totals'). '</td> - <td class="number:><hr><b>'.$DisplaySubTotal.'</b><hr></td> + <td class="number"><hr /><b>'.$DisplaySubTotal.'</b><hr /></td> <td colspan="2"></td> - <td class="number"><hr><b>' . locale_number_format($TaxTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr></td> - <td class="number"><hr><b>' . locale_number_format($TaxTotal+($_SESSION['Items'.$identifier]->total + $_POST['ChargeFreightCost']),$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr></td> + <td class="number"><hr /><b>' . locale_number_format($TaxTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr /></td> + <td class="number"><hr /><b>' . locale_number_format($TaxTotal+($_SESSION['Items'.$identifier]->total + $_POST['ChargeFreightCost']),$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr /></td> </tr>'; if (! isset($_POST['DispatchDate']) OR ! Is_Date($_POST['DispatchDate'])){ @@ -629,7 +630,9 @@ } //end of loop around items on the order for negative check if ($NegativesFound){ - echo '<div class="centre"> + echo '</div>'; + echo '</form>'; + echo '<div class="centre"> <input type="submit" name="Update" value="' . _('Update'). '" /></div>'; include('includes/footer.inc'); exit; Modified: trunk/ContractBOM.php =================================================================== --- trunk/ContractBOM.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/ContractBOM.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -215,7 +215,7 @@ /* This is where the order as selected should be displayed reflecting any deletions or insertions*/ -echo '<form name="ContractBOMForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; +echo '<form id="ContractBOMForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -341,7 +341,7 @@ if (isset($SearchResult)) { - echo '<table cellpadding="1" colspan="7">'; + echo '<table cellpadding="1">'; $TableHeader = '<tr> <th>' . _('Code') . '</th> Modified: trunk/Contracts.php =================================================================== --- trunk/Contracts.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/Contracts.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -746,11 +746,11 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/contract.png" title="' . _('Contract') . '" alt="" />' . ' ' . _('Contract: Select Customer') . '</p>'; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier .'" name="CustomerSelection" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier .'" id="CustomerSelection" method="post">'; echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<table cellpadding="3" colspan="4" class="selection"> + echo '<table cellpadding="3" class="selection"> <tr> <td><h5>' . _('Part of the Customer Branch Name') . ':</h5></td> <td><input tabindex="1" type="text" name="CustKeywords" size="20" maxlength="25" /></td> @@ -763,13 +763,13 @@ </tr> </table> <br /><div class="centre"><input tabindex="4" type="submit" name="SearchCustomers" value="' . _('Search Now') . '" /> - <input tabindex="5" type="submit" action="reset" value="' . _('Reset') .'" /></div>'; + <input tabindex="5" type="submit" name="reset" value="' . _('Reset') .'" /></div>'; if (isset($result_CustSelect)) { - echo '<table cellpadding="2" class="selection">'; + echo '<br /><table cellpadding="2" class="selection">'; - $TableHeader = '<br /><tr> + $TableHeader = '<tr> <th>' . _('Customer') . '</th> <th>' . _('Branch') . '</th> <th>' . _('Contact') . '</th> @@ -791,12 +791,12 @@ $k=1; } if ($LastCustomer != $myrow['name']) { - echo '<td>'.htmlspecialchars($myrow['name'], ENT_QUOTES,'UTF-8').'</td>'; + echo '<td>'.htmlspecialchars($myrow['name'], ENT_QUOTES, 'UTF-8', false).'</td>'; } else { echo '<td></td>'; } - echo '<td><input tabindex="'.($j+5).'" type="submit" name="SubmitCustomerSelection' . $j .'" value="'.htmlspecialchars($myrow['brname'], ENT_QUOTES,'UTF-8').'" /></td> - <input type="hidden" name="SelectedCustomer' . $j .'" value="'.$myrow['debtorno'].' - '.$myrow['branchcode'].'" /> + echo '<td><input tabindex="'.($j+5).'" type="submit" name="SubmitCustomerSelection' . $j .'" value="'.htmlspecialchars($myrow['brname'], ENT_QUOTES,'UTF-8').'" /> + <input type="hidden" name="SelectedCustomer' . $j .'" value="'.$myrow['debtorno'].' - '.$myrow['branchcode'].'" /></td> <td>'.htmlspecialchars($myrow['contactname'], ENT_QUOTES,'UTF-8') .'</td> <td>'.$myrow['phoneno'].'</td> <td>'.$myrow['faxno'].'</td> @@ -806,18 +806,17 @@ //end of page full new headings if } //end of while loop - echo '<input type="hidden" name="JustSelectedACustomer" value="Yes" />'; + echo '<tr><td><input type="hidden" name="JustSelectedACustomer" value="Yes" /></td></tr>'; - echo '</table> - </div> - </form>'; - + echo '</table>'; }//end if results to show + echo '</div> + </form>'; //end if RequireCustomerSelection } else { /*A customer is already selected so get into the contract setup proper */ - echo '<form name="ContractEntry" enctype="multipart/form-data" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method="post">'; + echo '<form id="ContractEntry" enctype="multipart/form-data" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method="post">'; echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -883,7 +882,7 @@ </tr> <tr> <td>' . _('Contract Description') . ':</td> - <td><textarea name="ContractDescription" style="width:100%" rows="5">' . $_SESSION['Contract'.$identifier]->ContractDescription . '</textarea></td> + <td><textarea name="ContractDescription" style="width:100%" rows="5" cols="40">' . $_SESSION['Contract'.$identifier]->ContractDescription . '</textarea></td> </tr><tr> <td>'. _('Drawing File') . ' .jpg' . ' ' . _('format only') .':</td> <td><input type="file" id="Drawing" name="Drawing" /></td> @@ -1047,11 +1046,10 @@ echo '</div>'; } if ($_SESSION['Contract'.$identifier]->Status!=2) { - echo '<p> - <div class="centre"> - <input type="submit" name="CancelContract" value="' . _('Cancel and Delete Contract') . '" /> - </div> - </p>'; + echo '<div class="centre"> + <br /> + <input type="submit" name="CancelContract" value="' . _('Cancel and Delete Contract') . '" /> + </div>'; } echo '</div> </form>'; Modified: trunk/CopyBOM.php =================================================================== --- trunk/CopyBOM.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/CopyBOM.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -6,10 +6,10 @@ */ /* $Id$*/ +include('includes/session.inc'); + $title = _('Copy a BOM to New Item Code'); -include('includes/session.inc'); - include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -122,6 +122,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Contract') . '" alt="" />' . ' ' . $title . '</p>'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $sql = "SELECT stockid, @@ -141,8 +142,8 @@ echo '</select></td> </tr>'; echo '<tr> - <td><input type="radio" name="type" value="N" checked="" />' . _(' To New Stock ID') . '</td></td><td>'; - echo '<input type="text" maxlength="20" name="tostkid" /></td></tr>'; + <td><input type="radio" name="type" value="N" />' . _(' To New Stock ID') . '</td>'; + echo '<td><input type="text" maxlength="20" name="tostkid" /></td></tr>'; $sql = "SELECT stockid, description @@ -153,15 +154,18 @@ if (DB_num_rows($result) > 0) { echo '<tr> - <td><input type="radio" name="type" value="E" />'._('To Existing Stock ID') . '</td><td>'; - echo '<select name="exstkid">'; + <td><input type="radio" name="type" value="E" />'._('To Existing Stock ID') . '</td>'; + echo '<td><select name="exstkid">'; while($row = DB_fetch_row($result)) { echo '<option value="'.$row[0].'">'.$row[0].' -- '.$row[1].'</option>'; } - echo '</select>'; + echo '</select></td>'; + echo '</tr>'; } echo '</table>'; - echo '<br /><div class="centre"><input type="submit" name="Submit" value="Submit" /></div></form>'; + echo '<br /><div class="centre"><input type="submit" name="Submit" value="Submit" /></div> + </div> + </form>'; include('includes/footer.inc'); } Modified: trunk/includes/InputSerialItems.php =================================================================== --- trunk/includes/InputSerialItems.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/includes/InputSerialItems.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -49,45 +49,47 @@ $valid = true; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'?identifier='.$identifier.'" enctype="multipart/form-data" >'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input type="hidden" name="LineNo" value="' . $LineNo . '">'; -echo '<input type="hidden" name="StockID" value="'. $StockID. '">'; -echo '<table class=selection><tr><td>'; -echo '<input type="radio" name=EntryType onClick="submit();" '; +echo '<input type="hidden" name="LineNo" value="' . $LineNo . '" />'; +echo '<input type="hidden" name="StockID" value="'. $StockID. '" />'; +echo '<table class="selection"><tr><td>'; +echo '<input type="radio" name="EntryType" onclick="submit();" '; if ($_POST['EntryType']=='KEYED') { - echo ' checked '; + echo ' checked="checked" '; } -echo 'value="KEYED">'. _('Keyed Entry'); -echo '</TD>'; +echo 'value="KEYED" />'. _('Keyed Entry'); +echo '</td>'; if ($LineItem->Serialised==1){ echo '<td>'; - echo '<input type="radio" name=EntryType onClick="submit();" '; + echo '<input type="radio" name="EntryType" onclick="submit();" '; if ($_POST['EntryType']=='SEQUENCE') { - echo ' checked '; + echo ' checked="checked" '; } - echo ' value="SEQUENCE">'. _('Sequential'); + echo ' value="SEQUENCE" />'. _('Sequential'); echo '</td>'; } -echo '<td valign=bottom>'; -echo '<input type="radio" id="FileEntry" name="EntryType" onClick="submit();" '; +echo '<td valign="bottom">'; +echo '<input type="radio" id="FileEntry" name="EntryType" onclick="submit();" '; if ($_POST['EntryType']=='FILE') { - echo ' checked '; + echo ' checked="checked" '; } -echo ' value="FILE">'. _('File Upload'); -echo ' <input type="file" name="ImportFile" onClick="document.getElementById(\'FileEntry\').checked=true;" >'; -echo '</td></tr><tr><td colspan=3>'; -echo '<div class="centre"><input type="submit" value="'. _('Set Entry Type'). ':"></div>'; +echo ' value="FILE" />'. _('File Upload'); +echo ' <input type="file" name="ImportFile" onclick="document.getElementById(\'FileEntry\').checked=true;" />'; +echo '</td></tr><tr><td colspan="3">'; +echo '<div class="centre"><input type="submit" value="'. _('Set Entry Type'). ':" /></div>'; echo '</td></tr></table>'; +echo '</div>'; echo '</form>'; global $tableheader; /* Link to clear the list and start from scratch */ -$EditLink = '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'&EditControlled=true&StockID=' . $LineItem->StockID . - '&LineNo=' . $LineNo .'">'. _('Edit'). '</a> | '; -$RemoveLink = '<a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'&DELETEALL=YES&StockID=' . $LineItem->StockID . - '&LineNo=' . $LineNo .'">'. _('Remove All'). '</a><br /></div>'; +$EditLink = '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'&EditControlled=true&StockID=' . $LineItem->StockID . + '&LineNo=' . $LineNo .'">'. _('Edit'). '</a> | '; +$RemoveLink = '<a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'&DELETEALL=YES&StockID=' . $LineItem->StockID . + '&LineNo=' . $LineNo .'">'. _('Remove All'). '</a><br /></div>'; $sql="SELECT perishable FROM stockmaster WHERE stockid='".$StockID."'"; Modified: trunk/includes/InputSerialItemsFile.php =================================================================== --- trunk/includes/InputSerialItemsFile.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/includes/InputSerialItemsFile.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -44,7 +44,7 @@ echo '<td>' . $Bundle->BundleRef . '</td>'; if ($LineItem->Serialised==0){ - echo '<td align=right>' . locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces) . '</td>'; + echo '<td align="right">' . locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces) . '</td>'; } } @@ -54,14 +54,14 @@ /*Display the totals and rule off before allowing new entries */ if ($LineItem->Serialised==1){ - echo '<tr><td align=right><b>'. _('Total Quantity'). ': ' . locale_number_format($TotalQuantity,$LineItem->DecimalPlaces) . '</b></td></tr>'; - echo '<tr><td><hr></td></tr>'; + echo '<tr><td align="right"><b>'. _('Total Quantity'). ': ' . locale_number_format($TotalQuantity,$LineItem->DecimalPlaces) . '</b></td></tr>'; + echo '<tr><td><hr /></td></tr>'; } else { - echo '<tr><td align=right><b>'. _('Total Quantity'). ':</b></td><td align=right><b>' . locale_number_format($TotalQuantity,$LineItem->DecimalPlaces) . '</b></td></tr>'; - echo '<tr><td colspan=2><hr></td></tr>'; + echo '<tr><td align="right"><b>'. _('Total Quantity'). ':</b></td><td align="right"><b>' . locale_number_format($TotalQuantity,$LineItem->DecimalPlaces) . '</b></td></tr>'; + echo '<tr><td colspan="2"><hr /></td></tr>'; } -echo '</table><hr>'; +echo '</table><hr />'; //DISPLAY FILE INFO @@ -75,7 +75,7 @@ $msg = _('Please Choose a file and then click Set Entry Type to upload a file for import'); prnMsg($msg); $LineItem->SerialItemsValid=false; - echo '</td></tr></table>'; + echo '</div>'; include('includes/footer.inc'); exit(); } @@ -86,7 +86,7 @@ _('Type').':'.$_FILES['ImportFile']['type'].'<br />'; echo '<br />'._('Error was').' '.$_FILES['ImportFile']['error'].'<br />'; $LineItem->SerialItemsValid=false; - echo '</td></tr></table>'; + echo '</div>'; include('includes/footer.inc'); exit(); } elseif ($_FILES['ImportFile']['name']!=''){ @@ -100,7 +100,7 @@ if (!move_uploaded_file($_FILES['ImportFile']['tmp_name'],$_SESSION['CurImportFile']['tmp_name'])){ prnMsg(_('Error moving temporary file') . '. ' . _('Please check your configuration'),'error' ); $LineItem->SerialItemsValid=false; - echo '</td></tr></table>'; + echo '</div>'; include('includes/footer.inc'); exit; } @@ -150,7 +150,7 @@ <input type="hidden" name="EntryType" value="FILE"> </form> <p>'. _('1st 10 Lines of File'). '.... - <hr width=15%> + <hr width=15% /> <pre>'; echo $contents; @@ -160,7 +160,7 @@ } else { //Otherwise we have all valid records. show the first (100) for visual verification. echo _('Below are the 1st 100 records as parsed'); - echo '<hr width=20%>'; + echo '<hr width=20% />'; foreach($LineItem->SerialItems as $SItem){ echo $SItem->BundleRef.'<br />'; $i++; Modified: trunk/includes/InputSerialItemsKeyed.php =================================================================== --- trunk/includes/InputSerialItemsKeyed.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/includes/InputSerialItemsKeyed.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -75,6 +75,14 @@ /*Close off old table */ echo '</table></td><td valign="top">'; + +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'" id="Ga6uF5Wa" method="post"> + <div> + <input type="hidden" name="LineNo" value="' . $LineNo . '" /> + <input type="hidden" name="StockID" value="' . $StockID . '" /> + <input type="hidden" name="EntryType" value="KEYED" />'; +echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + /*Start a new table for the Serial/Batch ref input in one column (as a sub table then the multi select box for selection of existing bundle/serial nos for dispatch if applicable*/ //echo '<TABLE><TR><TD valign=TOP>'; @@ -83,12 +91,6 @@ echo '<table class="selection">'; echo $tableheader; - -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'" name="Ga6uF5Wa" method="post"> - <input type="hidden" name="LineNo" value="' . $LineNo . '"> - <input type="hidden" name="StockID" value="' . $StockID . '"> - <input type="hidden" name="EntryType" value="KEYED">'; -echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if ( isset($_GET['EditControlled']) ) { $EditControlled = isset($_GET['EditControlled'])?$_GET['EditControlled']:false; } elseif ( isset($_POST['EditControlled']) ){ @@ -102,19 +104,19 @@ foreach ($LineItem->SerialItems as $Bundle){ echo '<tr> - <td valign=top><input type="text" name="SerialNo'. $StartAddingAt .'" value="' .$Bundle->BundleRef.'" size="21" maxlength="20" /></td>'; + <td valign="top"><input type="text" name="SerialNo'. $StartAddingAt .'" value="' .$Bundle->BundleRef.'" size="21" maxlength="20" /></td>'; /*if the item is controlled not serialised - batch quantity required so just enter bundle refs into the form for entry of quantities manually */ if ($LineItem->Serialised==1){ - echo '<input type="hidden" name="Qty' . $StartAddingAt .'" Value=1></TR>'; + echo '<input type="hidden" name="Qty' . $StartAddingAt .'" value="1" /></TR>'; } else if ($LineItem->Serialised==0 and $Perishable==1) { - echo '<td><input type="text" class="number" name="Qty' . $StartAddingAt .'" size=11 - value="'. locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces). '" maxlength="10"></tr>'; + echo '<td><input type="text" class="number" name="Qty' . $StartAddingAt .'" size="11" + value="'. locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces). '" maxlength="10" /></tr>'; } else { - echo '<td><input type="text" class="number" name="Qty' . $StartAddingAt .'" size=11 - value="'. locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces). '" maxlength="10"></tr>'; + echo '<td><input type="text" class="number" name="Qty' . $StartAddingAt .'" size="11" + value="'. locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces). '" maxlength="10" /></tr>'; } $StartAddingAt++; @@ -123,7 +125,7 @@ for ($i=0;$i < 10;$i++){ - echo '<tr><td valign=top><input type="text" name="SerialNo'. ($StartAddingAt+$i) .'" size="21" maxlength="20" /></td>'; + echo '<tr><td valign="top"><input type="text" name="SerialNo'. ($StartAddingAt+$i) .'" size="21" maxlength="20" /></td>'; /*if the item is controlled not serialised - batch quantity required so just enter bundle refs into the form for entry of quantities manually */ @@ -136,11 +138,11 @@ value="" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" /></td></tr>'; } } else if ($LineItem->Serialised==0 and $Perishable==1) { - echo '<td><input type="text" class="number" name="Qty' . ($StartAddingAt+$i) .'" size=11 maxlength="10" /></td>'; - echo '<td><input type="text" class="date" name="ExpiryDate' . ($StartAddingAt+$i) .'" size=11 + echo '<td><input type="text" class="number" name="Qty' . ($StartAddingAt+$i) .'" size="11" maxlength="10" /></td>'; + echo '<td><input type="text" class="date" name="ExpiryDate' . ($StartAddingAt+$i) .'" size="11" value="" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" /></td></tr>'; } else { - echo '<td><input type="text" class="number" name="Qty' . ($StartAddingAt+$i) .'" size=11 maxlength="10"></td></tr>'; + echo '<td><input type="text" class="number" name="Qty' . ($StartAddingAt+$i) .'" size="11" maxlength="10" /></td></tr>'; } } @@ -149,7 +151,7 @@ <div class="centre"> <input type="submit" name="AddBatches" value="'. _('Enter'). '" /> </div> - + </div> </form> </td> <td valign="top">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-03-06 23:02:33
|
Revision: 5045 http://web-erp.svn.sourceforge.net/web-erp/?rev=5045&view=rev Author: vvs2012 Date: 2012-03-06 23:02:27 +0000 (Tue, 06 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/COGSGLPostings.php trunk/ConfirmDispatch_Invoice.php trunk/ContractBOM.php trunk/Contracts.php trunk/CopyBOM.php trunk/includes/InputSerialItems.php trunk/includes/InputSerialItemsFile.php trunk/includes/InputSerialItemsKeyed.php Modified: trunk/COGSGLPostings.php =================================================================== --- trunk/COGSGLPostings.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/COGSGLPostings.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -105,8 +105,8 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</td></tr>', + <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</a></td> + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">'. _('Delete') . '</a></td></tr>', $myrow['area'], $myrow['stkcat'], $myrow['salestype'], @@ -203,8 +203,8 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</td> + <td><a href="%sSelectedCOGSPostingID=%s">' . _('Edit') . '</a></td> + <td><a href="%sSelectedCOGSPostingID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this COGS GL posting record?') . '\');">' . _('Delete') . '</a></td> </tr>', $myrow['area'], $myrow['stkcat'], @@ -341,7 +341,7 @@ } else { echo '<option value="'; } - echo $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' - ' . $myrow['accountname'] . '</option>'; + echo $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' - ' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8') . '</option>'; } //end while loop Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/ConfirmDispatch_Invoice.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -273,7 +273,7 @@ /*************************************************************** Line Item Display ***************************************************************/ -echo '<table width="90%" cellpadding="2" colspan="7" class="selection"> +echo '<table width="90%" cellpadding="2" class="selection"> <tr> <th>' . _('Item Code') . '</th> <th>' . _('Item Description' ) . '</th> @@ -317,6 +317,7 @@ $_SESSION['Items'.$identifier]->totalVolume += ($LnItm->QtyDispatched * $LnItm->Volume); $_SESSION['Items'.$identifier]->totalWeight += ($LnItm->QtyDispatched * $LnItm->Weight); + echo $RowStarter; echo '<td>'.$LnItm->StockID.'</td> <td>'.$LnItm->ItemDescription.'</td> <td class="number">' . locale_number_format($LnItm->Quantity,$LnItm->DecimalPlaces) . '</td> @@ -545,10 +546,10 @@ echo '<tr> <td colspan="10" class="number">' . _('Invoice Totals'). '</td> - <td class="number:><hr><b>'.$DisplaySubTotal.'</b><hr></td> + <td class="number"><hr /><b>'.$DisplaySubTotal.'</b><hr /></td> <td colspan="2"></td> - <td class="number"><hr><b>' . locale_number_format($TaxTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr></td> - <td class="number"><hr><b>' . locale_number_format($TaxTotal+($_SESSION['Items'.$identifier]->total + $_POST['ChargeFreightCost']),$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr></td> + <td class="number"><hr /><b>' . locale_number_format($TaxTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr /></td> + <td class="number"><hr /><b>' . locale_number_format($TaxTotal+($_SESSION['Items'.$identifier]->total + $_POST['ChargeFreightCost']),$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</b><hr /></td> </tr>'; if (! isset($_POST['DispatchDate']) OR ! Is_Date($_POST['DispatchDate'])){ @@ -629,7 +630,9 @@ } //end of loop around items on the order for negative check if ($NegativesFound){ - echo '<div class="centre"> + echo '</div>'; + echo '</form>'; + echo '<div class="centre"> <input type="submit" name="Update" value="' . _('Update'). '" /></div>'; include('includes/footer.inc'); exit; Modified: trunk/ContractBOM.php =================================================================== --- trunk/ContractBOM.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/ContractBOM.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -215,7 +215,7 @@ /* This is where the order as selected should be displayed reflecting any deletions or insertions*/ -echo '<form name="ContractBOMForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; +echo '<form id="ContractBOMForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -341,7 +341,7 @@ if (isset($SearchResult)) { - echo '<table cellpadding="1" colspan="7">'; + echo '<table cellpadding="1">'; $TableHeader = '<tr> <th>' . _('Code') . '</th> Modified: trunk/Contracts.php =================================================================== --- trunk/Contracts.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/Contracts.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -746,11 +746,11 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/contract.png" title="' . _('Contract') . '" alt="" />' . ' ' . _('Contract: Select Customer') . '</p>'; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier .'" name="CustomerSelection" method="post">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier .'" id="CustomerSelection" method="post">'; echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<table cellpadding="3" colspan="4" class="selection"> + echo '<table cellpadding="3" class="selection"> <tr> <td><h5>' . _('Part of the Customer Branch Name') . ':</h5></td> <td><input tabindex="1" type="text" name="CustKeywords" size="20" maxlength="25" /></td> @@ -763,13 +763,13 @@ </tr> </table> <br /><div class="centre"><input tabindex="4" type="submit" name="SearchCustomers" value="' . _('Search Now') . '" /> - <input tabindex="5" type="submit" action="reset" value="' . _('Reset') .'" /></div>'; + <input tabindex="5" type="submit" name="reset" value="' . _('Reset') .'" /></div>'; if (isset($result_CustSelect)) { - echo '<table cellpadding="2" class="selection">'; + echo '<br /><table cellpadding="2" class="selection">'; - $TableHeader = '<br /><tr> + $TableHeader = '<tr> <th>' . _('Customer') . '</th> <th>' . _('Branch') . '</th> <th>' . _('Contact') . '</th> @@ -791,12 +791,12 @@ $k=1; } if ($LastCustomer != $myrow['name']) { - echo '<td>'.htmlspecialchars($myrow['name'], ENT_QUOTES,'UTF-8').'</td>'; + echo '<td>'.htmlspecialchars($myrow['name'], ENT_QUOTES, 'UTF-8', false).'</td>'; } else { echo '<td></td>'; } - echo '<td><input tabindex="'.($j+5).'" type="submit" name="SubmitCustomerSelection' . $j .'" value="'.htmlspecialchars($myrow['brname'], ENT_QUOTES,'UTF-8').'" /></td> - <input type="hidden" name="SelectedCustomer' . $j .'" value="'.$myrow['debtorno'].' - '.$myrow['branchcode'].'" /> + echo '<td><input tabindex="'.($j+5).'" type="submit" name="SubmitCustomerSelection' . $j .'" value="'.htmlspecialchars($myrow['brname'], ENT_QUOTES,'UTF-8').'" /> + <input type="hidden" name="SelectedCustomer' . $j .'" value="'.$myrow['debtorno'].' - '.$myrow['branchcode'].'" /></td> <td>'.htmlspecialchars($myrow['contactname'], ENT_QUOTES,'UTF-8') .'</td> <td>'.$myrow['phoneno'].'</td> <td>'.$myrow['faxno'].'</td> @@ -806,18 +806,17 @@ //end of page full new headings if } //end of while loop - echo '<input type="hidden" name="JustSelectedACustomer" value="Yes" />'; + echo '<tr><td><input type="hidden" name="JustSelectedACustomer" value="Yes" /></td></tr>'; - echo '</table> - </div> - </form>'; - + echo '</table>'; }//end if results to show + echo '</div> + </form>'; //end if RequireCustomerSelection } else { /*A customer is already selected so get into the contract setup proper */ - echo '<form name="ContractEntry" enctype="multipart/form-data" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method="post">'; + echo '<form id="ContractEntry" enctype="multipart/form-data" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method="post">'; echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -883,7 +882,7 @@ </tr> <tr> <td>' . _('Contract Description') . ':</td> - <td><textarea name="ContractDescription" style="width:100%" rows="5">' . $_SESSION['Contract'.$identifier]->ContractDescription . '</textarea></td> + <td><textarea name="ContractDescription" style="width:100%" rows="5" cols="40">' . $_SESSION['Contract'.$identifier]->ContractDescription . '</textarea></td> </tr><tr> <td>'. _('Drawing File') . ' .jpg' . ' ' . _('format only') .':</td> <td><input type="file" id="Drawing" name="Drawing" /></td> @@ -1047,11 +1046,10 @@ echo '</div>'; } if ($_SESSION['Contract'.$identifier]->Status!=2) { - echo '<p> - <div class="centre"> - <input type="submit" name="CancelContract" value="' . _('Cancel and Delete Contract') . '" /> - </div> - </p>'; + echo '<div class="centre"> + <br /> + <input type="submit" name="CancelContract" value="' . _('Cancel and Delete Contract') . '" /> + </div>'; } echo '</div> </form>'; Modified: trunk/CopyBOM.php =================================================================== --- trunk/CopyBOM.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/CopyBOM.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -6,10 +6,10 @@ */ /* $Id$*/ +include('includes/session.inc'); + $title = _('Copy a BOM to New Item Code'); -include('includes/session.inc'); - include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -122,6 +122,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Contract') . '" alt="" />' . ' ' . $title . '</p>'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $sql = "SELECT stockid, @@ -141,8 +142,8 @@ echo '</select></td> </tr>'; echo '<tr> - <td><input type="radio" name="type" value="N" checked="" />' . _(' To New Stock ID') . '</td></td><td>'; - echo '<input type="text" maxlength="20" name="tostkid" /></td></tr>'; + <td><input type="radio" name="type" value="N" />' . _(' To New Stock ID') . '</td>'; + echo '<td><input type="text" maxlength="20" name="tostkid" /></td></tr>'; $sql = "SELECT stockid, description @@ -153,15 +154,18 @@ if (DB_num_rows($result) > 0) { echo '<tr> - <td><input type="radio" name="type" value="E" />'._('To Existing Stock ID') . '</td><td>'; - echo '<select name="exstkid">'; + <td><input type="radio" name="type" value="E" />'._('To Existing Stock ID') . '</td>'; + echo '<td><select name="exstkid">'; while($row = DB_fetch_row($result)) { echo '<option value="'.$row[0].'">'.$row[0].' -- '.$row[1].'</option>'; } - echo '</select>'; + echo '</select></td>'; + echo '</tr>'; } echo '</table>'; - echo '<br /><div class="centre"><input type="submit" name="Submit" value="Submit" /></div></form>'; + echo '<br /><div class="centre"><input type="submit" name="Submit" value="Submit" /></div> + </div> + </form>'; include('includes/footer.inc'); } Modified: trunk/includes/InputSerialItems.php =================================================================== --- trunk/includes/InputSerialItems.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/includes/InputSerialItems.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -49,45 +49,47 @@ $valid = true; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'?identifier='.$identifier.'" enctype="multipart/form-data" >'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<input type="hidden" name="LineNo" value="' . $LineNo . '">'; -echo '<input type="hidden" name="StockID" value="'. $StockID. '">'; -echo '<table class=selection><tr><td>'; -echo '<input type="radio" name=EntryType onClick="submit();" '; +echo '<input type="hidden" name="LineNo" value="' . $LineNo . '" />'; +echo '<input type="hidden" name="StockID" value="'. $StockID. '" />'; +echo '<table class="selection"><tr><td>'; +echo '<input type="radio" name="EntryType" onclick="submit();" '; if ($_POST['EntryType']=='KEYED') { - echo ' checked '; + echo ' checked="checked" '; } -echo 'value="KEYED">'. _('Keyed Entry'); -echo '</TD>'; +echo 'value="KEYED" />'. _('Keyed Entry'); +echo '</td>'; if ($LineItem->Serialised==1){ echo '<td>'; - echo '<input type="radio" name=EntryType onClick="submit();" '; + echo '<input type="radio" name="EntryType" onclick="submit();" '; if ($_POST['EntryType']=='SEQUENCE') { - echo ' checked '; + echo ' checked="checked" '; } - echo ' value="SEQUENCE">'. _('Sequential'); + echo ' value="SEQUENCE" />'. _('Sequential'); echo '</td>'; } -echo '<td valign=bottom>'; -echo '<input type="radio" id="FileEntry" name="EntryType" onClick="submit();" '; +echo '<td valign="bottom">'; +echo '<input type="radio" id="FileEntry" name="EntryType" onclick="submit();" '; if ($_POST['EntryType']=='FILE') { - echo ' checked '; + echo ' checked="checked" '; } -echo ' value="FILE">'. _('File Upload'); -echo ' <input type="file" name="ImportFile" onClick="document.getElementById(\'FileEntry\').checked=true;" >'; -echo '</td></tr><tr><td colspan=3>'; -echo '<div class="centre"><input type="submit" value="'. _('Set Entry Type'). ':"></div>'; +echo ' value="FILE" />'. _('File Upload'); +echo ' <input type="file" name="ImportFile" onclick="document.getElementById(\'FileEntry\').checked=true;" />'; +echo '</td></tr><tr><td colspan="3">'; +echo '<div class="centre"><input type="submit" value="'. _('Set Entry Type'). ':" /></div>'; echo '</td></tr></table>'; +echo '</div>'; echo '</form>'; global $tableheader; /* Link to clear the list and start from scratch */ -$EditLink = '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'&EditControlled=true&StockID=' . $LineItem->StockID . - '&LineNo=' . $LineNo .'">'. _('Edit'). '</a> | '; -$RemoveLink = '<a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'&DELETEALL=YES&StockID=' . $LineItem->StockID . - '&LineNo=' . $LineNo .'">'. _('Remove All'). '</a><br /></div>'; +$EditLink = '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'&EditControlled=true&StockID=' . $LineItem->StockID . + '&LineNo=' . $LineNo .'">'. _('Edit'). '</a> | '; +$RemoveLink = '<a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'&DELETEALL=YES&StockID=' . $LineItem->StockID . + '&LineNo=' . $LineNo .'">'. _('Remove All'). '</a><br /></div>'; $sql="SELECT perishable FROM stockmaster WHERE stockid='".$StockID."'"; Modified: trunk/includes/InputSerialItemsFile.php =================================================================== --- trunk/includes/InputSerialItemsFile.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/includes/InputSerialItemsFile.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -44,7 +44,7 @@ echo '<td>' . $Bundle->BundleRef . '</td>'; if ($LineItem->Serialised==0){ - echo '<td align=right>' . locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces) . '</td>'; + echo '<td align="right">' . locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces) . '</td>'; } } @@ -54,14 +54,14 @@ /*Display the totals and rule off before allowing new entries */ if ($LineItem->Serialised==1){ - echo '<tr><td align=right><b>'. _('Total Quantity'). ': ' . locale_number_format($TotalQuantity,$LineItem->DecimalPlaces) . '</b></td></tr>'; - echo '<tr><td><hr></td></tr>'; + echo '<tr><td align="right"><b>'. _('Total Quantity'). ': ' . locale_number_format($TotalQuantity,$LineItem->DecimalPlaces) . '</b></td></tr>'; + echo '<tr><td><hr /></td></tr>'; } else { - echo '<tr><td align=right><b>'. _('Total Quantity'). ':</b></td><td align=right><b>' . locale_number_format($TotalQuantity,$LineItem->DecimalPlaces) . '</b></td></tr>'; - echo '<tr><td colspan=2><hr></td></tr>'; + echo '<tr><td align="right"><b>'. _('Total Quantity'). ':</b></td><td align="right"><b>' . locale_number_format($TotalQuantity,$LineItem->DecimalPlaces) . '</b></td></tr>'; + echo '<tr><td colspan="2"><hr /></td></tr>'; } -echo '</table><hr>'; +echo '</table><hr />'; //DISPLAY FILE INFO @@ -75,7 +75,7 @@ $msg = _('Please Choose a file and then click Set Entry Type to upload a file for import'); prnMsg($msg); $LineItem->SerialItemsValid=false; - echo '</td></tr></table>'; + echo '</div>'; include('includes/footer.inc'); exit(); } @@ -86,7 +86,7 @@ _('Type').':'.$_FILES['ImportFile']['type'].'<br />'; echo '<br />'._('Error was').' '.$_FILES['ImportFile']['error'].'<br />'; $LineItem->SerialItemsValid=false; - echo '</td></tr></table>'; + echo '</div>'; include('includes/footer.inc'); exit(); } elseif ($_FILES['ImportFile']['name']!=''){ @@ -100,7 +100,7 @@ if (!move_uploaded_file($_FILES['ImportFile']['tmp_name'],$_SESSION['CurImportFile']['tmp_name'])){ prnMsg(_('Error moving temporary file') . '. ' . _('Please check your configuration'),'error' ); $LineItem->SerialItemsValid=false; - echo '</td></tr></table>'; + echo '</div>'; include('includes/footer.inc'); exit; } @@ -150,7 +150,7 @@ <input type="hidden" name="EntryType" value="FILE"> </form> <p>'. _('1st 10 Lines of File'). '.... - <hr width=15%> + <hr width=15% /> <pre>'; echo $contents; @@ -160,7 +160,7 @@ } else { //Otherwise we have all valid records. show the first (100) for visual verification. echo _('Below are the 1st 100 records as parsed'); - echo '<hr width=20%>'; + echo '<hr width=20% />'; foreach($LineItem->SerialItems as $SItem){ echo $SItem->BundleRef.'<br />'; $i++; Modified: trunk/includes/InputSerialItemsKeyed.php =================================================================== --- trunk/includes/InputSerialItemsKeyed.php 2012-03-06 21:05:52 UTC (rev 5044) +++ trunk/includes/InputSerialItemsKeyed.php 2012-03-06 23:02:27 UTC (rev 5045) @@ -75,6 +75,14 @@ /*Close off old table */ echo '</table></td><td valign="top">'; + +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'" id="Ga6uF5Wa" method="post"> + <div> + <input type="hidden" name="LineNo" value="' . $LineNo . '" /> + <input type="hidden" name="StockID" value="' . $StockID . '" /> + <input type="hidden" name="EntryType" value="KEYED" />'; +echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + /*Start a new table for the Serial/Batch ref input in one column (as a sub table then the multi select box for selection of existing bundle/serial nos for dispatch if applicable*/ //echo '<TABLE><TR><TD valign=TOP>'; @@ -83,12 +91,6 @@ echo '<table class="selection">'; echo $tableheader; - -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'" name="Ga6uF5Wa" method="post"> - <input type="hidden" name="LineNo" value="' . $LineNo . '"> - <input type="hidden" name="StockID" value="' . $StockID . '"> - <input type="hidden" name="EntryType" value="KEYED">'; -echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if ( isset($_GET['EditControlled']) ) { $EditControlled = isset($_GET['EditControlled'])?$_GET['EditControlled']:false; } elseif ( isset($_POST['EditControlled']) ){ @@ -102,19 +104,19 @@ foreach ($LineItem->SerialItems as $Bundle){ echo '<tr> - <td valign=top><input type="text" name="SerialNo'. $StartAddingAt .'" value="' .$Bundle->BundleRef.'" size="21" maxlength="20" /></td>'; + <td valign="top"><input type="text" name="SerialNo'. $StartAddingAt .'" value="' .$Bundle->BundleRef.'" size="21" maxlength="20" /></td>'; /*if the item is controlled not serialised - batch quantity required so just enter bundle refs into the form for entry of quantities manually */ if ($LineItem->Serialised==1){ - echo '<input type="hidden" name="Qty' . $StartAddingAt .'" Value=1></TR>'; + echo '<input type="hidden" name="Qty' . $StartAddingAt .'" value="1" /></TR>'; } else if ($LineItem->Serialised==0 and $Perishable==1) { - echo '<td><input type="text" class="number" name="Qty' . $StartAddingAt .'" size=11 - value="'. locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces). '" maxlength="10"></tr>'; + echo '<td><input type="text" class="number" name="Qty' . $StartAddingAt .'" size="11" + value="'. locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces). '" maxlength="10" /></tr>'; } else { - echo '<td><input type="text" class="number" name="Qty' . $StartAddingAt .'" size=11 - value="'. locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces). '" maxlength="10"></tr>'; + echo '<td><input type="text" class="number" name="Qty' . $StartAddingAt .'" size="11" + value="'. locale_number_format($Bundle->BundleQty, $LineItem->DecimalPlaces). '" maxlength="10" /></tr>'; } $StartAddingAt++; @@ -123,7 +125,7 @@ for ($i=0;$i < 10;$i++){ - echo '<tr><td valign=top><input type="text" name="SerialNo'. ($StartAddingAt+$i) .'" size="21" maxlength="20" /></td>'; + echo '<tr><td valign="top"><input type="text" name="SerialNo'. ($StartAddingAt+$i) .'" size="21" maxlength="20" /></td>'; /*if the item is controlled not serialised - batch quantity required so just enter bundle refs into the form for entry of quantities manually */ @@ -136,11 +138,11 @@ value="" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" /></td></tr>'; } } else if ($LineItem->Serialised==0 and $Perishable==1) { - echo '<td><input type="text" class="number" name="Qty' . ($StartAddingAt+$i) .'" size=11 maxlength="10" /></td>'; - echo '<td><input type="text" class="date" name="ExpiryDate' . ($StartAddingAt+$i) .'" size=11 + echo '<td><input type="text" class="number" name="Qty' . ($StartAddingAt+$i) .'" size="11" maxlength="10" /></td>'; + echo '<td><input type="text" class="date" name="ExpiryDate' . ($StartAddingAt+$i) .'" size="11" value="" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" /></td></tr>'; } else { - echo '<td><input type="text" class="number" name="Qty' . ($StartAddingAt+$i) .'" size=11 maxlength="10"></td></tr>'; + echo '<td><input type="text" class="number" name="Qty' . ($StartAddingAt+$i) .'" size="11" maxlength="10" /></td></tr>'; } } @@ -149,7 +151,7 @@ <div class="centre"> <input type="submit" name="AddBatches" value="'. _('Enter'). '" /> </div> - + </div> </form> </td> <td valign="top">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-03-07 23:06:41
|
Revision: 5053 http://web-erp.svn.sourceforge.net/web-erp/?rev=5053&view=rev Author: vvs2012 Date: 2012-03-07 23:06:32 +0000 (Wed, 07 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/AuditTrail.php trunk/BankMatching.php trunk/CounterSales.php trunk/CreditItemsControlled.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/GLAccountInquiry.php trunk/GLBalanceSheet.php trunk/GLBudgets.php trunk/GLProfit_Loss.php trunk/GLTagProfit_Loss.php trunk/GLTransInquiry.php trunk/GLTrialBalance.php trunk/PO_OrderDetails.php trunk/PO_SelectPurchOrder.php trunk/Prices_Customer.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/RecurringSalesOrders.php trunk/SalesByTypePeriodInquiry.php trunk/SalesCategoryPeriodInquiry.php trunk/SalesTopItemsInquiry.php trunk/SelectOrderItems.php trunk/SpecialOrder.php trunk/StockLocTransferReceive.php trunk/SupplierInvoice.php trunk/SupplierTenders.php trunk/SupplierTransInquiry.php trunk/TaxAuthorityRates.php trunk/UpgradeDatabase.php trunk/WorkOrderCosting.php trunk/Z_CheckDebtorsControl.php trunk/Z_CreateCompanyTemplateFile.php trunk/Z_Upgrade_3.10-3.11.php trunk/Z_Upgrade_3.11-4.00.php trunk/Z_index.php trunk/includes/InputSerialItemsKeyed.php trunk/includes/OutputSerialItems.php trunk/reportwriter/FormMaker.php trunk/reportwriter/admin/RCFunctions.inc Modified: trunk/AuditTrail.php =================================================================== --- trunk/AuditTrail.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/AuditTrail.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -198,7 +198,7 @@ if (isset($_SESSION['SQLString']['values'][$i]) and (trim(str_replace("'","",$_SESSION['SQLString']['values'][$i])) != "") & (trim($_SESSION['SQLString']['fields'][$i]) != 'password') & (trim($_SESSION['SQLString']['fields'][$i]) != 'www_users.password')) { - echo '<tr bgcolor="' . $RowColour . '">'; + echo '<tr style="background-color:' . $RowColour . '">'; echo '<td></td> <td></td> <td></td> @@ -208,7 +208,7 @@ echo '</tr>'; } } - echo '<tr bgcolor="black"> <td colspan="6"></td> </tr>'; + echo '<tr style="background-color:black"> <td colspan="6"></td> </tr>'; } unset($_SESSION['SQLString']); } Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/BankMatching.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -284,7 +284,7 @@ $Outstanding = $myrow['amt']- $myrow['amountcleared']; if (ABS($Outstanding)<0.009){ /*the payment is cleared dont show the check box*/ - printf('<tr bgcolor="#CCCEEE"> + printf('<tr style="background-color:#CCCEEE"> <td>%s</td> <td>%s</td> <td>%s</td> Modified: trunk/CounterSales.php =================================================================== --- trunk/CounterSales.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/CounterSales.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -226,11 +226,11 @@ if (isset($_POST['Search']) or isset($_POST['Next']) or isset($_POST['Prev'])){ if ($_POST['Keywords']!='' AND $_POST['StockCode']=='') { - $msg='<div class="page_help_text">' . _('Item description has been used in search') . '.</div>'; + $msg = _('Item description has been used in search'); } else if ($_POST['StockCode']!='' AND $_POST['Keywords']=='') { - $msg='<div class="page_help_text">' . _('Item Code has been used in search') . '.</div>'; + $msg = _('Item Code has been used in search'); } else if ($_POST['Keywords']=='' AND $_POST['StockCode']=='') { - $msg='<div class="page_help_text">' . _('Stock Category has been used in search') . '.</div>'; + $msg = _('Stock Category has been used in search'); } if (isset($_POST['Keywords']) AND mb_strlen($_POST['Keywords'])>0) { //insert wildcard characters in spaces @@ -241,7 +241,7 @@ $SQL = "SELECT stockmaster.stockid, stockmaster.description, stockmaster.units, - stockmaster.decmimalplaces + stockmaster.decimalplaces FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid WHERE (stockcategory.stocktype='F' OR stockcategory.stocktype='D') @@ -361,7 +361,8 @@ /* Always do the stuff below */ -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" name="SelectParts" method="post">'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" id="SelectParts" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; //Get The exchange rate used for GPPercent calculations on adding or amending items @@ -735,8 +736,8 @@ */ echo '<br /> - <table width="90%" cellpadding="2" colspan="7"> - <tr bgcolor="#800000">'; + <table width="90%" cellpadding="2"> + <tr style="background-color:#800000">'; echo '<th>' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> <th>' . _('Quantity') . '</th> @@ -768,7 +769,7 @@ if ($OrderLine->QOHatLoc < $OrderLine->Quantity AND ($OrderLine->MBflag=='B' OR $OrderLine->MBflag=='M')) { /*There is a stock deficiency in the stock location selected */ - $RowStarter = '<tr bgcolor="#EEAABB">'; + $RowStarter = '<tr style="background-color:#EEAABB">'; } elseif ($k==1){ $RowStarter = '<tr class="OddTableRows">'; $k=0; @@ -778,10 +779,10 @@ } echo $RowStarter; - echo '<input type="hidden" name="POLine_' . $OrderLine->LineNumber . '" value="" />'; + echo '<td><input type="hidden" name="POLine_' . $OrderLine->LineNumber . '" value="" />'; echo '<input type="hidden" name="ItemDue_' . $OrderLine->LineNumber . '" value="'.$OrderLine->ItemDue.'" />'; - echo '<td><a target="_blank" href="' . $rootpath . '/StockStatus.php?identifier='.$identifier . '&StockID=' . $OrderLine->StockID . '&DebtorNo=' . $_SESSION['Items'.$identifier]->DebtorNo . '">' . $OrderLine->StockID . '</a></td> + echo '<a target="_blank" href="' . $rootpath . '/StockStatus.php?identifier='.$identifier . '&StockID=' . $OrderLine->StockID . '&DebtorNo=' . $_SESSION['Items'.$identifier]->DebtorNo . '">' . $OrderLine->StockID . '</a></td> <td>' . $OrderLine->ItemDescription . '</td>'; echo '<td><input class="number" tabindex="2" type="text" name="Quantity_' . $OrderLine->LineNumber . '" size="6" maxlength="6" value="' . locale_number_format($OrderLine->Quantity,$OrderLine->DecimalPlaces) . '" />'; @@ -794,9 +795,9 @@ <td><input class="number" type="text" name="Discount_' . $OrderLine->LineNumber . '" size="5" maxlength="4" value="' . locale_number_format(($OrderLine->DiscountPercent * 100),2) . '" /></td> <td><input class="number" type="text" name="GPPercent_' . $OrderLine->LineNumber . '" size="3" maxlength="40" value="' . locale_number_format($OrderLine->GPPercent,2) . '" /></td>'; } else { - echo '<td class="number">' . locale_number_format($OrderLine->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '<input type="hidden" name="Price_' . $OrderLine->LineNumber . '" value="' . locale_number_format($OrderLine->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '" /></td> + echo '<td class="number">' . locale_number_format($OrderLine->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '<input type="hidden" name="Price_' . $OrderLine->LineNumber . '" value="' . locale_number_format($OrderLine->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '" /> <input type="hidden" name="Discount_' . $OrderLine->LineNumber . '" value="' . locale_number_format(($OrderLine->DiscountPercent * 100),2) . '" /> - <input type="hidden" name="GPPercent_' . $OrderLine->LineNumber . '" value="' . locale_number_format($OrderLine->GPPercent,2) . '" />'; + <input type="hidden" name="GPPercent_' . $OrderLine->LineNumber . '" value="' . locale_number_format($OrderLine->GPPercent,2) . '" /></td>'; } echo '<td class="number">' . locale_number_format($SubTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</td>'; $LineDueDate = $OrderLine->ItemDue; @@ -826,7 +827,7 @@ $_SESSION['Items'.$identifier]->TaxGLCodes=$TaxGLCodes; echo '<td class="number">' . locale_number_format($TaxLineTotal ,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</td>'; echo '<td class="number">' . locale_number_format($SubTotal + $TaxLineTotal ,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</td>'; - echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '&Delete=' . $OrderLine->LineNumber . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');">' . _('Delete') . '</a></td></tr>'; + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '&Delete=' . $OrderLine->LineNumber . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');">' . _('Delete') . '</a></td></tr>'; if ($_SESSION['AllowOrderLineItemNarrative'] == 1){ echo $RowStarter; @@ -1988,9 +1989,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 '<br /><br /><a href="' .htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Start a new Counter Sale') . '</a></div>'; @@ -2120,7 +2121,7 @@ $Available = $QOH - $DemandQty + $OnOrder; - printf('<td>%s</font></td> + printf('<td>%s</td> <td>%s</td> <td>%s</td> <td class="number">%s</td> @@ -2153,7 +2154,7 @@ echo '</table>'; } //end of if Frequently Ordered Items > 0 if (isset($msg)){ - echo '<p><div class="centre"><b>' . $msg . '</b></div></p>'; + echo '<div class="page_help_text"><p><b>' . $msg . '</b></p></div>'; } echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' '; echo _('Search for Items') . '</p>'; @@ -2180,25 +2181,28 @@ } } - ?> + echo '</select></td> + <td><b>' . _('Enter partial Description') . ':</b> + <input tabindex="2" type="text" name="Keywords" size="20" maxlength="25" value="'; + if (isset($_POST['Keywords'])) echo $_POST['Keywords']; + echo '" /></td> - </select></td> - <td><b><?php echo _('Enter partial Description'); ?>:</b> - <input tabindex="2" type="text" name="Keywords" size="20" maxlength="25" value="<?php if (isset($_POST['Keywords'])) echo $_POST['Keywords']; ?>" /></td> + <td align="right"><b> ' . _('OR') . ' </b><b>' . _('Enter extract of the Stock Code') . ':</b> + <input tabindex="3" type="text" name="StockCode" size="15" maxlength="18" value="'; + if (isset($_POST['StockCode'])) echo $_POST['StockCode']; + echo '" /></td> - <td align="right"><b><?php echo _('OR'); ?> </b><b><?php echo _('Enter extract of the Stock Code'); ?>:</b> - <input tabindex="3" type="text" name="StockCode" size="15" maxlength="18" value="<?php if (isset($_POST['StockCode'])) echo $_POST['StockCode']; ?>" /></td> - </tr><tr> - <td style="text-align:center" colspan="1"><input tabindex="4" type="submit" name="Search" value="<?php echo _('Search Now'); ?>" /></td> - <td style="text-align:center" colspan="1"><input tabindex="5" type="submit" name="QuickEntry" value="<?php echo _('Use Quick Entry'); ?>" /></td> + <td style="text-align:center" colspan="1"><input tabindex="4" type="submit" name="Search" value="' . _('Search Now') . '" /></td> + <td style="text-align:center" colspan="1"><input tabindex="5" type="submit" name="QuickEntry" value="' . _('Use Quick Entry') . '" /></td>'; - <?php if (!isset($_POST['PartSearch'])) { echo '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.Keywords);}</script>'; } echo '</tr></table><br />'; + echo '</div>'; + echo '</form>'; // Add some useful help as the order progresses if (isset($SearchResult)) { echo '<br />'; @@ -2209,7 +2213,8 @@ if (isset($SearchResult)) { $j = 1; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID .'identifier='.$identifier . '" method="post" name="orderform">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID .'identifier='.$identifier . '" method="post" id="orderform">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="table1">'; echo '<tr> @@ -2310,7 +2315,7 @@ <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><input class="number" tabindex="'.strval($j+7).'" type="text" size="6" name="OrderQty%s" value="0" /></font><input type="hidden" name="StockID%s" value="%s" /></td> + <td><input class="number" tabindex="'.strval($j+7).'" type="text" size="6" name="OrderQty%s" value="0" /><input type="hidden" name="StockID%s" value="%s" /></td> </tr>', $myrow['stockid'], $myrow['description'], @@ -2330,55 +2335,58 @@ #end of page full new headings if } #end of while loop + echo '<tr><td>'; echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items'.$identifier]->CustRef.'" />'; echo '<input type="hidden" name="Comments" value="'.$_SESSION['Items'.$identifier]->Comments.'" />'; echo '<input type="hidden" name="DeliverTo" value="'.$_SESSION['Items'.$identifier]->DeliverTo.'" />'; echo '<input type="hidden" name="PhoneNo" value="'.$_SESSION['Items'.$identifier]->PhoneNo.'" />'; echo '<input type="hidden" name="Email" value="'.$_SESSION['Items'.$identifier]->Email.'" />'; + echo '</td></tr>'; echo '<tr><td><input type="hidden" name="previous" value="'.strval($Offset-1).'" /><input tabindex="'.strval($j+7).'" type="submit" name="Prev" value="'._('Prev').'" /></td>'; echo '<td style="text-align:center" colspan="6"><input type="hidden" name="SelectingOrderItems" value="1" /><input tabindex="'.strval($j+8).'" type="submit" value="'._('Add to Sale').'" /></td>'; echo '<td><input type="hidden" name="NextList" value="'.strval($Offset+1).'" /><input tabindex="'.strval($j+9).'" type="submit" name="Next" value="'._('Next').'" /></td></tr>'; - echo '</table></form>'; + echo '</table></div></form>'; echo $jsCall; }#end if SearchResults to show } /*end of PartSearch options to be displayed */ else { /* show the quick entry form variable */ - echo '<div class="page_help_text"><b>' . _('Use this form to add items quickly if the item codes are already known') . '</b></div><br /> - <table border="1"> + echo '<div class="page_help_text"><b>' . _('Use this form to add items quickly if the item codes are already known') . '</b></div><br />'; + if (count($_SESSION['Items'.$identifier]->LineItems)==0) { + echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items'.$identifier]->CustRef.'" />'; + echo '<input type="hidden" name="Comments" value="'.$_SESSION['Items'.$identifier]->Comments.'" />'; + echo '<input type="hidden" name="DeliverTo" value="'.$_SESSION['Items'.$identifier]->DeliverTo.'" />'; + echo '<input type="hidden" name="PhoneNo" value="'.$_SESSION['Items'.$identifier]->PhoneNo.'" />'; + echo '<input type="hidden" name="Email" value="'.$_SESSION['Items'.$identifier]->Email.'" />'; + } + echo '<table border="1"> <tr>'; /*do not display colum unless customer requires po line number by sales order line*/ echo '<th>' . _('Item Code') . '</th> <th>' . _('Quantity') . '</th> </tr>'; $DefaultDeliveryDate = DateAdd(Date($_SESSION['DefaultDateFormat']),'d',$_SESSION['Items'.$identifier]->DeliveryDays); - if (count($_SESSION['Items'.$identifier]->LineItems)==0) { - echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items'.$identifier]->CustRef.'" />'; - echo '<input type="hidden" name="Comments" value="'.$_SESSION['Items'.$identifier]->Comments.'" />'; - echo '<input type="hidden" name="DeliverTo" value="'.$_SESSION['Items'.$identifier]->DeliverTo.'" />'; - echo '<input type="hidden" name="PhoneNo" value="'.$_SESSION['Items'.$identifier]->PhoneNo.'" />'; - echo '<input type="hidden" name="Email" value="'.$_SESSION['Items'.$identifier]->Email.'" />'; - } for ($i=1;$i<=$_SESSION['QuickEntries'];$i++){ echo '<tr class="OddTableRow">'; /* Do not display colum unless customer requires po line number by sales order line*/ echo '<td><input type="text" name="part_' . $i . '" size="21" maxlength="20" /></td> - <td><input type="text" class="number" name="qty_' . $i . '" size="6" maxlength="6" /></td> - <input type="hidden" class="date" name="ItemDue_' . $i . '" value="' . $DefaultDeliveryDate . '" /></tr>'; + <td><input type="text" class="number" name="qty_' . $i . '" size="6" maxlength="6" /> + <input type="hidden" class="date" name="ItemDue_' . $i . '" value="' . $DefaultDeliveryDate . '" /></td></tr>'; } - echo '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.part_1);}</script>'; - echo '</table><br /><div class="centre"><input type="submit" name="QuickEntry" value="' . _('Quick Entry') . '" /> <input type="submit" name="PartSearch" value="' . _('Search Parts') . '" /></div>'; + echo '</div>'; + echo '</form>'; + echo '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.part_1);}</script>'; + } if ($_SESSION['Items'.$identifier]->ItemsOrdered >=1){ echo '<br /><div class="centre"><input type="submit" name="CancelOrder" value="' . _('Cancel Sale') . '" onclick="return confirm(\'' . _('Are you sure you wish to cancel this sale?') . '\');" /></div>'; } } -echo '</form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/CreditItemsControlled.php =================================================================== --- trunk/CreditItemsControlled.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/CreditItemsControlled.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -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 /><b>'. _('Credit of Controlled Item'). ' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('from') .' '. $_SESSION['CreditItems']->CustomerName . '</b></div>'; /** vars needed by InputSerialItem : **/ $LocationOut = $_SESSION['CreditItems']->Location; Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/CreditStatus.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -150,7 +150,8 @@ <tr> <th>'. _('Status Code') .'</th> <th>'. _('Description') .'</th> - <th>'. _('Disallow Invoices') .'</th>'; + <th>'. _('Disallow Invoices') .'</th> + </tr>'; $k=0; //row colour counter while ($myrow=DB_fetch_array($result)) { @@ -172,7 +173,7 @@ <td>%s</td> <td>%s</td> <td><a href="%s?SelectedReason=%s">' . _('Edit') . '</a></td> - <td><a href="%s?SelectedReason=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this credit status record?') . '\');">'. _('Delete') .'</a></td> + <td><a href="%s?SelectedReason=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this credit status record?') . '\');">'. _('Delete') .'</a></td> </tr>', $myrow['reasoncode'], $myrow['reasondescription'], @@ -196,6 +197,7 @@ if (!isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedReason) and ($InputError!=1)) { @@ -256,6 +258,7 @@ <div class="centre"> <input tabindex="4" type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; } //end if record deleted no point displaying form to add record include('includes/footer.inc'); Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/Credit_Invoice.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -257,16 +257,17 @@ if (!isset($_POST['ProcessCredit'])) { echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<table cellpadding="2" colspan="7" class="selection"><tr>'; + echo '<table cellpadding="2" class="selection">'; echo '<tr><th colspan="13">'; 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> + echo '<tr><th>' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> <th>' . _('Invoiced') . '</th> <th>' . _('Units') . '</th> @@ -380,7 +381,7 @@ <td class="number">' . $DisplayGrossLineTotal . '</td> <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?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 */ @@ -443,10 +444,10 @@ if (!isset($_POST['ProcessCredit'])) { echo '<tr> <td colspan="7" class="number">' . _('Credit Totals') . '</td> - <td class="number"><hr><b>' . $DisplayTotal . '</b><hr></td> + <td class="number"><hr /><b>' . $DisplayTotal . '</b><hr /></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> + <td class="number"><hr /><b>' . locale_number_format($TaxTotal,$_SESSION['CreditItems']->CurrDecimalPlaces) . '</b><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>'; } $DefaultDispatchDate = Date($_SESSION['DefaultDateFormat']); @@ -1513,7 +1514,7 @@ $j++; echo '<input type="submit" tabindex="'.$j++.'" name="ProcessCredit" value="' . _('Process Credit') .'" /></div>'; } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); ?> Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/Currencies.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -52,7 +52,7 @@ $Errors[$i] = 'Abbreviation'; $i++; } - if (mb_strlen($_POST['Abbreviation']) > 3) { + if (mb_strlen($_POST['Abbreviation']) > 3 OR mb_strlen($_POST['Abbreviation']) < 1) { $InputError = 1; prnMsg(_('The currency abbreviation must be 3 characters or less long and for automated currency updates to work correctly be one of the ISO4217 currency codes'),'error'); $Errors[$i] = 'Abbreviation'; @@ -104,7 +104,7 @@ } if (ContainsIllegalCharacters($_POST['Abbreviation'])) { $InputError = 1; - prnMsg( _('The currency code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error'); + prnMsg( _('The currency code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error'); $Errors[$i] = 'Abbreviation'; $i++; } @@ -231,7 +231,7 @@ while ($myrow = DB_fetch_array($result)) { if ($myrow[1]==$FunctionalCurrency){ - echo '<tr bgcolor="#FFbbbb">'; + echo '<tr style="background-color:#FFbbbb">'; } elseif ($k==1){ echo '<tr class="EvenTableRows">'; $k=0; @@ -247,7 +247,7 @@ } if ($myrow[1]!=$FunctionalCurrency){ - printf('<td><img src="%s" /></td> + printf('<td><img src="%s" alt="" /></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -255,8 +255,8 @@ <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><a href="%s&SelectedCurrency=%s">%s</a></td> - <td><a href="%s&SelectedCurrency=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this currency?') . '\');">%s</a></td> + <td><a href="%s&SelectedCurrency=%s">%s</a></td> + <td><a href="%s&SelectedCurrency=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this currency?') . '\');">%s</a></td> <td><a href="%s/ExchangeRateTrend.php?%s">' . _('Graph') . '</a></td> </tr>', $ImageFile, @@ -274,9 +274,9 @@ $myrow['currabrev'], _('Delete'), $rootpath, - '&CurrencyToShow=' . $myrow['currabrev']); + '&CurrencyToShow=' . $myrow['currabrev']); } else { - printf('<td><img src="%s" /></td> + printf('<td><img src="%s" alt="" /></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -309,6 +309,7 @@ if (!isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedCurrency) AND $SelectedCurrency!='') { @@ -400,6 +401,7 @@ <div class="centre"> <input type="submit" name="submit" value="'._('Enter Information').'" /> </div> + </div> </form>'; } //end if record deleted no point displaying form to add record Modified: trunk/GLAccountInquiry.php =================================================================== --- trunk/GLAccountInquiry.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLAccountInquiry.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -177,14 +177,14 @@ $RunningTotal =$ChartDetailRow['bfwd']; if ($RunningTotal < 0 ){ //its a credit balance b/fwd - echo '<tr bgcolor="#FDFEEF"> + echo '<tr style="background-color:#FDFEEF"> <td colspan="3"><b>' . _('Brought Forward Balance') . '</b><td> </td></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"> + echo '<tr style="background-color:#FDFEEF"> <td colspan="3"><b>' . _('Brought Forward Balance') . '</b></td> <td class="number"><b>' . locale_number_format($RunningTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td colspan="2"></td> @@ -213,7 +213,7 @@ $ChartDetailsResult = DB_query($sql,$db,$ErrMsg); $ChartDetailRow = DB_fetch_array($ChartDetailsResult); - echo '<tr bgcolor="#FDFEEF"> + echo '<tr style="background-color:#FDFEEF"> <td colspan="3"><b>' . _('Total for period') . ' ' . $PeriodNo . '</b></td>'; if ($PeriodTotal < 0 ){ //its a credit balance b/fwd if ($PandLAccount==True) { @@ -290,7 +290,7 @@ } - echo '<tr bgcolor="#FDFEEF"><td colspan="3"><b>'; + echo '<tr style="background-color:#FDFEEF"><td colspan="3"><b>'; if ($PandLAccount==True){ echo _('Total Period Movement'); } else { /*its a balance sheet account*/ Modified: trunk/GLBalanceSheet.php =================================================================== --- trunk/GLBalanceSheet.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLBalanceSheet.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -422,9 +422,9 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } @@ -446,9 +446,9 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } @@ -474,17 +474,17 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } else { echo '<tr> <td colspan="3"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> </tr>'; } @@ -575,9 +575,9 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } @@ -595,9 +595,9 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } @@ -615,17 +615,17 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } else { echo '<tr> <td colspan="3"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> </tr>'; } @@ -650,9 +650,9 @@ echo '<tr> <td colspan="3"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> </tr>'; printf('<tr> @@ -666,9 +666,9 @@ echo '<tr> <td colspan="3"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> </tr>'; echo '</table>'; Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLBudgets.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -184,13 +184,13 @@ for ($i=1; $i<=12; $i++) { echo '<tr>'; echo '<th>'. $PeriodEnd[$CurrentYearEndPeriod-(24-$i)] .'</th>'; - echo '<td bgcolor="d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod-(24-$i)],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; + echo '<td style="background-color:d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod-(24-$i)],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; echo '<td><input type="text" class="number" size="14" name="'.$i.'last" value="'.locale_number_format($Budget[$CurrentYearEndPeriod-(24-$i)],$_SESSION['CompanyRecord']['decimalplaces']) .'" /></td>'; echo '<th>'. $PeriodEnd[$CurrentYearEndPeriod-(12-$i)] .'</th>'; - echo '<td bgcolor="d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod-(12-$i)],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; + echo '<td style="background-color:d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod-(12-$i)],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; 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 style="background-color: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 '</tr>'; $LastYearActual=$LastYearActual+$Actual[$CurrentYearEndPeriod-(24-$i)]; Modified: trunk/GLProfit_Loss.php =================================================================== --- trunk/GLProfit_Loss.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLProfit_Loss.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -1171,7 +1171,7 @@ <td colspan="6"><hr /></td> </tr>'; - printf('<tr bgcolor="#ffffff"> + printf('<tr style="background-color:#ffffff"> <td colspan="2"><font size="4" color="blue"><b>'._('Profit').' - '._('Loss').'</b></font></td> <td></td> <td class="number">%s</td> Modified: trunk/GLTagProfit_Loss.php =================================================================== --- trunk/GLTagProfit_Loss.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLTagProfit_Loss.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -920,7 +920,7 @@ <td colspan="2"><hr /></td> </tr>'; - printf('<tr bgcolor="#ffffff"> + printf('<tr style="background-color:#ffffff"> <td colspan="2"><font size="4" color="blue"><b>'._('Surplus').' - '._('Deficit').'</b></font></td> <td></td> <td class="number">%s</td> Modified: trunk/GLTransInquiry.php =================================================================== --- trunk/GLTransInquiry.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLTransInquiry.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -178,7 +178,7 @@ } DB_free_result($TransResult); - echo '<tr bgcolor="#FFFFFF"> + echo '<tr style="background-color:#FFFFFF"> <td class="number" colspan="3"><b>' . _('Total') . '</b></td> <td class="number">' . locale_number_format(($DebitTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</td> <td class="number">' . locale_number_format((-$CreditTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</td> Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLTrialBalance.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -707,7 +707,7 @@ - printf('<tr bgcolor="#ffffff"> + printf('<tr style="background-color:#ffffff"> <td colspan="2"><b>' . _('Check Totals') . '</b></td> <td class="number">%s</td> <td class="number">%s</td> Modified: trunk/PO_OrderDetails.php =================================================================== --- trunk/PO_OrderDetails.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/PO_OrderDetails.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -174,10 +174,10 @@ echo '<tr class="OsRow">'; } else { if ($k==1){ - echo '<tr bgcolor="#CCCCCC">'; + echo '<tr style="background-color:#CCCCCC">'; $k=0; } else { - echo '<tr bgcolor="#EEEEEE">'; + echo '<tr style="background-color:#EEEEEE">'; $k=1; } } Modified: trunk/PO_SelectPurchOrder.php =================================================================== --- trunk/PO_SelectPurchOrder.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/PO_SelectPurchOrder.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -219,10 +219,10 @@ $k = 0; //row colour counter while ($myrow = DB_fetch_array($StockItemsResult)) { if ($k == 1) { - echo '<tr bgcolor="#CCCCCC">'; + echo '<tr style="background-color:#CCCCCC">'; $k = 0; } else { - echo '<tr bgcolor="#EEEEEE">'; + echo '<tr style="background-color:#EEEEEE">'; $k = 1; } echo '<td><input type="submit" name="SelectedStockItem" value="' . $myrow['stockid'] . '"</td> @@ -442,10 +442,10 @@ $k = 0; //row colour counter while ($myrow = DB_fetch_array($PurchOrdersResult)) { if ($k == 1) { /*alternate bgcolour of row for highlighting */ - echo '<tr bgcolor="#CCCCCC">'; + echo '<tr style="background-color:#CCCCCC">'; $k = 0; } else { - echo '<tr bgcolor="#EEEEEE">'; + echo '<tr style="background-color:#EEEEEE">'; $k++; } $ViewPurchOrder = $rootpath . '/PO_OrderDetails.php?OrderNo=' . $myrow['orderno']; Modified: trunk/Prices_Customer.php =================================================================== --- trunk/Prices_Customer.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/Prices_Customer.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -267,7 +267,7 @@ } else { $EndDateDisplay = ConvertSQLDate($myrow['enddate']); } - echo '<tr bgcolor="#CCCCCC"> + echo '<tr style="background-color:#CCCCCC"> <td class="number">'.locale_number_format($myrow['price'],$CurrDecimalPlaces).'</td> <td>' . $Branch.'</td> <td>'.$myrow['units'].'</td> Modified: trunk/PrintCustTrans.php =================================================================== --- trunk/PrintCustTrans.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/PrintCustTrans.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -689,7 +689,7 @@ echo '<table class="table1"> <tr><td VALIGN=TOP WIDTH="10%"><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#BBBBBB"><b>'; + <td style="background-color:#BBBBBB"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') . ' '; @@ -719,10 +719,10 @@ echo '<table class="table1"> <tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Charge To') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Charge To') . ':</b></td> </tr> <tr> - <td bgcolor="#EEEEEE">'; + <td style="background-color:#EEEEEE">'; echo $myrow['name'] . '<br />' . $myrow['address1'] . '<br />' . $myrow['address2'] . @@ -744,11 +744,11 @@ echo '<table class="table1"> <tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Charge Branch') . ':</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Delivered To') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Charge Branch') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Delivered To') . ':</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' .$myrow['brname'] . + <td style="background-color:#EEEEEE">' .$myrow['brname'] . '<br />' . $myrow['braddress1'] . '<br />' . $myrow['braddress2'] . '<br />' . $myrow['braddress3'] . @@ -756,7 +756,7 @@ '<br />' . $myrow['braddress5'] . '<br />' . $myrow['braddress6'] . '</td>'; - echo '<td bgcolor="#EEEEEE">' . $myrow['deliverto'] . + echo '<td style="background-color:#EEEEEE">' . $myrow['deliverto'] . '<br />' . $myrow['deladd1'] . '<br />' . $myrow['deladd2'] . '<br />' . $myrow['deladd3'] . @@ -765,26 +765,26 @@ '<br />' . $myrow['deladd6'] . '</td> </tr> </table> - <hr>'; + <hr />'; echo '<table class="table1"> <tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Your Order Ref') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Our Order No') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Order Date') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Invoice Date') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Shipper') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Consignment Ref') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Your Order Ref') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Our Order No') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Order Date') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Invoice Date') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Shipper') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Consignment Ref') . '</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . $myrow['customerref'] . '</td> - <td bgcolor="#EEEEEE">' .$myrow['orderno'] . '</td> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['orddate']) . '</td> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> - <td bgcolor="#EEEEEE">' . $myrow['salesmanname'] . '</td> - <td bgcolor="#EEEEEE">' . $myrow['shippername'] . '</td> - <td bgcolor="#EEEEEE">' . $myrow['consignment'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['customerref'] . '</td> + <td style="background-color:#EEEEEE">' .$myrow['orderno'] . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['orddate']) . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> + <td style="background-color:#EEEEEE">' . $myrow['salesmanname'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['shippername'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['consignment'] . '</td> </tr> </table>'; @@ -807,10 +807,10 @@ } else { /* then its a credit note */ echo '<table width="50%"><tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Branch') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Branch') . ':</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' .$myrow['brname'] . + <td style="background-color:#EEEEEE">' .$myrow['brname'] . '<br />' . $myrow['braddress1'] . '<br />' . $myrow['braddress2'] . '<br />' . $myrow['braddress3'] . @@ -818,13 +818,13 @@ '<br />' . $myrow['braddress5'] . '<br />' . $myrow['braddress6'] . '</td> </tr></table>'; - echo '<hr><table class="table1"><tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Date') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> + echo '<hr /><table class="table1"><tr> + <td align=left style="background-color:#BBBBBB"><b>' . _('Date') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> - <td bgcolor="#EEEEEE">' . $myrow['salesmanname'] . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> + <td style="background-color:#EEEEEE">' . $myrow['salesmanname'] . '</td> </tr></table>'; $sql ="SELECT stockmoves.stockid, @@ -922,7 +922,7 @@ echo '</table> <table class="table1"> <tr><td valign=top><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#BBBBBB"><b>'; + <td style="background-color:#BBBBBB"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') . ' '; @@ -971,7 +971,7 @@ $PageNumber++; echo '<table class="table1"> <tr><td valign=top><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#BBBBBB"><b>'; + <td style="background-color:#BBBBBB"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') .' '; @@ -1035,20 +1035,20 @@ /*Print out the invoice text entered */ echo '<table class=table1><tr> <td class="number">' . _('Sub Total') . '</td> - <td class="number" bgcolor="#EEEEEE" width="15%">' . $DisplaySubTot . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE" width="15%">' . $DisplaySubTot . '</td></tr>'; echo '<tr><td class="number">' . _('Freight') . '</td> - <td class="number" bgcolor="#EEEEEE">' . $DisplayFreight . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE">' . $DisplayFreight . '</td></tr>'; echo '<tr><td class="number">' . _('Tax') . '</td> - <td class="number" bgcolor="#EEEEEE">' . $DisplayTax . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE">' . $DisplayTax . '</td></tr>'; if ($InvOrCredit=='Invoice'){ echo '<tr> <td class="number"><b>' . _('TOTAL INVOICE') . '</b></td> - <td class="number" bgcolor="#EEEEEE"><U><b>' . $DisplayTotal . '</b></U></td> + <td class="number" style="background-color:#EEEEEE"><U><b>' . $DisplayTotal . '</b></U></td> </tr>'; } else { echo '<tr> <td class="number"><font color=RED><b>' . _('TOTAL CREDIT') .'</b></font></td> - <td class="number" bgcolor="#EEEEEE"><font color="red"><U><b>' . $DisplayTotal . '</b></U></font></td> + <td class="number" style="background-color:#EEEEEE"><font color="red"><U><b>' . $DisplayTotal . '</b></U></font></td> </tr>'; } echo '</table>'; Modified: trunk/PrintCustTransPortrait.php =================================================================== --- trunk/PrintCustTransPortrait.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/PrintCustTransPortrait.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -725,7 +725,7 @@ echo '<table class="table1"> <tr> <td valign=top width="10%"><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#bbbbbb"><b>'; + <td style="background-color:#bbbbbb"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') . ' '; @@ -759,10 +759,10 @@ echo '<table class="table1"> <tr> - <td align="left" bgcolor="#bbbbbb"><b>' . _('Charge To') . ':</b></td> + <td align="left" style="background-color:#bbbbbb"><b>' . _('Charge To') . ':</b></td> </tr> <tr> - <td bgcolor="#eeeeee">'; + <td style="background-color:#eeeeee">'; echo $myrow['name'] . '<br />' . $myrow['address1'] . '<br />' . $myrow['address2'] . @@ -785,11 +785,11 @@ echo '<table class="table1"> <tr> - <td align=left bgcolor="#bbbbbb"><b>' . _('Charge Branch') . ':</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Delivered To') . ':</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Charge Branch') . ':</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Delivered To') . ':</b></td> </tr>'; echo '<tr> - <td bgcolor="#eeeeee">' .$myrow['brname'] . + <td style="background-color:#eeeeee">' .$myrow['brname'] . '<br />' . $myrow['braddress1'] . '<br />' . $myrow['braddress2'] . '<br />' . $myrow['braddress3'] . @@ -798,7 +798,7 @@ '<br />' . $myrow['braddress6'] . '</td>'; - echo '<td bgcolor="#eeeeee">' . $myrow['deliverto'] . + echo '<td style="background-color:#eeeeee">' . $myrow['deliverto'] . '<br />' . $myrow['deladd1'] . '<br />' . $myrow['deladd2'] . '<br />' . $myrow['deladd3'] . @@ -807,26 +807,26 @@ '<br />' . $myrow['deladd6'] . '</td>'; echo '</tr> - </table><hr>'; + </table><hr />'; echo '<table class="table1"> <tr> - <td align=left bgcolor="#bbbbbb"><b>' . _('Your Order Ref') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Our Order No') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Order Date') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Invoice Date') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Sales Person') . '</font></b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Shipper') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Consignment Ref') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Your Order Ref') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Our Order No') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Order Date') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Invoice Date') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Sales Person') . '</font></b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Shipper') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Consignment Ref') . '</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . $myrow['customerref'] . '</td> - <td bgcolor="#EEEEEE">' .$myrow['orderno'] . '</td> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['orddate']) . '</td> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> - <td bgcolor="#EEEEEE">' . $myrow['salesmanname'] . '</td> - <td bgcolor="#EEEEEE">' . $myrow['shippername'] . '</td> - <td bgcolor="#EEEEEE">' . $myrow['consignment'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['customerref'] . '</td> + <td style="background-color:#EEEEEE">' .$myrow['orderno'] . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['orddate']) . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> + <td style="background-color:#EEEEEE">' . $myrow['salesmanname'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['shippername'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['consignment'] . '</td> </tr> </table>'; @@ -849,10 +849,10 @@ echo '<table width="50%"> <tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Branch') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Branch') . ':</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . $myrow['brname'] . + <td style="background-color:#EEEEEE">' . $myrow['brname'] . '<br />' . $myrow['braddress1'] . '<br />' . $myrow['braddress2'] . '<br />' . $myrow['braddress3'] . @@ -861,15 +861,15 @@ '<br />' . $myrow['braddress6'] . '</td> </tr></table>'; - echo '<hr> + echo '<hr /> <table class="table1"> <tr> - <td align="left" bgcolor="#bbbbbb"><b>' . _('Date') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> + <td align="left" style="background-color:#bbbbbb"><b>' . _('Date') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> - <td bgcolor="#EEEEEE">' . $myrow['salesmanname'] . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> + <td style="background-color:#EEEEEE">' . $myrow['salesmanname'] . '</td> </tr> </table>'; @@ -889,7 +889,7 @@ AND stockmoves.show_on_inv_crds=1"; } - echo '<hr>'; + echo '<hr />'; echo '<div class="centre"><font size="2">' . _('All amounts stated in') . ' ' . $myrow['currcode'] . '</font></div>'; $result=DB_query($sql,$db); @@ -973,7 +973,7 @@ <table class="table1"> <tr> <td valign="top"><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#bbbbbb"><b>'; + <td style="background-color:#bbbbbb"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') . ' '; @@ -1029,7 +1029,7 @@ echo '<table class="table1"> <tr> <td valign="top"><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#bbbbbb"><b>'; + <td style="background-color:#bbbbbb"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') .' '; } else { @@ -1099,17 +1099,17 @@ /*Print out the invoice text entered */ echo '<table class="table1"><tr> <td class="number">' . _('Sub Total') . '</td> - <td class="number" bgcolor="#EEEEEE" width="15%">' . $DisplaySubTot . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE" width="15%">' . $DisplaySubTot . '</td></tr>'; echo '<tr><td class="number">' . _('Freight') . '</td> - <td class="number" bgcolor="#EEEEEE">' . $DisplayFreight . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE">' . $DisplayFreight . '</td></tr>'; echo '<tr><td class="number">' . _('Tax') . '</td> - <td class="number" bgcolor="#EEEEEE">' . $DisplayTax . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE">' . $DisplayTax . '</td></tr>'; if ($InvOrCredit=='Invoice'){ echo '<tr><td class="number"><b>' . _('TOTAL INVOICE') . '</b></td> - <td class="number" bgcolor="#EEEEEE"><u><b>' . $DisplayTotal . '</b></u></td></tr>'; + <td class="number" style="background-color:#EEEEEE"><u><b>' . $DisplayTotal . '</b></u></td></tr>'; } else { echo '<tr><td class="number"><font color="red"><b>' . _('TOTAL CREDIT') . '</b></font></td> - <td class="number" bgcolor="#EEEEEE"><font color="red"><u><b>' . $DisplayTotal . '</b></u></font></td></tr>'; + <td class="number" style="background-color:#EEEEEE"><font color="red"><u><b>' . $DisplayTotal . '</b></u></font></td></tr>'; } echo '</table>'; } /* end of check to see that there was an invoice record to print */ Modified: trunk/RecurringSalesOrders.php =================================================================== --- trunk/RecurringSalesOrders.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/RecurringSalesOrders.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -500,7 +500,7 @@ echo '<input type="hidden" name="ExistingRecurrOrderNo" value="' . $_POST['ExistingRecurrOrderNo'] . '" />'; echo '<input type="submit" name="Process" value="' . _('Update Recurring Order Details') . '" />'; - echo '<hr>'; + 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?') . '\');" />'; } Modified: trunk/SalesByTypePeriodInquiry.php =================================================================== --- trunk/SalesByTypePeriodInquiry.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/SalesByTypePeriodInquiry.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -379,10 +379,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } $PrdTotalOrders =0; @@ -414,10 +414,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } $PrdTotalOrders =0; @@ -449,10 +449,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } $PrdTotalOrders =0; @@ -484,10 +484,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } $PrdTotalOrders =0; @@ -545,10 +545,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } echo '<td colspan="2" class="number">' . _('GRAND Total') . '</td> Modified: trunk/SalesCategoryPeriodInquiry.php =================================================================== --- trunk/SalesCategoryPeriodInquiry.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/SalesCategoryPeriodInquiry.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -198,10 +198,10 @@ } //loop around category sales for the period if ($k==1){ - echo '<tr class="EvenTableRows"><t... [truncated message content] |
From: <vv...@us...> - 2012-03-07 23:06:41
|
Revision: 5053 http://web-erp.svn.sourceforge.net/web-erp/?rev=5053&view=rev Author: vvs2012 Date: 2012-03-07 23:06:32 +0000 (Wed, 07 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/AuditTrail.php trunk/BankMatching.php trunk/CounterSales.php trunk/CreditItemsControlled.php trunk/CreditStatus.php trunk/Credit_Invoice.php trunk/Currencies.php trunk/GLAccountInquiry.php trunk/GLBalanceSheet.php trunk/GLBudgets.php trunk/GLProfit_Loss.php trunk/GLTagProfit_Loss.php trunk/GLTransInquiry.php trunk/GLTrialBalance.php trunk/PO_OrderDetails.php trunk/PO_SelectPurchOrder.php trunk/Prices_Customer.php trunk/PrintCustTrans.php trunk/PrintCustTransPortrait.php trunk/RecurringSalesOrders.php trunk/SalesByTypePeriodInquiry.php trunk/SalesCategoryPeriodInquiry.php trunk/SalesTopItemsInquiry.php trunk/SelectOrderItems.php trunk/SpecialOrder.php trunk/StockLocTransferReceive.php trunk/SupplierInvoice.php trunk/SupplierTenders.php trunk/SupplierTransInquiry.php trunk/TaxAuthorityRates.php trunk/UpgradeDatabase.php trunk/WorkOrderCosting.php trunk/Z_CheckDebtorsControl.php trunk/Z_CreateCompanyTemplateFile.php trunk/Z_Upgrade_3.10-3.11.php trunk/Z_Upgrade_3.11-4.00.php trunk/Z_index.php trunk/includes/InputSerialItemsKeyed.php trunk/includes/OutputSerialItems.php trunk/reportwriter/FormMaker.php trunk/reportwriter/admin/RCFunctions.inc Modified: trunk/AuditTrail.php =================================================================== --- trunk/AuditTrail.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/AuditTrail.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -198,7 +198,7 @@ if (isset($_SESSION['SQLString']['values'][$i]) and (trim(str_replace("'","",$_SESSION['SQLString']['values'][$i])) != "") & (trim($_SESSION['SQLString']['fields'][$i]) != 'password') & (trim($_SESSION['SQLString']['fields'][$i]) != 'www_users.password')) { - echo '<tr bgcolor="' . $RowColour . '">'; + echo '<tr style="background-color:' . $RowColour . '">'; echo '<td></td> <td></td> <td></td> @@ -208,7 +208,7 @@ echo '</tr>'; } } - echo '<tr bgcolor="black"> <td colspan="6"></td> </tr>'; + echo '<tr style="background-color:black"> <td colspan="6"></td> </tr>'; } unset($_SESSION['SQLString']); } Modified: trunk/BankMatching.php =================================================================== --- trunk/BankMatching.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/BankMatching.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -284,7 +284,7 @@ $Outstanding = $myrow['amt']- $myrow['amountcleared']; if (ABS($Outstanding)<0.009){ /*the payment is cleared dont show the check box*/ - printf('<tr bgcolor="#CCCEEE"> + printf('<tr style="background-color:#CCCEEE"> <td>%s</td> <td>%s</td> <td>%s</td> Modified: trunk/CounterSales.php =================================================================== --- trunk/CounterSales.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/CounterSales.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -226,11 +226,11 @@ if (isset($_POST['Search']) or isset($_POST['Next']) or isset($_POST['Prev'])){ if ($_POST['Keywords']!='' AND $_POST['StockCode']=='') { - $msg='<div class="page_help_text">' . _('Item description has been used in search') . '.</div>'; + $msg = _('Item description has been used in search'); } else if ($_POST['StockCode']!='' AND $_POST['Keywords']=='') { - $msg='<div class="page_help_text">' . _('Item Code has been used in search') . '.</div>'; + $msg = _('Item Code has been used in search'); } else if ($_POST['Keywords']=='' AND $_POST['StockCode']=='') { - $msg='<div class="page_help_text">' . _('Stock Category has been used in search') . '.</div>'; + $msg = _('Stock Category has been used in search'); } if (isset($_POST['Keywords']) AND mb_strlen($_POST['Keywords'])>0) { //insert wildcard characters in spaces @@ -241,7 +241,7 @@ $SQL = "SELECT stockmaster.stockid, stockmaster.description, stockmaster.units, - stockmaster.decmimalplaces + stockmaster.decimalplaces FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid WHERE (stockcategory.stocktype='F' OR stockcategory.stocktype='D') @@ -361,7 +361,8 @@ /* Always do the stuff below */ -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" name="SelectParts" method="post">'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" id="SelectParts" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; //Get The exchange rate used for GPPercent calculations on adding or amending items @@ -735,8 +736,8 @@ */ echo '<br /> - <table width="90%" cellpadding="2" colspan="7"> - <tr bgcolor="#800000">'; + <table width="90%" cellpadding="2"> + <tr style="background-color:#800000">'; echo '<th>' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> <th>' . _('Quantity') . '</th> @@ -768,7 +769,7 @@ if ($OrderLine->QOHatLoc < $OrderLine->Quantity AND ($OrderLine->MBflag=='B' OR $OrderLine->MBflag=='M')) { /*There is a stock deficiency in the stock location selected */ - $RowStarter = '<tr bgcolor="#EEAABB">'; + $RowStarter = '<tr style="background-color:#EEAABB">'; } elseif ($k==1){ $RowStarter = '<tr class="OddTableRows">'; $k=0; @@ -778,10 +779,10 @@ } echo $RowStarter; - echo '<input type="hidden" name="POLine_' . $OrderLine->LineNumber . '" value="" />'; + echo '<td><input type="hidden" name="POLine_' . $OrderLine->LineNumber . '" value="" />'; echo '<input type="hidden" name="ItemDue_' . $OrderLine->LineNumber . '" value="'.$OrderLine->ItemDue.'" />'; - echo '<td><a target="_blank" href="' . $rootpath . '/StockStatus.php?identifier='.$identifier . '&StockID=' . $OrderLine->StockID . '&DebtorNo=' . $_SESSION['Items'.$identifier]->DebtorNo . '">' . $OrderLine->StockID . '</a></td> + echo '<a target="_blank" href="' . $rootpath . '/StockStatus.php?identifier='.$identifier . '&StockID=' . $OrderLine->StockID . '&DebtorNo=' . $_SESSION['Items'.$identifier]->DebtorNo . '">' . $OrderLine->StockID . '</a></td> <td>' . $OrderLine->ItemDescription . '</td>'; echo '<td><input class="number" tabindex="2" type="text" name="Quantity_' . $OrderLine->LineNumber . '" size="6" maxlength="6" value="' . locale_number_format($OrderLine->Quantity,$OrderLine->DecimalPlaces) . '" />'; @@ -794,9 +795,9 @@ <td><input class="number" type="text" name="Discount_' . $OrderLine->LineNumber . '" size="5" maxlength="4" value="' . locale_number_format(($OrderLine->DiscountPercent * 100),2) . '" /></td> <td><input class="number" type="text" name="GPPercent_' . $OrderLine->LineNumber . '" size="3" maxlength="40" value="' . locale_number_format($OrderLine->GPPercent,2) . '" /></td>'; } else { - echo '<td class="number">' . locale_number_format($OrderLine->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '<input type="hidden" name="Price_' . $OrderLine->LineNumber . '" value="' . locale_number_format($OrderLine->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '" /></td> + echo '<td class="number">' . locale_number_format($OrderLine->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '<input type="hidden" name="Price_' . $OrderLine->LineNumber . '" value="' . locale_number_format($OrderLine->Price,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '" /> <input type="hidden" name="Discount_' . $OrderLine->LineNumber . '" value="' . locale_number_format(($OrderLine->DiscountPercent * 100),2) . '" /> - <input type="hidden" name="GPPercent_' . $OrderLine->LineNumber . '" value="' . locale_number_format($OrderLine->GPPercent,2) . '" />'; + <input type="hidden" name="GPPercent_' . $OrderLine->LineNumber . '" value="' . locale_number_format($OrderLine->GPPercent,2) . '" /></td>'; } echo '<td class="number">' . locale_number_format($SubTotal,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</td>'; $LineDueDate = $OrderLine->ItemDue; @@ -826,7 +827,7 @@ $_SESSION['Items'.$identifier]->TaxGLCodes=$TaxGLCodes; echo '<td class="number">' . locale_number_format($TaxLineTotal ,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</td>'; echo '<td class="number">' . locale_number_format($SubTotal + $TaxLineTotal ,$_SESSION['Items'.$identifier]->CurrDecimalPlaces) . '</td>'; - echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '&Delete=' . $OrderLine->LineNumber . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');">' . _('Delete') . '</a></td></tr>'; + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '&Delete=' . $OrderLine->LineNumber . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');">' . _('Delete') . '</a></td></tr>'; if ($_SESSION['AllowOrderLineItemNarrative'] == 1){ echo $RowStarter; @@ -1988,9 +1989,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 '<br /><br /><a href="' .htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Start a new Counter Sale') . '</a></div>'; @@ -2120,7 +2121,7 @@ $Available = $QOH - $DemandQty + $OnOrder; - printf('<td>%s</font></td> + printf('<td>%s</td> <td>%s</td> <td>%s</td> <td class="number">%s</td> @@ -2153,7 +2154,7 @@ echo '</table>'; } //end of if Frequently Ordered Items > 0 if (isset($msg)){ - echo '<p><div class="centre"><b>' . $msg . '</b></div></p>'; + echo '<div class="page_help_text"><p><b>' . $msg . '</b></p></div>'; } echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' '; echo _('Search for Items') . '</p>'; @@ -2180,25 +2181,28 @@ } } - ?> + echo '</select></td> + <td><b>' . _('Enter partial Description') . ':</b> + <input tabindex="2" type="text" name="Keywords" size="20" maxlength="25" value="'; + if (isset($_POST['Keywords'])) echo $_POST['Keywords']; + echo '" /></td> - </select></td> - <td><b><?php echo _('Enter partial Description'); ?>:</b> - <input tabindex="2" type="text" name="Keywords" size="20" maxlength="25" value="<?php if (isset($_POST['Keywords'])) echo $_POST['Keywords']; ?>" /></td> + <td align="right"><b> ' . _('OR') . ' </b><b>' . _('Enter extract of the Stock Code') . ':</b> + <input tabindex="3" type="text" name="StockCode" size="15" maxlength="18" value="'; + if (isset($_POST['StockCode'])) echo $_POST['StockCode']; + echo '" /></td> - <td align="right"><b><?php echo _('OR'); ?> </b><b><?php echo _('Enter extract of the Stock Code'); ?>:</b> - <input tabindex="3" type="text" name="StockCode" size="15" maxlength="18" value="<?php if (isset($_POST['StockCode'])) echo $_POST['StockCode']; ?>" /></td> - </tr><tr> - <td style="text-align:center" colspan="1"><input tabindex="4" type="submit" name="Search" value="<?php echo _('Search Now'); ?>" /></td> - <td style="text-align:center" colspan="1"><input tabindex="5" type="submit" name="QuickEntry" value="<?php echo _('Use Quick Entry'); ?>" /></td> + <td style="text-align:center" colspan="1"><input tabindex="4" type="submit" name="Search" value="' . _('Search Now') . '" /></td> + <td style="text-align:center" colspan="1"><input tabindex="5" type="submit" name="QuickEntry" value="' . _('Use Quick Entry') . '" /></td>'; - <?php if (!isset($_POST['PartSearch'])) { echo '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.Keywords);}</script>'; } echo '</tr></table><br />'; + echo '</div>'; + echo '</form>'; // Add some useful help as the order progresses if (isset($SearchResult)) { echo '<br />'; @@ -2209,7 +2213,8 @@ if (isset($SearchResult)) { $j = 1; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID .'identifier='.$identifier . '" method="post" name="orderform">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID .'identifier='.$identifier . '" method="post" id="orderform">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="table1">'; echo '<tr> @@ -2310,7 +2315,7 @@ <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><input class="number" tabindex="'.strval($j+7).'" type="text" size="6" name="OrderQty%s" value="0" /></font><input type="hidden" name="StockID%s" value="%s" /></td> + <td><input class="number" tabindex="'.strval($j+7).'" type="text" size="6" name="OrderQty%s" value="0" /><input type="hidden" name="StockID%s" value="%s" /></td> </tr>', $myrow['stockid'], $myrow['description'], @@ -2330,55 +2335,58 @@ #end of page full new headings if } #end of while loop + echo '<tr><td>'; echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items'.$identifier]->CustRef.'" />'; echo '<input type="hidden" name="Comments" value="'.$_SESSION['Items'.$identifier]->Comments.'" />'; echo '<input type="hidden" name="DeliverTo" value="'.$_SESSION['Items'.$identifier]->DeliverTo.'" />'; echo '<input type="hidden" name="PhoneNo" value="'.$_SESSION['Items'.$identifier]->PhoneNo.'" />'; echo '<input type="hidden" name="Email" value="'.$_SESSION['Items'.$identifier]->Email.'" />'; + echo '</td></tr>'; echo '<tr><td><input type="hidden" name="previous" value="'.strval($Offset-1).'" /><input tabindex="'.strval($j+7).'" type="submit" name="Prev" value="'._('Prev').'" /></td>'; echo '<td style="text-align:center" colspan="6"><input type="hidden" name="SelectingOrderItems" value="1" /><input tabindex="'.strval($j+8).'" type="submit" value="'._('Add to Sale').'" /></td>'; echo '<td><input type="hidden" name="NextList" value="'.strval($Offset+1).'" /><input tabindex="'.strval($j+9).'" type="submit" name="Next" value="'._('Next').'" /></td></tr>'; - echo '</table></form>'; + echo '</table></div></form>'; echo $jsCall; }#end if SearchResults to show } /*end of PartSearch options to be displayed */ else { /* show the quick entry form variable */ - echo '<div class="page_help_text"><b>' . _('Use this form to add items quickly if the item codes are already known') . '</b></div><br /> - <table border="1"> + echo '<div class="page_help_text"><b>' . _('Use this form to add items quickly if the item codes are already known') . '</b></div><br />'; + if (count($_SESSION['Items'.$identifier]->LineItems)==0) { + echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items'.$identifier]->CustRef.'" />'; + echo '<input type="hidden" name="Comments" value="'.$_SESSION['Items'.$identifier]->Comments.'" />'; + echo '<input type="hidden" name="DeliverTo" value="'.$_SESSION['Items'.$identifier]->DeliverTo.'" />'; + echo '<input type="hidden" name="PhoneNo" value="'.$_SESSION['Items'.$identifier]->PhoneNo.'" />'; + echo '<input type="hidden" name="Email" value="'.$_SESSION['Items'.$identifier]->Email.'" />'; + } + echo '<table border="1"> <tr>'; /*do not display colum unless customer requires po line number by sales order line*/ echo '<th>' . _('Item Code') . '</th> <th>' . _('Quantity') . '</th> </tr>'; $DefaultDeliveryDate = DateAdd(Date($_SESSION['DefaultDateFormat']),'d',$_SESSION['Items'.$identifier]->DeliveryDays); - if (count($_SESSION['Items'.$identifier]->LineItems)==0) { - echo '<input type="hidden" name="CustRef" value="'.$_SESSION['Items'.$identifier]->CustRef.'" />'; - echo '<input type="hidden" name="Comments" value="'.$_SESSION['Items'.$identifier]->Comments.'" />'; - echo '<input type="hidden" name="DeliverTo" value="'.$_SESSION['Items'.$identifier]->DeliverTo.'" />'; - echo '<input type="hidden" name="PhoneNo" value="'.$_SESSION['Items'.$identifier]->PhoneNo.'" />'; - echo '<input type="hidden" name="Email" value="'.$_SESSION['Items'.$identifier]->Email.'" />'; - } for ($i=1;$i<=$_SESSION['QuickEntries'];$i++){ echo '<tr class="OddTableRow">'; /* Do not display colum unless customer requires po line number by sales order line*/ echo '<td><input type="text" name="part_' . $i . '" size="21" maxlength="20" /></td> - <td><input type="text" class="number" name="qty_' . $i . '" size="6" maxlength="6" /></td> - <input type="hidden" class="date" name="ItemDue_' . $i . '" value="' . $DefaultDeliveryDate . '" /></tr>'; + <td><input type="text" class="number" name="qty_' . $i . '" size="6" maxlength="6" /> + <input type="hidden" class="date" name="ItemDue_' . $i . '" value="' . $DefaultDeliveryDate . '" /></td></tr>'; } - echo '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.part_1);}</script>'; - echo '</table><br /><div class="centre"><input type="submit" name="QuickEntry" value="' . _('Quick Entry') . '" /> <input type="submit" name="PartSearch" value="' . _('Search Parts') . '" /></div>'; + echo '</div>'; + echo '</form>'; + echo '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectParts.part_1);}</script>'; + } if ($_SESSION['Items'.$identifier]->ItemsOrdered >=1){ echo '<br /><div class="centre"><input type="submit" name="CancelOrder" value="' . _('Cancel Sale') . '" onclick="return confirm(\'' . _('Are you sure you wish to cancel this sale?') . '\');" /></div>'; } } -echo '</form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/CreditItemsControlled.php =================================================================== --- trunk/CreditItemsControlled.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/CreditItemsControlled.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -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 /><b>'. _('Credit of Controlled Item'). ' ' . $LineItem->StockID . ' - ' . $LineItem->ItemDescription . ' '. _('from') .' '. $_SESSION['CreditItems']->CustomerName . '</b></div>'; /** vars needed by InputSerialItem : **/ $LocationOut = $_SESSION['CreditItems']->Location; Modified: trunk/CreditStatus.php =================================================================== --- trunk/CreditStatus.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/CreditStatus.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -150,7 +150,8 @@ <tr> <th>'. _('Status Code') .'</th> <th>'. _('Description') .'</th> - <th>'. _('Disallow Invoices') .'</th>'; + <th>'. _('Disallow Invoices') .'</th> + </tr>'; $k=0; //row colour counter while ($myrow=DB_fetch_array($result)) { @@ -172,7 +173,7 @@ <td>%s</td> <td>%s</td> <td><a href="%s?SelectedReason=%s">' . _('Edit') . '</a></td> - <td><a href="%s?SelectedReason=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this credit status record?') . '\');">'. _('Delete') .'</a></td> + <td><a href="%s?SelectedReason=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this credit status record?') . '\');">'. _('Delete') .'</a></td> </tr>', $myrow['reasoncode'], $myrow['reasondescription'], @@ -196,6 +197,7 @@ if (!isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedReason) and ($InputError!=1)) { @@ -256,6 +258,7 @@ <div class="centre"> <input tabindex="4" type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; } //end if record deleted no point displaying form to add record include('includes/footer.inc'); Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/Credit_Invoice.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -257,16 +257,17 @@ if (!isset($_POST['ProcessCredit'])) { echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<table cellpadding="2" colspan="7" class="selection"><tr>'; + echo '<table cellpadding="2" class="selection">'; echo '<tr><th colspan="13">'; 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> + echo '<tr><th>' . _('Item Code') . '</th> <th>' . _('Item Description') . '</th> <th>' . _('Invoiced') . '</th> <th>' . _('Units') . '</th> @@ -380,7 +381,7 @@ <td class="number">' . $DisplayGrossLineTotal . '</td> <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?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 */ @@ -443,10 +444,10 @@ if (!isset($_POST['ProcessCredit'])) { echo '<tr> <td colspan="7" class="number">' . _('Credit Totals') . '</td> - <td class="number"><hr><b>' . $DisplayTotal . '</b><hr></td> + <td class="number"><hr /><b>' . $DisplayTotal . '</b><hr /></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> + <td class="number"><hr /><b>' . locale_number_format($TaxTotal,$_SESSION['CreditItems']->CurrDecimalPlaces) . '</b><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>'; } $DefaultDispatchDate = Date($_SESSION['DefaultDateFormat']); @@ -1513,7 +1514,7 @@ $j++; echo '<input type="submit" tabindex="'.$j++.'" name="ProcessCredit" value="' . _('Process Credit') .'" /></div>'; } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); ?> Modified: trunk/Currencies.php =================================================================== --- trunk/Currencies.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/Currencies.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -52,7 +52,7 @@ $Errors[$i] = 'Abbreviation'; $i++; } - if (mb_strlen($_POST['Abbreviation']) > 3) { + if (mb_strlen($_POST['Abbreviation']) > 3 OR mb_strlen($_POST['Abbreviation']) < 1) { $InputError = 1; prnMsg(_('The currency abbreviation must be 3 characters or less long and for automated currency updates to work correctly be one of the ISO4217 currency codes'),'error'); $Errors[$i] = 'Abbreviation'; @@ -104,7 +104,7 @@ } if (ContainsIllegalCharacters($_POST['Abbreviation'])) { $InputError = 1; - prnMsg( _('The currency code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error'); + prnMsg( _('The currency code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error'); $Errors[$i] = 'Abbreviation'; $i++; } @@ -231,7 +231,7 @@ while ($myrow = DB_fetch_array($result)) { if ($myrow[1]==$FunctionalCurrency){ - echo '<tr bgcolor="#FFbbbb">'; + echo '<tr style="background-color:#FFbbbb">'; } elseif ($k==1){ echo '<tr class="EvenTableRows">'; $k=0; @@ -247,7 +247,7 @@ } if ($myrow[1]!=$FunctionalCurrency){ - printf('<td><img src="%s" /></td> + printf('<td><img src="%s" alt="" /></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -255,8 +255,8 @@ <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><a href="%s&SelectedCurrency=%s">%s</a></td> - <td><a href="%s&SelectedCurrency=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this currency?') . '\');">%s</a></td> + <td><a href="%s&SelectedCurrency=%s">%s</a></td> + <td><a href="%s&SelectedCurrency=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this currency?') . '\');">%s</a></td> <td><a href="%s/ExchangeRateTrend.php?%s">' . _('Graph') . '</a></td> </tr>', $ImageFile, @@ -274,9 +274,9 @@ $myrow['currabrev'], _('Delete'), $rootpath, - '&CurrencyToShow=' . $myrow['currabrev']); + '&CurrencyToShow=' . $myrow['currabrev']); } else { - printf('<td><img src="%s" /></td> + printf('<td><img src="%s" alt="" /></td> <td>%s</td> <td>%s</td> <td>%s</td> @@ -309,6 +309,7 @@ if (!isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedCurrency) AND $SelectedCurrency!='') { @@ -400,6 +401,7 @@ <div class="centre"> <input type="submit" name="submit" value="'._('Enter Information').'" /> </div> + </div> </form>'; } //end if record deleted no point displaying form to add record Modified: trunk/GLAccountInquiry.php =================================================================== --- trunk/GLAccountInquiry.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLAccountInquiry.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -177,14 +177,14 @@ $RunningTotal =$ChartDetailRow['bfwd']; if ($RunningTotal < 0 ){ //its a credit balance b/fwd - echo '<tr bgcolor="#FDFEEF"> + echo '<tr style="background-color:#FDFEEF"> <td colspan="3"><b>' . _('Brought Forward Balance') . '</b><td> </td></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"> + echo '<tr style="background-color:#FDFEEF"> <td colspan="3"><b>' . _('Brought Forward Balance') . '</b></td> <td class="number"><b>' . locale_number_format($RunningTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> <td colspan="2"></td> @@ -213,7 +213,7 @@ $ChartDetailsResult = DB_query($sql,$db,$ErrMsg); $ChartDetailRow = DB_fetch_array($ChartDetailsResult); - echo '<tr bgcolor="#FDFEEF"> + echo '<tr style="background-color:#FDFEEF"> <td colspan="3"><b>' . _('Total for period') . ' ' . $PeriodNo . '</b></td>'; if ($PeriodTotal < 0 ){ //its a credit balance b/fwd if ($PandLAccount==True) { @@ -290,7 +290,7 @@ } - echo '<tr bgcolor="#FDFEEF"><td colspan="3"><b>'; + echo '<tr style="background-color:#FDFEEF"><td colspan="3"><b>'; if ($PandLAccount==True){ echo _('Total Period Movement'); } else { /*its a balance sheet account*/ Modified: trunk/GLBalanceSheet.php =================================================================== --- trunk/GLBalanceSheet.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLBalanceSheet.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -422,9 +422,9 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } @@ -446,9 +446,9 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } @@ -474,17 +474,17 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } else { echo '<tr> <td colspan="3"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> </tr>'; } @@ -575,9 +575,9 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } @@ -595,9 +595,9 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } @@ -615,17 +615,17 @@ if ($_POST['Detail']=='Detailed'){ echo '<tr> <td colspan="2"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> <td></td> </tr>'; } else { echo '<tr> <td colspan="3"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> </tr>'; } @@ -650,9 +650,9 @@ echo '<tr> <td colspan="3"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> </tr>'; printf('<tr> @@ -666,9 +666,9 @@ echo '<tr> <td colspan="3"></td> - <td><hr></td> + <td><hr /></td> <td></td> - <td><hr></td> + <td><hr /></td> </tr>'; echo '</table>'; Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLBudgets.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -184,13 +184,13 @@ for ($i=1; $i<=12; $i++) { echo '<tr>'; echo '<th>'. $PeriodEnd[$CurrentYearEndPeriod-(24-$i)] .'</th>'; - echo '<td bgcolor="d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod-(24-$i)],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; + echo '<td style="background-color:d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod-(24-$i)],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; echo '<td><input type="text" class="number" size="14" name="'.$i.'last" value="'.locale_number_format($Budget[$CurrentYearEndPeriod-(24-$i)],$_SESSION['CompanyRecord']['decimalplaces']) .'" /></td>'; echo '<th>'. $PeriodEnd[$CurrentYearEndPeriod-(12-$i)] .'</th>'; - echo '<td bgcolor="d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod-(12-$i)],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; + echo '<td style="background-color:d2e5e8" class="number">'.locale_number_format($Actual[$CurrentYearEndPeriod-(12-$i)],$_SESSION['CompanyRecord']['decimalplaces']).'</td>'; 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 style="background-color: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 '</tr>'; $LastYearActual=$LastYearActual+$Actual[$CurrentYearEndPeriod-(24-$i)]; Modified: trunk/GLProfit_Loss.php =================================================================== --- trunk/GLProfit_Loss.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLProfit_Loss.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -1171,7 +1171,7 @@ <td colspan="6"><hr /></td> </tr>'; - printf('<tr bgcolor="#ffffff"> + printf('<tr style="background-color:#ffffff"> <td colspan="2"><font size="4" color="blue"><b>'._('Profit').' - '._('Loss').'</b></font></td> <td></td> <td class="number">%s</td> Modified: trunk/GLTagProfit_Loss.php =================================================================== --- trunk/GLTagProfit_Loss.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLTagProfit_Loss.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -920,7 +920,7 @@ <td colspan="2"><hr /></td> </tr>'; - printf('<tr bgcolor="#ffffff"> + printf('<tr style="background-color:#ffffff"> <td colspan="2"><font size="4" color="blue"><b>'._('Surplus').' - '._('Deficit').'</b></font></td> <td></td> <td class="number">%s</td> Modified: trunk/GLTransInquiry.php =================================================================== --- trunk/GLTransInquiry.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLTransInquiry.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -178,7 +178,7 @@ } DB_free_result($TransResult); - echo '<tr bgcolor="#FFFFFF"> + echo '<tr style="background-color:#FFFFFF"> <td class="number" colspan="3"><b>' . _('Total') . '</b></td> <td class="number">' . locale_number_format(($DebitTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</td> <td class="number">' . locale_number_format((-$CreditTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</td> Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/GLTrialBalance.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -707,7 +707,7 @@ - printf('<tr bgcolor="#ffffff"> + printf('<tr style="background-color:#ffffff"> <td colspan="2"><b>' . _('Check Totals') . '</b></td> <td class="number">%s</td> <td class="number">%s</td> Modified: trunk/PO_OrderDetails.php =================================================================== --- trunk/PO_OrderDetails.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/PO_OrderDetails.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -174,10 +174,10 @@ echo '<tr class="OsRow">'; } else { if ($k==1){ - echo '<tr bgcolor="#CCCCCC">'; + echo '<tr style="background-color:#CCCCCC">'; $k=0; } else { - echo '<tr bgcolor="#EEEEEE">'; + echo '<tr style="background-color:#EEEEEE">'; $k=1; } } Modified: trunk/PO_SelectPurchOrder.php =================================================================== --- trunk/PO_SelectPurchOrder.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/PO_SelectPurchOrder.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -219,10 +219,10 @@ $k = 0; //row colour counter while ($myrow = DB_fetch_array($StockItemsResult)) { if ($k == 1) { - echo '<tr bgcolor="#CCCCCC">'; + echo '<tr style="background-color:#CCCCCC">'; $k = 0; } else { - echo '<tr bgcolor="#EEEEEE">'; + echo '<tr style="background-color:#EEEEEE">'; $k = 1; } echo '<td><input type="submit" name="SelectedStockItem" value="' . $myrow['stockid'] . '"</td> @@ -442,10 +442,10 @@ $k = 0; //row colour counter while ($myrow = DB_fetch_array($PurchOrdersResult)) { if ($k == 1) { /*alternate bgcolour of row for highlighting */ - echo '<tr bgcolor="#CCCCCC">'; + echo '<tr style="background-color:#CCCCCC">'; $k = 0; } else { - echo '<tr bgcolor="#EEEEEE">'; + echo '<tr style="background-color:#EEEEEE">'; $k++; } $ViewPurchOrder = $rootpath . '/PO_OrderDetails.php?OrderNo=' . $myrow['orderno']; Modified: trunk/Prices_Customer.php =================================================================== --- trunk/Prices_Customer.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/Prices_Customer.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -267,7 +267,7 @@ } else { $EndDateDisplay = ConvertSQLDate($myrow['enddate']); } - echo '<tr bgcolor="#CCCCCC"> + echo '<tr style="background-color:#CCCCCC"> <td class="number">'.locale_number_format($myrow['price'],$CurrDecimalPlaces).'</td> <td>' . $Branch.'</td> <td>'.$myrow['units'].'</td> Modified: trunk/PrintCustTrans.php =================================================================== --- trunk/PrintCustTrans.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/PrintCustTrans.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -689,7 +689,7 @@ echo '<table class="table1"> <tr><td VALIGN=TOP WIDTH="10%"><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#BBBBBB"><b>'; + <td style="background-color:#BBBBBB"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') . ' '; @@ -719,10 +719,10 @@ echo '<table class="table1"> <tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Charge To') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Charge To') . ':</b></td> </tr> <tr> - <td bgcolor="#EEEEEE">'; + <td style="background-color:#EEEEEE">'; echo $myrow['name'] . '<br />' . $myrow['address1'] . '<br />' . $myrow['address2'] . @@ -744,11 +744,11 @@ echo '<table class="table1"> <tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Charge Branch') . ':</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Delivered To') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Charge Branch') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Delivered To') . ':</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' .$myrow['brname'] . + <td style="background-color:#EEEEEE">' .$myrow['brname'] . '<br />' . $myrow['braddress1'] . '<br />' . $myrow['braddress2'] . '<br />' . $myrow['braddress3'] . @@ -756,7 +756,7 @@ '<br />' . $myrow['braddress5'] . '<br />' . $myrow['braddress6'] . '</td>'; - echo '<td bgcolor="#EEEEEE">' . $myrow['deliverto'] . + echo '<td style="background-color:#EEEEEE">' . $myrow['deliverto'] . '<br />' . $myrow['deladd1'] . '<br />' . $myrow['deladd2'] . '<br />' . $myrow['deladd3'] . @@ -765,26 +765,26 @@ '<br />' . $myrow['deladd6'] . '</td> </tr> </table> - <hr>'; + <hr />'; echo '<table class="table1"> <tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Your Order Ref') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Our Order No') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Order Date') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Invoice Date') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Shipper') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Consignment Ref') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Your Order Ref') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Our Order No') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Order Date') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Invoice Date') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Shipper') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Consignment Ref') . '</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . $myrow['customerref'] . '</td> - <td bgcolor="#EEEEEE">' .$myrow['orderno'] . '</td> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['orddate']) . '</td> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> - <td bgcolor="#EEEEEE">' . $myrow['salesmanname'] . '</td> - <td bgcolor="#EEEEEE">' . $myrow['shippername'] . '</td> - <td bgcolor="#EEEEEE">' . $myrow['consignment'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['customerref'] . '</td> + <td style="background-color:#EEEEEE">' .$myrow['orderno'] . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['orddate']) . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> + <td style="background-color:#EEEEEE">' . $myrow['salesmanname'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['shippername'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['consignment'] . '</td> </tr> </table>'; @@ -807,10 +807,10 @@ } else { /* then its a credit note */ echo '<table width="50%"><tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Branch') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Branch') . ':</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' .$myrow['brname'] . + <td style="background-color:#EEEEEE">' .$myrow['brname'] . '<br />' . $myrow['braddress1'] . '<br />' . $myrow['braddress2'] . '<br />' . $myrow['braddress3'] . @@ -818,13 +818,13 @@ '<br />' . $myrow['braddress5'] . '<br />' . $myrow['braddress6'] . '</td> </tr></table>'; - echo '<hr><table class="table1"><tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Date') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> + echo '<hr /><table class="table1"><tr> + <td align=left style="background-color:#BBBBBB"><b>' . _('Date') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> - <td bgcolor="#EEEEEE">' . $myrow['salesmanname'] . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> + <td style="background-color:#EEEEEE">' . $myrow['salesmanname'] . '</td> </tr></table>'; $sql ="SELECT stockmoves.stockid, @@ -922,7 +922,7 @@ echo '</table> <table class="table1"> <tr><td valign=top><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#BBBBBB"><b>'; + <td style="background-color:#BBBBBB"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') . ' '; @@ -971,7 +971,7 @@ $PageNumber++; echo '<table class="table1"> <tr><td valign=top><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#BBBBBB"><b>'; + <td style="background-color:#BBBBBB"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') .' '; @@ -1035,20 +1035,20 @@ /*Print out the invoice text entered */ echo '<table class=table1><tr> <td class="number">' . _('Sub Total') . '</td> - <td class="number" bgcolor="#EEEEEE" width="15%">' . $DisplaySubTot . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE" width="15%">' . $DisplaySubTot . '</td></tr>'; echo '<tr><td class="number">' . _('Freight') . '</td> - <td class="number" bgcolor="#EEEEEE">' . $DisplayFreight . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE">' . $DisplayFreight . '</td></tr>'; echo '<tr><td class="number">' . _('Tax') . '</td> - <td class="number" bgcolor="#EEEEEE">' . $DisplayTax . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE">' . $DisplayTax . '</td></tr>'; if ($InvOrCredit=='Invoice'){ echo '<tr> <td class="number"><b>' . _('TOTAL INVOICE') . '</b></td> - <td class="number" bgcolor="#EEEEEE"><U><b>' . $DisplayTotal . '</b></U></td> + <td class="number" style="background-color:#EEEEEE"><U><b>' . $DisplayTotal . '</b></U></td> </tr>'; } else { echo '<tr> <td class="number"><font color=RED><b>' . _('TOTAL CREDIT') .'</b></font></td> - <td class="number" bgcolor="#EEEEEE"><font color="red"><U><b>' . $DisplayTotal . '</b></U></font></td> + <td class="number" style="background-color:#EEEEEE"><font color="red"><U><b>' . $DisplayTotal . '</b></U></font></td> </tr>'; } echo '</table>'; Modified: trunk/PrintCustTransPortrait.php =================================================================== --- trunk/PrintCustTransPortrait.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/PrintCustTransPortrait.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -725,7 +725,7 @@ echo '<table class="table1"> <tr> <td valign=top width="10%"><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#bbbbbb"><b>'; + <td style="background-color:#bbbbbb"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') . ' '; @@ -759,10 +759,10 @@ echo '<table class="table1"> <tr> - <td align="left" bgcolor="#bbbbbb"><b>' . _('Charge To') . ':</b></td> + <td align="left" style="background-color:#bbbbbb"><b>' . _('Charge To') . ':</b></td> </tr> <tr> - <td bgcolor="#eeeeee">'; + <td style="background-color:#eeeeee">'; echo $myrow['name'] . '<br />' . $myrow['address1'] . '<br />' . $myrow['address2'] . @@ -785,11 +785,11 @@ echo '<table class="table1"> <tr> - <td align=left bgcolor="#bbbbbb"><b>' . _('Charge Branch') . ':</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Delivered To') . ':</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Charge Branch') . ':</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Delivered To') . ':</b></td> </tr>'; echo '<tr> - <td bgcolor="#eeeeee">' .$myrow['brname'] . + <td style="background-color:#eeeeee">' .$myrow['brname'] . '<br />' . $myrow['braddress1'] . '<br />' . $myrow['braddress2'] . '<br />' . $myrow['braddress3'] . @@ -798,7 +798,7 @@ '<br />' . $myrow['braddress6'] . '</td>'; - echo '<td bgcolor="#eeeeee">' . $myrow['deliverto'] . + echo '<td style="background-color:#eeeeee">' . $myrow['deliverto'] . '<br />' . $myrow['deladd1'] . '<br />' . $myrow['deladd2'] . '<br />' . $myrow['deladd3'] . @@ -807,26 +807,26 @@ '<br />' . $myrow['deladd6'] . '</td>'; echo '</tr> - </table><hr>'; + </table><hr />'; echo '<table class="table1"> <tr> - <td align=left bgcolor="#bbbbbb"><b>' . _('Your Order Ref') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Our Order No') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Order Date') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Invoice Date') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Sales Person') . '</font></b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Shipper') . '</b></td> - <td align=left bgcolor="#bbbbbb"><b>' . _('Consignment Ref') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Your Order Ref') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Our Order No') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Order Date') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Invoice Date') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Sales Person') . '</font></b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Shipper') . '</b></td> + <td align=left style="background-color:#bbbbbb"><b>' . _('Consignment Ref') . '</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . $myrow['customerref'] . '</td> - <td bgcolor="#EEEEEE">' .$myrow['orderno'] . '</td> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['orddate']) . '</td> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> - <td bgcolor="#EEEEEE">' . $myrow['salesmanname'] . '</td> - <td bgcolor="#EEEEEE">' . $myrow['shippername'] . '</td> - <td bgcolor="#EEEEEE">' . $myrow['consignment'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['customerref'] . '</td> + <td style="background-color:#EEEEEE">' .$myrow['orderno'] . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['orddate']) . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> + <td style="background-color:#EEEEEE">' . $myrow['salesmanname'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['shippername'] . '</td> + <td style="background-color:#EEEEEE">' . $myrow['consignment'] . '</td> </tr> </table>'; @@ -849,10 +849,10 @@ echo '<table width="50%"> <tr> - <td align=left bgcolor="#BBBBBB"><b>' . _('Branch') . ':</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Branch') . ':</b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . $myrow['brname'] . + <td style="background-color:#EEEEEE">' . $myrow['brname'] . '<br />' . $myrow['braddress1'] . '<br />' . $myrow['braddress2'] . '<br />' . $myrow['braddress3'] . @@ -861,15 +861,15 @@ '<br />' . $myrow['braddress6'] . '</td> </tr></table>'; - echo '<hr> + echo '<hr /> <table class="table1"> <tr> - <td align="left" bgcolor="#bbbbbb"><b>' . _('Date') . '</b></td> - <td align=left bgcolor="#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> + <td align="left" style="background-color:#bbbbbb"><b>' . _('Date') . '</b></td> + <td align=left style="background-color:#BBBBBB"><b>' . _('Sales Person') . '</font></b></td> </tr>'; echo '<tr> - <td bgcolor="#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> - <td bgcolor="#EEEEEE">' . $myrow['salesmanname'] . '</td> + <td style="background-color:#EEEEEE">' . ConvertSQLDate($myrow['trandate']) . '</td> + <td style="background-color:#EEEEEE">' . $myrow['salesmanname'] . '</td> </tr> </table>'; @@ -889,7 +889,7 @@ AND stockmoves.show_on_inv_crds=1"; } - echo '<hr>'; + echo '<hr />'; echo '<div class="centre"><font size="2">' . _('All amounts stated in') . ' ' . $myrow['currcode'] . '</font></div>'; $result=DB_query($sql,$db); @@ -973,7 +973,7 @@ <table class="table1"> <tr> <td valign="top"><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#bbbbbb"><b>'; + <td style="background-color:#bbbbbb"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') . ' '; @@ -1029,7 +1029,7 @@ echo '<table class="table1"> <tr> <td valign="top"><img src="' . $_SESSION['LogoFile'] . '" /></td> - <td bgcolor="#bbbbbb"><b>'; + <td style="background-color:#bbbbbb"><b>'; if ($InvOrCredit=='Invoice') { echo '<font size="4">' . _('TAX INVOICE') .' '; } else { @@ -1099,17 +1099,17 @@ /*Print out the invoice text entered */ echo '<table class="table1"><tr> <td class="number">' . _('Sub Total') . '</td> - <td class="number" bgcolor="#EEEEEE" width="15%">' . $DisplaySubTot . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE" width="15%">' . $DisplaySubTot . '</td></tr>'; echo '<tr><td class="number">' . _('Freight') . '</td> - <td class="number" bgcolor="#EEEEEE">' . $DisplayFreight . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE">' . $DisplayFreight . '</td></tr>'; echo '<tr><td class="number">' . _('Tax') . '</td> - <td class="number" bgcolor="#EEEEEE">' . $DisplayTax . '</td></tr>'; + <td class="number" style="background-color:#EEEEEE">' . $DisplayTax . '</td></tr>'; if ($InvOrCredit=='Invoice'){ echo '<tr><td class="number"><b>' . _('TOTAL INVOICE') . '</b></td> - <td class="number" bgcolor="#EEEEEE"><u><b>' . $DisplayTotal . '</b></u></td></tr>'; + <td class="number" style="background-color:#EEEEEE"><u><b>' . $DisplayTotal . '</b></u></td></tr>'; } else { echo '<tr><td class="number"><font color="red"><b>' . _('TOTAL CREDIT') . '</b></font></td> - <td class="number" bgcolor="#EEEEEE"><font color="red"><u><b>' . $DisplayTotal . '</b></u></font></td></tr>'; + <td class="number" style="background-color:#EEEEEE"><font color="red"><u><b>' . $DisplayTotal . '</b></u></font></td></tr>'; } echo '</table>'; } /* end of check to see that there was an invoice record to print */ Modified: trunk/RecurringSalesOrders.php =================================================================== --- trunk/RecurringSalesOrders.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/RecurringSalesOrders.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -500,7 +500,7 @@ echo '<input type="hidden" name="ExistingRecurrOrderNo" value="' . $_POST['ExistingRecurrOrderNo'] . '" />'; echo '<input type="submit" name="Process" value="' . _('Update Recurring Order Details') . '" />'; - echo '<hr>'; + 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?') . '\');" />'; } Modified: trunk/SalesByTypePeriodInquiry.php =================================================================== --- trunk/SalesByTypePeriodInquiry.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/SalesByTypePeriodInquiry.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -379,10 +379,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } $PrdTotalOrders =0; @@ -414,10 +414,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } $PrdTotalOrders =0; @@ -449,10 +449,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } $PrdTotalOrders =0; @@ -484,10 +484,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } $PrdTotalOrders =0; @@ -545,10 +545,10 @@ <td class="number">' . locale_number_format($PrdTotalGP,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; if ($k==1){ - echo '<tr class="EvenTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="EvenTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="OddTableRows">'; } else { - echo '<tr class="OddTableRows"><td colspan="8"><hr></td></tr>'; + echo '<tr class="OddTableRows"><td colspan="8"><hr /></td></tr>'; echo '<tr class="EvenTableRows">'; } echo '<td colspan="2" class="number">' . _('GRAND Total') . '</td> Modified: trunk/SalesCategoryPeriodInquiry.php =================================================================== --- trunk/SalesCategoryPeriodInquiry.php 2012-03-07 08:21:36 UTC (rev 5052) +++ trunk/SalesCategoryPeriodInquiry.php 2012-03-07 23:06:32 UTC (rev 5053) @@ -198,10 +198,10 @@ } //loop around category sales for the period if ($k==1){ - echo '<tr class="EvenTableRows"><t... [truncated message content] |
From: <dai...@us...> - 2012-03-08 05:47:59
|
Revision: 5054 http://web-erp.svn.sourceforge.net/web-erp/?rev=5054&view=rev Author: daintree Date: 2012-03-08 05:47:53 +0000 (Thu, 08 Mar 2012) Log Message: ----------- Ricards changes for product image Modified Paths: -------------- trunk/SelectProduct.php trunk/SystemParameters.php trunk/doc/Change.log trunk/doc/README.txt Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-03-07 23:06:32 UTC (rev 5053) +++ trunk/SelectProduct.php 2012-03-08 05:47:53 UTC (rev 5054) @@ -411,9 +411,7 @@ if ($Its_A_Kitset_Assembly_Or_Dummy == False) { echo '<a href="' . $rootpath . '/PO_SelectOSPurchOrder.php?SelectedStockItem=' . $StockID . '">' . _('Search Outstanding Purchase Orders') . '</a><br />'; echo '<a href="' . $rootpath . '/PO_SelectPurchOrder.php?SelectedStockItem=' . $StockID . '">' . _('Search All Purchase Orders') . '</a><br />'; - if (file_exists($_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg')){ - echo '<a href="' . $rootpath . '/' . $_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg">' . _('Show Part Picture') . '</a><br />'; - } + echo '<a href="' . $rootpath . '/' . $_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg">' . _('Show Part Picture (if available)') . '</a><br />'; } if ($Its_A_Dummy == False) { echo '<a href="' . $rootpath . '/BOMInquiry.php?StockID=' . $StockID . '">' . _('View Costed Bill Of Material') . '</a><br />'; @@ -430,7 +428,11 @@ echo '<a href="' . $rootpath . '/StockTransfers.php?StockID=' . $StockID . '&NewTransfer=true">' . _('Location Transfers') . '</a><br />'; //show the item image if it has been uploaded if( isset($StockID) AND file_exists($_SESSION['part_pics_dir'] . '/' .$StockID.'.jpg') ) { - echo '<div class="centre"><img src="' . $rootpath . '/GetStockImage.php?automake=1&textcolor=FFFFF0&bgcolor=007F00&StockID=' . $StockID . '&text=' . $StockID . '&width=120&height=120" />'; + if ($_SESSION['ShowStockidOnImages'] == "0"){ + echo '<div class="centre"><img src="' . $rootpath . '/GetStockImage.php?automake=1&textcolor=FFFFF0&bgcolor=007F00&width=120&height=120&StockID=' . $StockID . '&text=""' . '" />'; + }else{ + echo '<div class="centre"><img src="' . $rootpath . '/GetStockImage.php?automake=1&textcolor=FFFFF0&bgcolor=007F00&StockID=' . $StockID . '&text=' . $StockID . '&width=120&height=120" />'; + } } if (($myrow['mbflag'] == 'B') AND (in_array($SuppliersSecurity, $_SESSION['AllowedPageSecurityTokens'])) Modified: trunk/SystemParameters.php =================================================================== --- trunk/SystemParameters.php 2012-03-07 23:06:32 UTC (rev 5053) +++ trunk/SystemParameters.php 2012-03-08 05:47:53 UTC (rev 5054) @@ -193,6 +193,9 @@ if ($_SESSION['MaxImageSize'] != $_POST['X_MaxImageSize'] ) { $sql[] = "UPDATE config SET confvalue = '".$_POST['X_MaxImageSize']."' WHERE confname = 'MaxImageSize'"; } + if ($_SESSION['ShowStockidOnImages'] != $_POST['X_ShowStockidOnImages'] ) { + $sql[] = "UPDATE config SET confvalue = '".$_POST['X_ShowStockidOnImages']."' WHERE confname = 'ShowStockidOnImages'"; + } //new number must be shown if ($_SESSION['NumberOfMonthMustBeShown'] != $_POST['X_NumberOfMonthMustBeShown'] ) { $sql[] = "UPDATE config SET confvalue = '".$_POST['X_NumberOfMonthMustBeShown']."' WHERE confname = 'NumberOfMonthMustBeShown'"; @@ -701,16 +704,29 @@ </tr>'; //DefaultDisplayRecordsMax -echo '<tr style="outline: 1px solid"><td>' . _('Default Maximum Number of Records to Show') . ':</td> - <td><input type="text" class="number" name="X_DefaultDisplayRecordsMax" size="4" maxlength="3" value="' . $_SESSION['DefaultDisplayRecordsMax'] . '" /></td> - <td>' . _('When pages have code to limit the number of returned records - such as select customer, select supplier and select item, then this will be the default number of records to show for a user who has not changed this for themselves in user settings.') . '</td> +echo '<tr style="outline: 1px solid"> + <td>' . _('Default Maximum Number of Records to Show') . ':</td> + <td><input type="text" class="number" name="X_DefaultDisplayRecordsMax" size="4" maxlength="3" value="' . $_SESSION['DefaultDisplayRecordsMax'] . '" /></td> + <td>' . _('When pages have code to limit the number of returned records - such as select customer, select supplier and select item, then this will be the default number of records to show for a user who has not changed this for themselves in user settings.') . '</td> </tr>'; +// ShowStockidOnImage +echo '<tr style="outline: 1px solid"> + <td>' . _('Show Stockid on images') . ':</td> + <td><select name="X_ShowStockidOnImages"> + <option '.($_SESSION['ShowStockidOnImages'] ?'selected ':'').'value="1">'._('Yes').'</option> + <option '.(!$_SESSION['ShowStockidOnImages'] ?'selected ':'').'value="0">'._('No').'</option> + </select></td> + <td>' . _('Show the code inside the thumbnail image of the items') . '</td> + </tr>'; + + //MaxImageSize -echo '<tr style="outline: 1px solid"><td>' . _('Maximum Size in KB of uploaded images') . ':</td> - <td><input type="text" class="number" name="X_MaxImageSize" size="4" maxlength="3" value="' . $_SESSION['MaxImageSize'] . '" /></td> - <td>' . _('Picture files of items can be uploaded to the server. The system will check that files uploaded are less than this size (in KB) before they will be allowed to be uploaded. Large pictures will make the system slow and will be difficult to view in the stock maintenance screen.') .'</td> -</tr>'; +echo '<tr style="outline: 1px solid"> + <td>' . _('Maximum Size in KB of uploaded images') . ':</td> + <td><input type="text" class="number" name="X_MaxImageSize" size="4" maxlength="3" value="' . $_SESSION['MaxImageSize'] . '" /></td> + <td>' . _('Picture files of items can be uploaded to the server. The system will check that files uploaded are less than this size (in KB) before they will be allowed to be uploaded. Large pictures will make the system slow and will be difficult to view in the stock maintenance screen.') .'</td> + </tr>'; //NumberOfMonthMustBeShown $sql = "SELECT confvalue FROM `config` Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-03-07 23:06:32 UTC (rev 5053) +++ trunk/doc/Change.log 2012-03-08 05:47:53 UTC (rev 5054) @@ -1,9 +1,11 @@ webERP Change Log + +8/3/12 Ricard: Added parameter for show stock image on select product screen - SelectProduct.php and SystemParameters.php 7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustmentsControlled.php. Reported by Soujiro 7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustments.php. Reported by Soujiro -6/3/2012 Exson: Rule out 'Pending' status PO from On Order Quantity in ReorderLevel.php Suggested by Brian May -6/3/2012 Exson: Remove carriage return and feed line from Quotation PDF file in PDFQuotation.php Reported by Thomas_lie -03/06/2012 Exson: add condition to prevent blank stock category description in StockCategories.php +6/3/12 Exson: Rule out 'Pending' status PO from On Order Quantity in ReorderLevel.php Suggested by Brian May +6/3/12 Exson: Remove carriage return and feed line from Quotation PDF file in PDFQuotation.php Reported by Thomas_lie +03/06/12 Exson: add condition to prevent blank stock category description in StockCategories.php 6/3/12 Exson: BankMatching.php sql error due to extra single quotation. Reported by PakRichard 5/3/12 Exson/Tim: PrintCustTransPortrait.php html elements failed to display. Reported by rfthomas 3/3/12 Phil: SelectProduct.php checked for existence of part pic before displaying a link that could potnetially fail Modified: trunk/doc/README.txt =================================================================== --- trunk/doc/README.txt 2012-03-07 23:06:32 UTC (rev 5053) +++ trunk/doc/README.txt 2012-03-08 05:47:53 UTC (rev 5054) @@ -53,13 +53,10 @@ LEGAL -This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; version 2 of the License. +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -A copy of the GNU General Public License is included in the doc directory along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +A copy of the GNU General Public License is included in the doc directory along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -Copyright weberp.org 2011 - Contact: in...@we... \ No newline at end of file +Copyright weberp.org 2003-2012 - Contact: in...@we... \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-03-08 05:47:59
|
Revision: 5054 http://web-erp.svn.sourceforge.net/web-erp/?rev=5054&view=rev Author: daintree Date: 2012-03-08 05:47:53 +0000 (Thu, 08 Mar 2012) Log Message: ----------- Ricards changes for product image Modified Paths: -------------- trunk/SelectProduct.php trunk/SystemParameters.php trunk/doc/Change.log trunk/doc/README.txt Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-03-07 23:06:32 UTC (rev 5053) +++ trunk/SelectProduct.php 2012-03-08 05:47:53 UTC (rev 5054) @@ -411,9 +411,7 @@ if ($Its_A_Kitset_Assembly_Or_Dummy == False) { echo '<a href="' . $rootpath . '/PO_SelectOSPurchOrder.php?SelectedStockItem=' . $StockID . '">' . _('Search Outstanding Purchase Orders') . '</a><br />'; echo '<a href="' . $rootpath . '/PO_SelectPurchOrder.php?SelectedStockItem=' . $StockID . '">' . _('Search All Purchase Orders') . '</a><br />'; - if (file_exists($_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg')){ - echo '<a href="' . $rootpath . '/' . $_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg">' . _('Show Part Picture') . '</a><br />'; - } + echo '<a href="' . $rootpath . '/' . $_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg">' . _('Show Part Picture (if available)') . '</a><br />'; } if ($Its_A_Dummy == False) { echo '<a href="' . $rootpath . '/BOMInquiry.php?StockID=' . $StockID . '">' . _('View Costed Bill Of Material') . '</a><br />'; @@ -430,7 +428,11 @@ echo '<a href="' . $rootpath . '/StockTransfers.php?StockID=' . $StockID . '&NewTransfer=true">' . _('Location Transfers') . '</a><br />'; //show the item image if it has been uploaded if( isset($StockID) AND file_exists($_SESSION['part_pics_dir'] . '/' .$StockID.'.jpg') ) { - echo '<div class="centre"><img src="' . $rootpath . '/GetStockImage.php?automake=1&textcolor=FFFFF0&bgcolor=007F00&StockID=' . $StockID . '&text=' . $StockID . '&width=120&height=120" />'; + if ($_SESSION['ShowStockidOnImages'] == "0"){ + echo '<div class="centre"><img src="' . $rootpath . '/GetStockImage.php?automake=1&textcolor=FFFFF0&bgcolor=007F00&width=120&height=120&StockID=' . $StockID . '&text=""' . '" />'; + }else{ + echo '<div class="centre"><img src="' . $rootpath . '/GetStockImage.php?automake=1&textcolor=FFFFF0&bgcolor=007F00&StockID=' . $StockID . '&text=' . $StockID . '&width=120&height=120" />'; + } } if (($myrow['mbflag'] == 'B') AND (in_array($SuppliersSecurity, $_SESSION['AllowedPageSecurityTokens'])) Modified: trunk/SystemParameters.php =================================================================== --- trunk/SystemParameters.php 2012-03-07 23:06:32 UTC (rev 5053) +++ trunk/SystemParameters.php 2012-03-08 05:47:53 UTC (rev 5054) @@ -193,6 +193,9 @@ if ($_SESSION['MaxImageSize'] != $_POST['X_MaxImageSize'] ) { $sql[] = "UPDATE config SET confvalue = '".$_POST['X_MaxImageSize']."' WHERE confname = 'MaxImageSize'"; } + if ($_SESSION['ShowStockidOnImages'] != $_POST['X_ShowStockidOnImages'] ) { + $sql[] = "UPDATE config SET confvalue = '".$_POST['X_ShowStockidOnImages']."' WHERE confname = 'ShowStockidOnImages'"; + } //new number must be shown if ($_SESSION['NumberOfMonthMustBeShown'] != $_POST['X_NumberOfMonthMustBeShown'] ) { $sql[] = "UPDATE config SET confvalue = '".$_POST['X_NumberOfMonthMustBeShown']."' WHERE confname = 'NumberOfMonthMustBeShown'"; @@ -701,16 +704,29 @@ </tr>'; //DefaultDisplayRecordsMax -echo '<tr style="outline: 1px solid"><td>' . _('Default Maximum Number of Records to Show') . ':</td> - <td><input type="text" class="number" name="X_DefaultDisplayRecordsMax" size="4" maxlength="3" value="' . $_SESSION['DefaultDisplayRecordsMax'] . '" /></td> - <td>' . _('When pages have code to limit the number of returned records - such as select customer, select supplier and select item, then this will be the default number of records to show for a user who has not changed this for themselves in user settings.') . '</td> +echo '<tr style="outline: 1px solid"> + <td>' . _('Default Maximum Number of Records to Show') . ':</td> + <td><input type="text" class="number" name="X_DefaultDisplayRecordsMax" size="4" maxlength="3" value="' . $_SESSION['DefaultDisplayRecordsMax'] . '" /></td> + <td>' . _('When pages have code to limit the number of returned records - such as select customer, select supplier and select item, then this will be the default number of records to show for a user who has not changed this for themselves in user settings.') . '</td> </tr>'; +// ShowStockidOnImage +echo '<tr style="outline: 1px solid"> + <td>' . _('Show Stockid on images') . ':</td> + <td><select name="X_ShowStockidOnImages"> + <option '.($_SESSION['ShowStockidOnImages'] ?'selected ':'').'value="1">'._('Yes').'</option> + <option '.(!$_SESSION['ShowStockidOnImages'] ?'selected ':'').'value="0">'._('No').'</option> + </select></td> + <td>' . _('Show the code inside the thumbnail image of the items') . '</td> + </tr>'; + + //MaxImageSize -echo '<tr style="outline: 1px solid"><td>' . _('Maximum Size in KB of uploaded images') . ':</td> - <td><input type="text" class="number" name="X_MaxImageSize" size="4" maxlength="3" value="' . $_SESSION['MaxImageSize'] . '" /></td> - <td>' . _('Picture files of items can be uploaded to the server. The system will check that files uploaded are less than this size (in KB) before they will be allowed to be uploaded. Large pictures will make the system slow and will be difficult to view in the stock maintenance screen.') .'</td> -</tr>'; +echo '<tr style="outline: 1px solid"> + <td>' . _('Maximum Size in KB of uploaded images') . ':</td> + <td><input type="text" class="number" name="X_MaxImageSize" size="4" maxlength="3" value="' . $_SESSION['MaxImageSize'] . '" /></td> + <td>' . _('Picture files of items can be uploaded to the server. The system will check that files uploaded are less than this size (in KB) before they will be allowed to be uploaded. Large pictures will make the system slow and will be difficult to view in the stock maintenance screen.') .'</td> + </tr>'; //NumberOfMonthMustBeShown $sql = "SELECT confvalue FROM `config` Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-03-07 23:06:32 UTC (rev 5053) +++ trunk/doc/Change.log 2012-03-08 05:47:53 UTC (rev 5054) @@ -1,9 +1,11 @@ webERP Change Log + +8/3/12 Ricard: Added parameter for show stock image on select product screen - SelectProduct.php and SystemParameters.php 7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustmentsControlled.php. Reported by Soujiro 7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustments.php. Reported by Soujiro -6/3/2012 Exson: Rule out 'Pending' status PO from On Order Quantity in ReorderLevel.php Suggested by Brian May -6/3/2012 Exson: Remove carriage return and feed line from Quotation PDF file in PDFQuotation.php Reported by Thomas_lie -03/06/2012 Exson: add condition to prevent blank stock category description in StockCategories.php +6/3/12 Exson: Rule out 'Pending' status PO from On Order Quantity in ReorderLevel.php Suggested by Brian May +6/3/12 Exson: Remove carriage return and feed line from Quotation PDF file in PDFQuotation.php Reported by Thomas_lie +03/06/12 Exson: add condition to prevent blank stock category description in StockCategories.php 6/3/12 Exson: BankMatching.php sql error due to extra single quotation. Reported by PakRichard 5/3/12 Exson/Tim: PrintCustTransPortrait.php html elements failed to display. Reported by rfthomas 3/3/12 Phil: SelectProduct.php checked for existence of part pic before displaying a link that could potnetially fail Modified: trunk/doc/README.txt =================================================================== --- trunk/doc/README.txt 2012-03-07 23:06:32 UTC (rev 5053) +++ trunk/doc/README.txt 2012-03-08 05:47:53 UTC (rev 5054) @@ -53,13 +53,10 @@ LEGAL -This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; version 2 of the License. +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -A copy of the GNU General Public License is included in the doc directory along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +A copy of the GNU General Public License is included in the doc directory along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -Copyright weberp.org 2011 - Contact: in...@we... \ No newline at end of file +Copyright weberp.org 2003-2012 - Contact: in...@we... \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-03-11 09:13:29
|
Revision: 5062 http://web-erp.svn.sourceforge.net/web-erp/?rev=5062&view=rev Author: daintree Date: 2012-03-11 09:13:20 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Language updates - James Dupin French - Dr Magbt Salib Arabic Modified Paths: -------------- trunk/build/make_release.sh trunk/doc/Change.log trunk/includes/LanguagesArray.php trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po Added Paths: ----------- trunk/locale/ar_EG.utf8/ trunk/locale/ar_EG.utf8/LC_MESSAGES/ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po Modified: trunk/build/make_release.sh =================================================================== --- trunk/build/make_release.sh 2012-03-08 10:02:55 UTC (rev 5061) +++ trunk/build/make_release.sh 2012-03-11 09:13:20 UTC (rev 5062) @@ -9,6 +9,7 @@ xgettext --no-wrap --language=PHP -o locale/en_GB.utf8/LC_MESSAGES/messages.pot *php includes/*.php includes/*.inc reportwriter/*.php reportwriter/*.inc reportwriter/forms/*.html reportwriter/admin/*.php reportwriter/admin/*.inc reportwriter/admin/forms/*.html api/*.php +msgmerge -U --backup=off locale/ar_EG.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/cs_CZ.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/de_DE.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/en_US.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot @@ -38,6 +39,7 @@ msgmerge -U --backup=off locale/zh_HK.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/vi_VN.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot +msgfmt -o locale/ar_EG.utf8/LC_MESSAGES/messages.mo locale/ar_EG.utf8/LC_MESSAGES/messages.po msgfmt -o locale/cs_CZ.utf8/LC_MESSAGES/messages.mo locale/cs_CZ.utf8/LC_MESSAGES/messages.po msgfmt -o locale/de_DE.utf8/LC_MESSAGES/messages.mo locale/de_DE.utf8/LC_MESSAGES/messages.po msgfmt -o locale/el_GR.utf8/LC_MESSAGES/messages.mo locale/el_GR.utf8/LC_MESSAGES/messages.po Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-03-08 10:02:55 UTC (rev 5061) +++ trunk/doc/Change.log 2012-03-11 09:13:20 UTC (rev 5062) @@ -1,5 +1,7 @@ webERP Change Log +11/3/12 Dr. Magdy Salib - ar_EG.utf8 arabic translation started +11/3/12 James Dupin: French language translation update 8/3/12 Ricard: Added parameter for show stock image on select product screen - SelectProduct.php and SystemParameters.php 7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustmentsControlled.php. Reported by Soujiro 7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustments.php. Reported by Soujiro Modified: trunk/includes/LanguagesArray.php =================================================================== --- trunk/includes/LanguagesArray.php 2012-03-08 10:02:55 UTC (rev 5061) +++ trunk/includes/LanguagesArray.php 2012-03-11 09:13:20 UTC (rev 5062) @@ -16,6 +16,11 @@ $LanguagesArray['en_IN.utf8']['DecimalPoint'] = '.'; $LanguagesArray['en_IN.utf8']['ThousandsSeparator'] = ','; +$LanguagesArray['ar_EG.utf8']['LanguageName'] = _('Arabic Eygptian'); +$LanguagesArray['ar_EG.utf8']['WindowsLocale'] = 'arabic'; +$LanguagesArray['ar_EG.utf8']['DecimalPoint'] = ','; +$LanguagesArray['ar_EG.utf8']['ThousandsSeparator'] = ' '; + $LanguagesArray['cz_CZ.utf8']['LanguageName'] = _('Czech'); $LanguagesArray['cz_CZ.utf8']['WindowsLocale'] = 'czech'; $LanguagesArray['cz_CZ.utf8']['DecimalPoint'] = ','; Added: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Property changes on: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po (rev 0) +++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2012-03-11 09:13:20 UTC (rev 5062) @@ -0,0 +1,35293 @@ +# Arabic translation for web-erp +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the web-erp package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: web-erp\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2011-01-04 22:15+1200\n" +"PO-Revision-Date: 2012-01-26 10:26+0000\n" +"Last-Translator: JC_Chuck <Unknown>\n" +"Language-Team: Arabic <ar...@li...>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-07 23:01+0000\n" +"X-Generator: Launchpad (build 14907)\n" + +#: AccountGroups.php:9 index.php:1273 +msgid "Account Groups" +msgstr "مجموعات العضوية" + +#: AccountGroups.php:19 +msgid "" +"An error occurred in retrieving the account groups of the parent account " +"group during the check for recursion" +msgstr "" +"لقد حدث خطأ فى استرجاع بيانات مجموعات العضو الخاصة باعضوية الأب اثناء " +"االتحقق من وجود استدعاء ذاتي" + +#: AccountGroups.php:20 +msgid "" +"The SQL that was used to retrieve the account groups of the parent account " +"group and that failed in the process was" +msgstr "" + +#: AccountGroups.php:57 AccountGroups.php:94 AccountGroups.php:177 +#: AccountGroups.php:187 +msgid "The SQL that was used to retrieve the information was" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: AccountGroups.php:58 +msgid "Could not check whether the group exists because" +msgstr "لم يتم التحقق من وجود المجموعة بسبب" + +#: AccountGroups.php:65 +msgid "The account group name already exists in the database" +msgstr "اسم المجموعة موجود مسبقاً" + +#: AccountGroups.php:71 +msgid "The account group name cannot contain the character" +msgstr "لا يمكن وضع هذا الحرف في اسم المجموعة" + +#: AccountGroups.php:71 AccountSections.php:75 PaymentMethods.php:41 +#: TaxCategories.php:33 TaxProvinces.php:32 UnitsOfMeasure.php:32 +msgid "or the character" +msgstr "او الحرف" + +#: AccountGroups.php:77 +msgid "The account group name must be at least one character long" +msgstr "اسم المجموعة يجب ان يحتوي علي الأقل علي حرف واحد" + +#: AccountGroups.php:84 +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 "" + +#: AccountGroups.php:95 +msgid "Could not check whether the group is recursive because" +msgstr "لم أستطيع التخقق اذا كانت المجموعة ذاتيى الأسترجاع لأن" + +#: AccountGroups.php:107 +msgid "The section in accounts must be an integer" +msgstr "يجب ان يكون القسم فى الحساب عدد صحيح" + +#: AccountGroups.php:113 +msgid "The sequence in the trial balance must be an integer" +msgstr "التسلسل فى الحساب التجريبى يجب ان يكون عدد صحيح" + +#: AccountGroups.php:119 +msgid "The sequence in the TB must be numeric and less than" +msgstr "" + +#: AccountGroups.php:136 +msgid "An error occurred in updating the account group" +msgstr "حدث خطأ اثناء تحديث مجموعة العضو" + +#: AccountGroups.php:137 +msgid "The SQL that was used to update the account group was" +msgstr "" + +#: AccountGroups.php:139 AccountSections.php:106 PaymentMethods.php:91 +msgid "Record Updated" +msgstr "تم التحديث" + +#: AccountGroups.php:157 +msgid "An error occurred in inserting the account group" +msgstr "حدث خطأ ما اثناء اضافة المجموعة" + +#: AccountGroups.php:158 +msgid "The SQL that was used to insert the account group was" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: AccountGroups.php:159 AccountSections.php:118 PaymentMethods.php:113 +msgid "Record inserted" +msgstr "تمت الإضافة بنجاح" + +#: AccountGroups.php:176 +msgid "" +"An error occurred in retrieving the group information from chartmaster" +msgstr "" + +#: AccountGroups.php:181 +msgid "" +"Cannot delete this account group because general ledger accounts have been " +"created using this group" +msgstr "" + +#: AccountGroups.php:182 AccountGroups.php:192 AccountSections.php:139 +#: Areas.php:117 Areas.php:126 BankAccounts.php:163 CreditStatus.php:126 +#: Currencies.php:144 Currencies.php:152 Currencies.php:159 +#: CustomerBranches.php:296 CustomerBranches.php:306 CustomerBranches.php:316 +#: CustomerBranches.php:326 Customers.php:317 Customers.php:326 +#: Customers.php:334 Customers.php:342 CustomerTypes.php:149 +#: CustomerTypes.php:159 Factors.php:136 FixedAssetCategories.php:132 +#: GLAccounts.php:95 GLAccounts.php:109 Locations.php:247 Locations.php:255 +#: Locations.php:264 Locations.php:272 Locations.php:280 Locations.php:288 +#: Locations.php:296 Locations.php:304 MRPDemandTypes.php:89 +#: PaymentMethods.php:146 PaymentTerms.php:147 PaymentTerms.php:154 +#: PcExpenses.php:119 SalesCategories.php:127 SalesCategories.php:135 +#: SalesPeople.php:144 SalesPeople.php:151 SalesTypes.php:147 +#: SalesTypes.php:157 Shippers.php:82 Shippers.php:94 StockCategories.php:182 +#: Stocks.php:471 Stocks.php:480 Stocks.php:488 Stocks.php:496 Stocks.php:504 +#: Stocks.php:512 Suppliers.php:613 Suppliers.php:622 Suppliers.php:630 +#: SupplierTypes.php:147 TaxCategories.php:133 TaxGroups.php:128 +#: TaxGroups.php:135 TaxProvinces.php:127 UnitsOfMeasure.php:142 +#: UnitsOfMeasure.php:149 WorkCentres.php:90 WorkCentres.php:96 +#: WWW_Access.php:87 +msgid "There are" +msgstr "يوجد" + +#: AccountGroups.php:182 +msgid "general ledger accounts that refer to this account group" +msgstr "" + +#: AccountGroups.php:186 +msgid "An error occurred in retrieving the parent group information" +msgstr "" + +#: AccountGroups.php:191 +msgid "" +"Cannot delete this account group because it is a parent account group of " +"other account group(s)" +msgstr "" + +#: AccountGroups.php:192 +msgid "account groups that have this group as its/there parent account group" +msgstr "" + +#: AccountGroups.php:195 +msgid "An error occurred in deleting the account group" +msgstr "حدث خطأ ما اثناء حذف مجموعة الحسابات" + +#: AccountGroups.php:196 +msgid "The SQL that was used to delete the account group was" +msgstr "" + +#: AccountGroups.php:198 +msgid "group has been deleted" +msgstr "تم حذف المجموعة" + +#: AccountGroups.php:223 +msgid "The sql that was used to retrieve the account group information was " +msgstr "" + +#: AccountGroups.php:224 +msgid "Could not get account groups because" +msgstr "لم يتمكن الحصول على مجموات العضو لان" + +#: AccountGroups.php:226 AccountSections.php:177 AddCustomerContacts.php:25 +#: AddCustomerContacts.php:28 AddCustomerNotes.php:97 +#: AddCustomerTypeNotes.php:94 AgedDebtors.php:468 AgedSuppliers.php:277 +#: Areas.php:145 AuditTrail.php:13 BOMExtendedQty.php:286 BOMIndented.php:262 +#: BOMIndentedReverse.php:257 BOMInquiry.php:165 BOMListing.php:128 +#: BOMs.php:214 BOMs.php:793 COGSGLPostings.php:20 CompanyPreferences.php:158 +#: CounterSales.php:1940 CounterSales.php:2062 Credit_Invoice.php:257 +#: CreditStatus.php:21 Currencies.php:29 CustEDISetup.php:19 +#: DailyBankTransactions.php:9 DebtorsAtPeriodEnd.php:138 +#: DiscountCategories.php:12 DiscountCategories.php:122 DiscountMatrix.php:18 +#: EDIMessageFormat.php:106 FixedAssetList.php:8 FixedAssetLocations.php:9 +#: FixedAssetRegister.php:13 FixedAssetRegister.php:232 +#: FixedAssetTransfer.php:31 FormDesigner.php:132 GLBalanceSheet.php:351 +#: GLBudgets.php:30 GLJournal.php:243 InventoryPlanning.php:369 +#: InventoryPlanningPrefSupplier.php:474 Labels.php:117 Labels.php:273 +#: MRPReport.php:536 OutstandingGRNs.php:174 PcAssignCashToTab.php:39 +#: PcAssignCashToTab.php:113 PcAssignCashToTab.php:129 +#: PcAssignCashToTab.php:165 PDFPickingList.php:30 PDFPrintLabel.php:132 +#: PDFStockLocTransfer.php:21 PO_AuthorisationLevels.php:12 POReport.php:61 +#: POReport.php:65 POReport.php:69 PO_SelectOSPurchOrder.php:136 +#: PricesBasedOnMarkUp.php:11 Prices_Customer.php:45 Prices.php:32 +#: PurchData.php:141 PurchData.php:231 PurchData.php:250 +#: RecurringSalesOrders.php:307 SalesAnalReptCols.php:51 SalesAnalRepts.php:13 +#: SalesCategories.php:13 SalesGLPostings.php:18 SalesGraph.php:34 +#: SalesPeople.php:22 SalesTypes.php:22 SelectAsset.php:44 +#: SelectCompletedOrder.php:13 SelectContract.php:81 SelectCreditItems.php:204 +#: SelectCreditItems.php:272 SelectCustomer.php:315 SelectGLAccount.php:19 +#: SelectGLAccount.php:79 SelectOrderItems.php:605 SelectOrderItems.php:1436 +#: SelectOrderItems.php:1556 SelectProduct.php:456 SelectSalesOrder.php:155 +#: SelectSupplier.php:9 SelectSupplier.php:198 SelectWorkOrder.php:11 +#: SelectWorkOrder.php:147 ShipmentCosting.php:13 Shipments.php:18 +#: Shippers.php:123 Shippers.php:159 Shipt_Select.php:10 +#: StockLocMovements.php:15 StockLocStatus.php:27 Suppliers.php:306 +#: SupplierTenders.php:261 SupplierTenders.php:318 SupplierTransInquiry.php:11 +#: TaxGroups.php:16 TaxProvinces.php:12 TopItems.php:60 +#: WhereUsedInquiry.php:18 WorkCentres.php:111 WorkCentres.php:158 +#: WorkOrderCosting.php:14 WorkOrderEntry.php:12 WorkOrderIssue.php:22 +#: WorkOrderReceive.php:15 WorkOrderStatus.php:43 WWW_Access.php:13 +#: WWW_Users.php:38 Z_BottomUpCosts.php:51 +msgid "Search" +msgstr "إبحث" + +#: AccountGroups.php:230 +msgid "Group Name" +msgstr "إسم المجموعة" + +#: AccountGroups.php:231 EDIMessageFormat.php:131 +msgid "Section" +msgstr "قسم" + +#: AccountGroups.php:232 AccountGroups.php:396 +msgid "Sequence In TB" +msgstr "" + +#: AccountGroups.php:233 AccountGroups.php:380 GLProfit_Loss.php:8 +#: GLProfit_Loss.php:105 GLProfit_Loss.php:106 GLProfit_Loss.php:157 +#: SelectGLAccount.php:45 SelectGLAccount.php:59 +msgid "Profit and Loss" +msgstr "" + +#: AccountGroups.php:234 AccountGroups.php:341 +msgid "Parent Group" +msgstr "" + +#: AccountGroups.php:250 AccountGroups.php:253 AccountGroups.php:384 +#: AccountGroups.php:386 BankAccounts.php:217 BankAccounts.php:361 +#: BankAccounts.php:363 BankAccounts.php:367 BOMs.php:128 BOMs.php:713 +#: BOMs.php:715 CompanyPreferences.php:439 CompanyPreferences.php:441 +#: CompanyPreferences.php:451 CompanyPreferences.php:453 +#: CompanyPreferences.php:463 CompanyPreferences.php:465 +#: ContractCosting.php:174 CustLoginSetup.php:590 CustLoginSetup.php:592 +#: CustomerBranches.php:420 Customers.php:600 Customers.php:857 +#: Customers.php:864 Customers.php:867 DeliveryDetails.php:1034 +#: DeliveryDetails.php:1074 DeliveryDetails.php:1077 GLTransInquiry.php:73 +#: Locations.php:373 MRPCalendar.php:222 MRP.php:530 MRP.php:534 MRP.php:538 +#: MRP.php:542 PaymentMethods.php:203 PaymentMethods.php:204 +#: PaymentMethods.php:264 PaymentMethods.php:270 PDFChequeListing.php:63 +#: PDFDeliveryDifferences.php:64 PDFDIFOT.php:67 +#: PO_AuthorisationLevels.php:132 PO_AuthorisationLevels.php:137 +#: PO_Header.php:758 PO_PDFPurchOrder.php:367 PO_PDFPurchOrder.php:370 +#: PurchData.php:189 PurchData.php:469 PurchData.php:472 +#: RecurringSalesOrders.php:479 RecurringSalesOrders.php:482 +#: SalesAnalReptCols.php:279 SalesAnalReptCols.php:401 +#: SalesAnalReptCols.php:404 SalesAnalRepts.php:406 SalesAnalRepts.php:409 +#: SalesAnalRepts.php:432 SalesAnalRepts.php:435 SalesAnalRepts.php:458 +#: SalesAnalRepts.php:461 SelectProduct.php:351 ShipmentCosting.php:622 +#: Stocks.php:867 Stocks.php:869 Stocks.php:887 Stocks.php:889 +#: SuppContractChgs.php:83 SuppLoginSetup.php:511 SuppLoginSetup.php:513 +#: SystemParameters.php:373 SystemParameters.php:405 SystemParameters.php:450 +#: SystemParameters.php:468 SystemParameters.php:476 SystemParameters.php:516 +#: SystemParameters.php:589 SystemParameters.php:597 SystemParameters.php:615 +#: SystemParameters.php:622 SystemParameters.php:746 SystemParameters.php:877 +#: SystemParameters.php:879 SystemParameters.php:889 SystemParameters.php:891 +#: SystemParameters.php:945 SystemParameters.php:957 SystemParameters.php:959 +#: TaxGroups.php:292 TaxGroups.php:295 TaxGroups.php:344 WWW_Users.php:610 +#: WWW_Users.php:612 +msgid "Yes" +msgstr "موافق" + +#: AccountGroups.php:256 AccountGroups.php:389 AccountGroups.php:391 +#: BankAccounts.php:215 BankAccounts.php:361 BankAccounts.php:363 +#: BankAccounts.php:367 BOMs.php:130 BOMs.php:712 BOMs.php:716 +#: CompanyPreferences.php:438 CompanyPreferences.php:442 +#: CompanyPreferences.php:450 CompanyPreferences.php:454 +#: CompanyPreferences.php:462 CompanyPreferences.php:466 +#: ContractCosting.php:172 CustLoginSetup.php:589 CustLoginSetup.php:593 +#: CustomerBranches.php:420 Customers.php:599 Customers.php:855 +#: Customers.php:863 Customers.php:866 DeliveryDetails.php:1035 +#: DeliveryDetails.php:1075 DeliveryDetails.php:1078 GLTransInquiry.php:127 +#: Locations.php:375 MRPCalendar.php:224 MRP.php:528 MRP.php:532 MRP.php:536 +#: MRP.php:540 PaymentMethods.php:203 PaymentMethods.php:204 +#: PaymentMethods.php:265 PaymentMethods.php:271 PDFChequeListing.php:62 +#: PDFDeliveryDifferences.php:63 PDFDIFOT.php:66 +#: PO_AuthorisationLevels.php:134 PO_AuthorisationLevels.php:139 +#: PO_Header.php:757 PO_PDFPurchOrder.php:368 PO_PDFPurchOrder.php:371 +#: PurchData.php:192 PurchData.php:470 PurchData.php:473 +#: RecurringSalesOrders.php:478 RecurringSalesOrders.php:481 +#: SalesAnalReptCols.php:277 SalesAnalReptCols.php:402 +#: SalesAnalReptCols.php:405 SalesAnalRepts.php:405 SalesAnalRepts.php:408 +#: SalesAnalRepts.php:431 SalesAnalRepts.php:434 SalesAnalRepts.php:457 +#: SalesAnalRepts.php:460 SelectProduct.php:353 ShipmentCosting.php:623 +#: Stocks.php:862 Stocks.php:864 Stocks.php:882 Stocks.php:884 +#: SuppContractChgs.php:85 SuppLoginSetup.php:510 SuppLoginSetup.php:514 +#: SystemParameters.php:374 SystemParameters.php:406 SystemParameters.php:451 +#: SystemParameters.php:469 SystemParameters.php:477 SystemParameters.php:517 +#: SystemParameters.php:590 SystemParameters.php:598 SystemParameters.php:616 +#: SystemParameters.php:623 SystemParameters.php:747 SystemParameters.php:876 +#: SystemParameters.php:880 SystemParameters.php:888 SystemParameters.php:892 +#: SystemParameters.php:946 SystemParameters.php:956 SystemParameters.php:960 +#: TaxGroups.php:293 TaxGroups.php:296 TaxGroups.php:346 WWW_Users.php:609 +#: WWW_Users.php:613 includes/PDFLowGPPageHeader.inc:44 +#: includes/PDFTaxPageHeader.inc:35 +msgid "No" +msgstr "ﻻ" + +#: AccountGroups.php:265 AccountSections.php:197 AddCustomerContacts.php:131 +#: AddCustomerNotes.php:125 AddCustomerTypeNotes.php:123 Areas.php:165 +#: BankAccounts.php:226 BOMs.php:150 COGSGLPostings.php:113 +#: COGSGLPostings.php:218 CreditStatus.php:175 Currencies.php:239 +#: CustLoginSetup.php:312 CustomerBranches.php:424 Customers.php:909 +#: Customers.php:941 CustomerTypes.php:205 EDIMessageFormat.php:152 +#: Factors.php:208 FixedAssetCategories.php:182 FixedAssetLocations.php:102 +#: FreightCosts.php:243 GeocodeSetup.php:169 GLAccounts.php:319 GLTags.php:62 +#: Labels.php:414 Locations.php:382 MRPDemands.php:304 MRPDemandTypes.php:122 +#: PaymentMethods.php:205 PaymentTerms.php:203 PcAssignCashToTab.php:251 +#: PcClaimExpensesFromTab.php:229 PcExpenses.php:176 PcTabs.php:188 +#: PcTypeTabs.php:171 PO_AuthorisationLevels.php:148 Prices_Customer.php:283 +#: Prices.php:227 PurchData.php:202 SalesCategories.php:263 +#: SalesGLPostings.php:135 SalesGLPostings.php:247 SalesPeople.php:210 +#: SalesTypes.php:206 SelectCustomer.php:607 SelectCustomer.php:623 +#: SelectCustomer.php:645 SelectCustomer.php:661 SelectCustomer.php:683 +#: SelectCustomer.php:699 Shippers.php:144 StockCategories.php:244 +#: SupplierContacts.php:156 SupplierTypes.php:192 SuppLoginSetup.php:274 +#: TaxAuthorities.php:173 TaxCategories.php:184 TaxGroups.php:179 +#: TaxProvinces.php:178 UnitsOfMeasure.php:201 WorkCentres.php:138 +#: WWW_Access.php:127 WWW_Users.php:312 includes/InputSerialItems.php:88 +#, php-format +msgid "Edit" +msgstr "تحرير" + +#: AccountGroups.php:266 AccountSections.php:201 AddCustomerContacts.php:132 +#: AddCustomerNotes.php:126 AddCustomerTypeNotes.php:124 Areas.php:166 +#: BankAccounts.php:227 BOMs.php:152 COGSGLPostings.php:114 +#: COGSGLPostings.php:219 ContractBOM.php:272 ContractOtherReqts.php:121 +#: CounterSales.php:741 Credit_Invoice.php:386 CreditStatus.php:176 +#: Currencies.php:242 CustLoginSetup.php:313 CustomerReceipt.php:866 +#: Customers.php:942 CustomerTypes.php:206 DiscountCategories.php:204 +#: DiscountMatrix.php:178 EDIMessageFormat.php:153 +#: FixedAssetCategories.php:183 FreightCosts.php:244 GeocodeSetup.php:170 +#: GLAccounts.php:320 GLJournal.php:403 Labels.php:414 Locations.php:383 +#: MRPDemands.php:305 MRPDemandTypes.php:123 PaymentMethods.php:206 +#: Payments.php:961 PaymentTerms.php:204 PcAssignCashToTab.php:255 +#: PcClaimExpensesFromTab.php:230 PcExpenses.php:177 PcExpensesTypeTab.php:161 +#: PcTabs.php:189 PcTypeTabs.php:172 PO_AuthorisationLevels.php:150 +#: PO_Items.php:976 Prices_Customer.php:284 Prices.php:228 PurchData.php:203 +#: SalesAnalReptCols.php:294 SalesAnalRepts.php:305 SalesCategories.php:264 +#: SalesGLPostings.php:136 SalesGLPostings.php:248 SalesPeople.php:211 +#: SalesTypes.php:207 SelectCreditItems.php:747 SelectCustomer.php:608 +#: SelectCustomer.php:624 SelectCustomer.php:646 SelectCustomer.php:662 +#: SelectCustomer.php:684 SelectCustomer.php:700 SelectOrderItems.php:1363 +#: Shipments.php:424 Shippers.php:145 SpecialOrder.php:590 +#: StockCategories.php:245 StockCategories.php:539 SuppContractChgs.php:91 +#: SuppCreditGRNs.php:93 SuppFixedAssetChgs.php:87 SuppInvGRNs.php:135 +#: SupplierContacts.php:157 SupplierTypes.php:194 SuppLoginSetup.php:275 +#: SuppShiptChgs.php:86 SuppTransGLAnalysis.php:111 TaxAuthorities.php:174 +#: TaxCategories.php:185 TaxGroups.php:180 TaxProvinces.php:179 +#: UnitsOfMeasure.php:202 WorkCentres.php:139 WOSerialNos.php:300 +#: WWW_Access.php:128 WWW_Users.php:313 includes/InputSerialItemsKeyed.php:54 +#, php-format +msgid "Delete" +msgstr "حذف" + +#: AccountGroups.php:274 +msgid "Review Account Groups" +msgstr "" + +#: AccountGroups.php:294 +msgid "An error occurred in retrieving the account group information" +msgstr "" + +#: AccountGroups.php:295 +msgid "" +"The SQL that was used to retrieve the account group and that failed in the " +"process was" +msgstr "" + +#: AccountGroups.php:298 +msgid "The account group name does not exist in the database" +msgstr "" + +#: AccountGroups.php:314 GLAccounts.php:250 GLAccounts.php:299 +#: Z_ImportGLAccountGroups.php:28 +msgid "Account Group" +msgstr "" + +#: AccountGroups.php:338 +msgid "Account Group Name" +msgstr "" + +#: AccountGroups.php:348 AccountGroups.php:350 +msgid "Top Level Group" +msgstr "" + +#: AccountGroups.php:364 +msgid "Section In Accounts" +msgstr "" + +#: AccountGroups.php:401 AccountSections.php:262 AddCustomerContacts.php:208 +#: AddCustomerNotes.php:201 AddCustomerTypeNotes.php:192 Areas.php:222 +#: BankAccounts.php:373 BOMs.php:725 COGSGLPostings.php:347 +#: CreditStatus.php:247 Currencies.php:339 CustLoginSetup.php:611 +#: DiscountMatrix.php:141 EDIMessageFormat.php:249 +#: FixedAssetCategories.php:328 FixedAssetLocations.php:148 +#: FreightCosts.php:342 GeocodeSetup.php:266 GLAccounts.php:269 +#: Locations.php:553 MRPDemands.php:402 MRPDemandTypes.php:182 +#: OffersReceived.php:52 OffersReceived.php:128 PaymentMethods.php:276 +#: PaymentTerms.php:282 PO_AuthorisationLevels.php:217 Prices_Customer.php:372 +#: SalesAnalReptCols.php:510 SalesAnalRepts.php:496 SalesGLPostings.php:415 +#: SalesPeople.php:302 Shippers.php:196 StockCategories.php:561 +#: SupplierContacts.php:251 SuppLoginSetup.php:532 TaxAuthorities.php:313 +#: TaxCategories.php:235 TaxProvinces.php:229 UnitsOfMeasure.php:253 +#: WorkCentres.php:261 WWW_Users.php:643 +msgid "Enter Information" +msgstr "أدخل المعلومات" + +#: AccountSections.php:9 index.php:1278 +msgid "Account Sections" +msgstr "أعدادات العضو" + +#: AccountSections.php:68 +msgid "The account section already exists in the database" +msgstr "قسم العضو موجود مسبقا فى قاعدة البيانات" + +#: AccountSections.php:75 +msgid "The account section name cannot contain the character" +msgstr "لا يمكن ان يحتوى اسم العضوية على الحرف" + +#: AccountSections.php:81 +msgid "The account section name must contain at least one character" +msgstr "يجب ان يحتوى اسم العضو على الاقل حرف واحد" + +#: AccountSections.php:87 AccountSections.php:93 +msgid "The section number must be an integer" +msgstr "قسم الرقم يجب ان يكون عدد صحيح" + +#: AccountSections.php:138 +msgid "" +"Cannot delete this account section because general ledger accounts groups " +"have been created using this section" +msgstr "" + +#: AccountSections.php:139 +msgid "general ledger accounts groups that refer to this account section" +msgstr "" + +#: AccountSections.php:150 +msgid "section has been deleted" +msgstr "" + +#: AccountSections.php:175 +msgid "Could not get account group sections because" +msgstr "" + +#: AccountSections.php:181 AccountSections.php:238 AccountSections.php:255 +msgid "Section Number" +msgstr "رقم القطاع" + +#: AccountSections.php:182 AccountSections.php:258 +msgid "Section Description" +msgstr "وصف القطاع" + +#: AccountSections.php:199 +msgid "Restricted" +msgstr "محظور" + +#: AccountSections.php:210 +msgid "Review Account Sections" +msgstr "راجع أعدادات العضوية" + +#: AccountSections.php:228 +msgid "Could not retrieve the requested section please try again." +msgstr "لم أستطيع استرجاع القطاع المطلوب حاول مجددا" + +#: AddCustomerContacts.php:6 AddCustomerContacts.php:59 SelectCustomer.php:601 +#: SelectCustomer.php:630 +msgid "Customer Contacts" +msgstr "" + +#: AddCustomerContacts.php:20 CustEDISetup.php:11 CustLoginSetup.php:24 +#: Z_CheckDebtorsControl.php:21 +msgid "Back to Customers" +msgstr "العودة الى العملاء" + +#: AddCustomerContacts.php:26 +msgid "Contacts for Customer: <b>" +msgstr "" + +#: AddCustomerContacts.php:29 +msgid "Edit contact for <b>" +msgstr "" + +#: AddCustomerContacts.php:41 +msgid "The Contact must be an integer." +msgstr "" + +#: AddCustomerContacts.php:44 +msgid "The contact's name must be forty characters or less long" +msgstr "" + +#: AddCustomerContacts.php:47 +msgid "The contact's name may not be empty" +msgstr "" + +#: AddCustomerContacts.php:59 AddCustomerNotes.php:49 +#: AddCustomerTypeNotes.php:49 Areas.php:74 CustomerTypes.php:71 +#: DeliveryDetails.php:748 Factors.php:117 FixedAssetItems.php:230 +#: PcAssignCashToTab.php:73 PcClaimExpensesFromTab.php:61 PcExpenses.php:60 +#: PcTabs.php:60 PcTypeTabs.php:59 PO_Items.php:381 SalesAnalReptCols.php:129 +#: SalesPeople.php:94 SalesTypes.php:63 Stocks.php:355 Suppliers.php:514 +#: SupplierTypes.php:69 +msgid "has been updated" +msgstr "" + +#: AddCustomerContacts.php:70 +msgid "The contact record has been added" +msgstr "" + +#: AddCustomerContacts.php:98 +msgid "The contact record has been deleted" +msgstr "" + +#: AddCustomerContacts.php:112 CompanyPreferences.php:229 +#: CustomerBranches.php:377 Customers.php:899 Customers.php:905 +#: Customers.php:971 SalesPeople.php:185 SelectCustomer.php:603 +#: StockDispatch.php:186 StockDispatch.php:198 SupplierContacts.php:144 +#: SupplierCredit.php:433 SupplierInvoice.php:407 SuppTransGLAnalysis.php:96 +#: includes/InputSerialItemsFile.php:84 includes/InputSerialItemsFile.php:124 +#: includes/PDFTaxPageHeader.inc:37 +msgid "Name" +msgstr "" + +#: AddCustomerContacts.php:113 AddCustomerContacts.php:190 Customers.php:900 +#: Customers.php:906 Customers.php:972 SelectCustomer.php:604 +#: WWW_Access.php:111 WWW_Access.php:172 +msgid "Role" +msgstr "" + +#: AddCustomerContacts.php:114 Customers.php:973 +msgid "Phone no" +msgstr "" + +#: AddCustomerContacts.php:115 AddCustomerContacts.php:202 Customers.php:902 +#: Customers.php:908 Customers.php:974 PcAssignCashToTab.php:216 +#: PcAssignCashToTab.php:341 PcAuthorizeExpenses.php:85 +#: PcClaimExpensesFromTab.php:195 PcClaimExpensesFromTab.php:348 +#: PcReportTab.php:348 SelectCustomer.php:606 SystemParameters.php:313 +#: WOSerialNos.php:277 WOSerialNos.php:279 +msgid "Notes" +msgstr "" + +#: AddCustomerContacts.php:149 +msgid "Review all contacts for this Customer" +msgstr "" + +#: AddCustomerContacts.php:179 +msgid "Contact Code" +msgstr "" + +#: AddCustomerContacts.php:184 Factors.php:279 SupplierContacts.php:219 +msgid "Contact Name" +msgstr "" + +#: AddCustomerContacts.php:196 Contracts.php:766 PDFRemittanceAdvice.php:247 +#: PO_Header.php:958 PO_Header.php:1028 SelectCreditItems.php:225 +#: SelectCustomer.php:461 SelectOrderItems.php:638 +#: includes/PDFStatementPageHeader.inc:63 includes/PDFTransPageHeader.inc:113 +#: includes/PDFTransPageHeaderPortrait.inc:105 +msgid "Phone" +msgstr "" + +#: AddCustomerNotes.php:6 AddCustomerNotes.php:49 SelectCustomer.php:638 +#: SelectCustomer.php:668 +msgid "Customer Notes" +msgstr "" + +#: AddCustomerNotes.php:20 AddCustomerTypeNotes.php:20 +msgid "Back to Select Customer" +msgstr "" + +#: AddCustomerNotes.php:31 +msgid "The contact priority must be an integer." +msgstr "" + +#: AddCustomerNotes.php:34 AddCustomerTypeNotes.php:34 +msgid "The contact's notes must be two hundred characters or less long" +msgstr "" + +#: AddCustomerNotes.php:37 AddCustomerTypeNotes.php:37 +msgid "The contact's notes may not be empty" +msgstr "" + +#: AddCustomerNotes.php:60 +msgid "The contact notes record has been added" +msgstr "" + +#: AddCustomerNotes.php:87 +msgid "The contact note record has been deleted" +msgstr "" + +#: AddCustomerNotes.php:98 +msgid "Notes for Customer" +msgstr "" + +#: AddCustomerNotes.php:106 AddCustomerNotes.php:189 +#: AddCustomerTypeNotes.php:104 AddCustomerTypeNotes.php:186 +#: BankMatching.php:223 BankReconciliation.php:184 BankReconciliation.php:256 +#: ContractCosting.php:149 CustomerAllocations.php:332 +#: CustomerAllocations.php:358 CustomerInquiry.php:191 +#: CustomerTransInquiry.php:87 GLAccountInquiry.php:154 +#: GLAccountReport.php:369 GLTransInquiry.php:45 MRPCalendar.php:217 +#: PaymentAllocations.php:77 PcAssignCashToTab.php:212 +#: PcAuthorizeExpenses.php:81 PDFRemittanceAdvice.php:308 +#: PrintCustTrans.php:678 PrintCustTransPortrait.php:860 ReverseGRN.php:378 +#: ShipmentCosting.php:503 ShipmentCosting.php:574 Shipments.php:467 +#: StockDispatch.php:188 StockDispatch.php:200 StockLocMovements.php:85 +#: StockMovements.php:98 StockSerialItemResearch.php:79 +#: SupplierAllocations.php:464 SupplierAllocations.php:576 +#: SupplierAllocations.php:646 SupplierInquiry.php:195 +#: SupplierTransInquiry.php:89 includes/PDFQuotationPageHeader.inc:91 +#: includes/PDFStatementPageHeader.inc:169 includes/PDFTaxPageHeader.inc:36 +#: includes/PDFTransPageHeader.inc:80 +#: includes/PDFTransPageHeaderPortrait.inc:58 +msgid "Date" +msgstr "" + +#: AddCustomerNotes.php:107 AddCustomerTypeNotes.php:105 PcReportTab.php:176 +#: Stocks.php:871 UpgradeDatabase.php:145 UpgradeDatabase.php:148 +#: UpgradeDatabase.php:151 UpgradeDatabase.php:154 UpgradeDatabase.php:157 +#: UpgradeDatabase.php:160 UpgradeDatabase.php:163 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 "" + +#: AddCustomerNotes.php:108 AddCustomerNotes.php:183 +msgid "WWW" +msgstr "" + +#: AddCustomerNotes.php:109 AddCustomerNotes.php:195 +#: AddCustomerTypeNotes.php:107 AddCustomerTypeNotes.php:189 +msgid "Priority" +msgstr "" + +#: AddCustomerNotes.php:143 +msgid "Review all notes for this Customer" +msgstr "" + +#: AddCustomerNotes.php:172 AddCustomerTypeNotes.php:171 +msgid "Note ID" +msgstr "" + +#: AddCustomerNotes.php:177 +msgid "Contact Note" +msgstr "" + +#: AddCustomerTypeNotes.php:6 SelectCustomer.php:676 +msgid "Customer Type (Group) Notes" +msgstr "" + +#: AddCustomerTypeNotes.php:31 +msgid "The Contact priority must be an integer." +msgstr "" + +#: AddCustomerTypeNotes.php:49 SelectCustomer.php:706 +msgid "Customer Group Notes" +msgstr "" + +#: AddCustomerTypeNotes.php:60 +msgid "The contact group notes record has been added" +msgstr "" + +#: AddCustomerTypeNotes.php:84 +msgid "The contact group note record has been deleted" +msgstr "" + +#: AddCustomerTypeNotes.php:95 +msgid "Notes for Customer Type" +msgstr "" + +#: AddCustomerTypeNotes.php:106 +msgid "href" +msgstr "" + +#: AddCustomerTypeNotes.php:141 +msgid "Review all notes for this Customer Type" +msgstr "" + +#: AddCustomerTypeNotes.php:182 +msgid "Contact Group Note" +msgstr "" + +#: AddCustomerTypeNotes.php:184 +msgid "Web site" +msgstr "" + +#: AgedDebtors.php:17 +msgid "Aged Customer Balance Listing" +msgstr "" + +#: AgedDebtors.php:18 +msgid "Aged Customer Balances" +msgstr "" + +#: AgedDebtors.php:267 AgedDebtors.php:365 AgedDebtors.php:436 +msgid "Aged Customer Account Analysis" +msgstr "" + +#: AgedDebtors.php:267 AgedDebtors.php:365 AgedDebtors.php:436 +#: AgedSuppliers.php:105 BOMExtendedQty.php:156 BOMIndented.php:149 +#: BOMIndentedReverse.php:148 BOMListing.php:48 BOMListing.php:59 +#: DebtorsAtPeriodEnd.php:58 DebtorsAtPeriodEnd.php:70 GLBalanceSheet.php:90 +#: GLBalanceSheet.php:128 GLProfit_Loss.php:157 GLTagProfit_Loss.php:174 +#: GLTrialBalance.php:151 InventoryPlanning.php:99 InventoryPlanning.php:174 +#: InventoryPlanning.php:209 InventoryPlanning.php:252 +#: InventoryPlanning.php:290 InventoryPlanningPrefSupplier.php:208 +#: InventoryPlanningPrefSupplier.php:276 InventoryPlanningPrefSupplier.php:310 +#: InventoryPlanningPrefSupplier.php:353 InventoryPlanningPrefSupplier.php:401 +#: InventoryQuantities.php:83 InventoryValuation.php:76 +#: MailInventoryValuation.php:115 MRPPlannedPurchaseOrders.php:111 +#: MRPPlannedWorkOrders.php:105 MRPReport.php:147 MRPReport.php:529 +#: MRPReschedules.php:46 MRPReschedules.php:58 MRPShortages.php:137 +#: MRPShortages.php:149 OutstandingGRNs.php:51 OutstandingGRNs.php:63 +#: PDFCustomerList.php:20 PDFCustomerList.php:232 PDFCustomerList.php:244 +#: PDFLowGP.php:23 PDFStockCheckComparison.php:35 +#: PDFStockCheckComparison.php:61 PDFStockCheckComparison.php:262 +#: ReorderLevel.php:59 SelectAsset.php:36 SelectProduct.php:37 +#: StockCheck.php:65 StockCheck.php:139 SupplierTenders.php:325 +#: SuppPriceList.php:118 includes/PDFPaymentRun_PymtFooter.php:148 +msgid "Problem Report" +msgstr "" + +#: AgedDebtors.php:269 CustomerInquiry.php:87 CustomerInquiry.php:108 +#: DebtorsAtPeriodEnd.php:60 +msgid "The customer details could not be retrieved by the SQL because" +msgstr "" + +#: AgedDebtors.php:270 AgedDebtors.php:368 AgedDebtors.php:442 +#: AgedSuppliers.php:108 AgedSuppliers.php:190 BOMExtendedQty.php:159 +#: BOMExtendedQty.php:263 BOMIndented.php:152 BOMIndented.php:238 +#: BOMIndentedReverse.php:151 BOMIndentedReverse.php:235 BOMListing.php:51 +#: Credit_Invoice.php:186 DebtorsAtPeriodEnd.php:61 DebtorsAtPeriodEnd.php:73 +#: FTP_RadioBeacon.php:188 GetStockImage.php:154 GLBalanceSheet.php:93 +#: GLBalanceSheet.php:131 GLBalanceSheet.php:294 GLProfit_Loss.php:160 +#: GLProfit_Loss.php:172 GLTagProfit_Loss.php:177 GLTagProfit_Loss.php:189 +#: GLTrialBalance.php:154 GLTrialBalance.php:166 InventoryPlanning.php:102 +#: InventoryPlanning.php:177 InventoryPlanning.php:212 +#: InventoryPlanning.php:255 InventoryPlanning.php:293 +#: InventoryPlanning.php:356 InventoryPlanningPrefSupplier.php:211 +#: InventoryPlanningPrefSupplier.php:279 InventoryPlanningPrefSupplier.php:313 +#: InventoryPlanningPrefSupplier.php:356 InventoryPlanningPrefSupplier.php:404 +#: InventoryPlanningPrefSupplier.php:460 InventoryQuantities.php:86 +#: InventoryQuantities.php:97 InventoryValuation.php:79 +#: InventoryValuation.php:90 MailInventoryValuation.php:118 +#: MailInventoryValuation.php:214 MRPPlannedPurchaseOrders.php:114 +#: MRPPlannedPurchaseOrders.php:125 MRPPlannedWorkOrders.php:108 +#: MRPPlannedWorkOrders.php:119 MRPPlannedWorkOrders.php:318 MRPReport.php:41 +#: MRPReport.php:52 MRPReport.php:150 MRPReschedules.php:49 +#: MRPReschedules.php:61 MRPShortages.php:140 MRPShortages.php:152 +#: OutstandingGRNs.php:54 OutstandingGRNs.php:66 PcReportTab.php:236 +#: PDFCustomerList.php:235 PDFCustomerList.php:247 PDFGrn.php:147 +#: PDFLowGP.php:63 PDFLowGP.php:75 PDFPriceList.php:124 PDFQuotation.php:237 +#: PDFRemittanceAdvice.php:84 PDFStockCheckComparison.php:39 +#: PDFStockCheckComparison.php:65 PDFStockCheckComparison.php:266 +#: PDFTopItems.php:123 PO_PDFPurchOrder.php:21 PO_PDFPurchOrder.php:131 +#: PrintCustOrder_generic.php:182 PrintCustOrder.php:198 +#: PrintSalesOrder_generic.php:183 ReorderLevel.php:62 ReorderLevel.php:151 +#: SalesAnalysis_UserDefined.php:28 SelectCreditItems.php:25 StockCheck.php:47 +#: StockCheck.php:68 StockCheck.php:98 StockCheck.php:142 StockCheck.php:153 +#: StockCheck.php:194 StockDispatch.php:93 StockDispatch.php:105 +#: SupplierBalsAtPeriodEnd.php:57 SupplierBalsAtPeriodEnd.php:68 +#: SuppPaymentRun.php:109 SuppPaymentRun.php:120 SuppPaymentRun.php:184 +#: SuppPaymentRun.php:214 SuppPriceList.php:121 Tax.php:64 Tax.php:177 +#: Tax.php:286 Z_DataExport.php:73 Z_DataExport.php:169 Z_DataExport.php:260 +#: Z_DataExport.php:309 Z_DataExport.php:348 Z_DataExport.php:384 +#: Z_DataExport.php:420 Z_DataExport.php:472 Z_poRebuildDefault.php:38 +#: includes/PDFPaymentRun_PymtFooter.php:57 +#: includes/PDFPaymentRun_PymtFooter.php:86 +#: includes/PDFPaymentRun_PymtFooter.php:115 +#: includes/PDFPaymentRun_PymtFooter.php:151 +#: includes/PDFPaymentRun_PymtFooter.php:182 +#: includes/PDFPaymentRun_PymtFooter.php:214 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:180 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:188 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:340 +msgid "Back to the menu" +msgstr "" + +#: AgedDebtors.php:367 +msgid "The details of outstanding transactions for customer" +msgstr "" + +#: AgedDebtors.php:367 AgedSuppliers.php:189 GLAccountCSV.php:169 +#: GLAccountInquiry.php:145 GLAccountReport.php:93 PO_Items.php:532 +#: PO_Items.php:562 PO_Items.php:640 PO_Items.php:803 +#: SalesAnalReptCols.php:356 SpecialOrder.php:369 +#: StockLocTransferReceive.php:373 StockQuantityByDate.php:106 +#: includes/SelectOrderItems_IntoCart.inc:53 +msgid "could not be retrieved because" +msgstr "" + +#: AgedDebtors.php:370 AgedSuppliers.php:192 Areas.php:96 +#: ConfirmDispatch_Invoice.php:155 ConfirmDispatch_Invoice.php:962 +#: ConfirmDispatch_Invoice.php:976 Contracts.php:583 CounterSales.php:1280 +#: CounterSales.php:1294 Credit_Invoice.php:707 Credit_Invoice.php:729 +#: CustomerReceipt.php:526 CustomerReceipt.php:658 CustomerReceipt.php:686 +#: CustomerTransInquiry.php:79 DeliveryDetails.php:395 GLProfit_Loss.php:578 +#: GLTagProfit_Loss.php:490 Payments.php:307 PDFRemittanceAdvice.php:86 +#: PurchData.php:89 PurchData.php:108 PurchData.php:219 ReverseGRN.php:191 +#: ReverseGRN.php:205 ReverseGRN.php:366 SelectCreditItems.php:1383 +#: StockCheck.php:224 StockCostUpdate.php:79 StockCostUpdate.php:89 +#: StockLocStatus.php:142 StockMovements.php:92 StockQuantityByDate.php:82 +#: StockReorderLevel.php:39 StockStatus.php:271 StockTransfers.php:159 +#: StockUsageGraph.php:53 StockUsage.php:127 SupplierInquiry.php:79 +#: SupplierInquiry.php:101 SupplierInquiry.php:131 SupplierInquiry.php:177 +#: SupplierTransInquiry.php:81 SuppPaymentRun.php:111 SuppPaymentRun.php:186 +#: SuppPaymentRun.php:216 WorkOrderCosting.php:393 WorkOrderReceive.php:272 +#: WOSerialNos.php:44 Z_ChangeBranchCode.php:108 Z_ChangeCustomerCode.php:90 +#: Z_DeleteCreditNote.php:57 Z_DeleteInvoice.php:83 +#: includes/PDFPaymentRun_PymtFooter.php:59 +#: includes/PDFPaymentRun_PymtFooter.php:88 +#: includes/PDFPaymentRun_PymtFooter.php:117 +#: includes/PDFPaymentRun_PymtFooter.php:153 +#: includes/PDFPaymentRun_PymtFooter.php:184 includes/ConnectDB_mysqli.inc:83 +#: includes/ConnectDB_mysql.inc:65 +msgid "The SQL that failed was" +msgstr "" + +#: AgedDebtors.php:438 +msgid "There are no customers meeting the criteria specified to list" +msgstr "" + +#: AgedDebtors.php:464 +msgid "Aged Debtor Analysis" +msgstr "" + +#: AgedDebtors.php:477 DebtorsAtPeriodEnd.php:148 +msgid "From Customer Code" +msgstr "" + +#: AgedDebtors.php:478 DebtorsAtPeriodEnd.php:149 +msgid "To Customer Code" +msgstr "" + +#: AgedDebtors.php:480 AgedSuppliers.php:293 +msgid "All balances or overdues only" +msgstr "" + +#: AgedDebtors.php:481 +msgid "All customers with balances" +msgstr "" + +#: AgedDebtors.php:482 AgedSuppliers.php:296 +msgid "Overdue accounts only" +msgstr "" + +#: AgedDebtors.php:483 +msgid "Held accounts only" +msgstr "" + +#: AgedDebtors.php:486 +msgid "Only Show Customers Of" +msgstr "" + +#: AgedDebtors.php:498 +msgid "Only show customers trading in" +msgstr "" + +#: AgedDebtors.php:514 +msgid "Summary or detailed report" +msgstr "" + +#: AgedDebtors.php:516 AgedSuppliers.php:316 InventoryValuation.php:238 +msgid "Summary Report" +msgstr "" + +#: AgedDebtors.php:517 AgedSuppliers.php:317 InventoryValuation.php:239 +msgid "Detailed Report" +msgstr "" + +#: AgedDebtors.php:520 AgedSuppliers.php:320 BOMExtendedQty.php:300 +#: BOMIndented.php:278 BOMIndentedReverse.php:266 BOMListing.php:142 +#: DebtorsAtPeriodEnd.php:166 InventoryPlanning.php:437 +#: InventoryPlanningPrefSupplier.php:518 InventoryQuantities.php:188 +#: InventoryValuation.php:242 MRPPlannedPurchaseOrders.php:279 +#: MRPPlannedWorkOrders.php:344 MRPReschedules.php:166 MRPShortages.php:262 +#: OutstandingGRNs.php:185 PDFCustomerList.php:412 PDFLowGP.php:168 +#: PDFPriceList.php:301 PDFRemittanceAdvice.php:152 +#: PDFStockCheckComparison.php:379 PrintCustTrans.php:478 +#: PrintCustTransPortrait.php:630 ReorderLevel.php:229 StockDispatch.php:309 +#: SupplierBalsAtPeriodEnd.php:155 SuppPriceList.php:237 Tax.php:352 +msgid "Print PDF" +msgstr "" + +#: AgedSuppliers.php:18 +msgid "Aged Supplier Listing" +msgstr "" + +#: AgedSuppliers.php:19 +msgid "Aged Suppliers" +msgstr "" + +#: AgedSuppliers.php:105 +msgid "Aged Supplier Account Analysis" +msgstr "" + +#: AgedSuppliers.php:107 SupplierBalsAtPeriodEnd.php:56 +msgid "The Supplier details could not be retrieved by the SQL because" +msgstr "" + +#: AgedSuppliers.php:187 +msgid "Aged Supplier Account Analysis - Problem Report" +msgstr "" + +#: AgedSuppliers.php:189 +msgid "The details of outstanding transactions for Supplier" +msgstr "" + +#: AgedSuppliers.php:273 +msgid "Aged Supplier Analysis" +msgstr "" + +#: AgedSuppliers.php:286 OutstandingGRNs.php:180 PDFRemittanceAdvice.php:138 +#: SupplierBalsAtPeriodEnd.php:132 SuppPaymentRun.php:259 +msgid "From Supplier Code" +msgstr "" + +#: AgedSuppliers.php:289 OutstandingGRNs.php:182 PDFRemittanceAdvice.php:140 +#: SupplierBalsAtPeriodEnd.php:134 SuppPaymentRun.php:261 +msgid "To Supplier Code" +msgstr "" + +#: AgedSuppliers.php:295 +msgid "All suppliers with balances" +msgstr "" + +#: AgedSuppliers.php:299 +msgid "For suppliers trading in" +msgstr "" + +#: AgedSuppliers.php:314 InventoryValuation.php:237 +msgid "Summary or Detailed Report" +msgstr "" + +#: Areas.php:8 +msgid "Sales Area Maintenance" +msgstr "" + +#: Areas.php:41 +msgid "The area code must be three characters or less long" +msgstr "" + +#: Areas.php:46 +msgid "The area code entered already exists" +msgstr "" + +#: Areas.php:51 +msgid "The area description must be twenty five characters or less long" +msgstr "" + +#: Areas.php:56 +msgid "The area code may not be empty" +msgstr "" + +#: Areas.php:61 +msgid "The area description may not be empty" +msgstr "" + +#: Areas.php:74 +msgid "Area code" +msgstr "" + +#: Areas.php:88 +msgid "New area code" +msgstr "" + +#: Areas.php:88 +msgid "has been inserted" +msgstr "" + +#: Areas.php:95 +msgid "The area could not be added or updated because" +msgstr "" + +#: Areas.php:116 +msgid "" +"Cannot delete this area because customer branches have been created using " +"this area" +msgstr "" + +#: Areas.php:117 +msgid "branches using this area code" +msgstr "" + +#: Areas.php:125 +msgid "" +"Cannot delete this area because sales analysis records exist that use this " +"area" +msgstr "" + +#: Areas.php:126 +msgid "sales analysis records referring this area code" +msgstr "" + +#: Areas.php:133 Areas.php:149 Areas.php:202 Areas.php:213 +msgid "Area Code" +msgstr "" + +#: Areas.php:133 CustomerTypes.php:166 Factors.php:142 +#: FixedAssetCategories.php:137 GLAccounts.php:208 Locations.php:328 +#: MRPDemands.php:248 PcAssignCashToTab.php:118 PcClaimExpensesFromTab.php:109 +#: PcExpenses.php:127 PcExpensesTypeTab.php:83 PcTabs.php:124 +#: PcTypeTabs.php:134 SalesAnalReptCols.php:215 SalesCategories.php:139 +#: SalesTypes.php:163 StockCategories.php:199 Suppliers.php:639 +#: SupplierTypes.php:153 Z_DeleteInvoice.php:142 +msgid "has been deleted" +msgstr "" + +#: Areas.php:150 Areas.php:218 +msgid "Area Name" +msgstr "" + +#: Areas.php:167 +msgid "View Customers from this Area" +msgstr "" + +#: Areas.php:177 +msgid "Review Areas Defined" +msgstr "" + +#: AuditTrail.php:9 +msgid "Audit Trail" +msgstr "" + +#: AuditTrail.php:23 +msgid "Incorrect date format used, please re-enter" +msgstr "" + +#: AuditTrail.php:37 BOMIndented.php:317 BOMIndentedReverse.php:305 +#: MRPCalendar.php:260 +msgid "From Date" +msgstr "" + +#: AuditTrail.php:39 BOMIndented.php:318 BOMIndentedReverse.php:306 +#: MRPCalendar.php:262 +msgid "To Date" +msgstr "" + +#: AuditTrail.php:43 PO_AuthorisationLevels.php:123 +#: PO_AuthorisationLevels.php:160 PO_AuthorisationLevels.php:163 +#: UserSettings.php:111 +msgid "User ID" +msgstr "" + +#: AuditTrail.php:56 +msgid "Table " +msgstr "" + +#: AuditTrail.php:68 MRPReport.php:789 PO_SelectPurchOrder.php:357 +#: SelectContract.php:196 SelectProduct.php:710 +msgid "View" +msgstr "" + +#: AuditTrail.php:144 +msgid "Date/Time" +msgstr "" + +#: AuditTrail.php:145 PcReportTab.php:283 includes/header.inc:52 +msgid "User" +msgstr "" + +#: AuditTrail.php:146 BankReconciliation.php:185 BankReconciliation.php:257 +#: CustomerAllocations.php:356 CustomerInquiry.php:189 +#: CustomerTransInquiry.php:21 CustomerTransInquiry.php:85 +#: CustWhereAlloc.php:18 CustWhereAlloc.php:87 DailyBankTransactions.php:79 +#: GLAccountInquiry.php:152 GLAccountReport.php:367 GLJournal.php:256 +#: MRPReschedules.php:204 SelectCustomer.php:460 ShipmentCosting.php:501 +#: ShipmentCosting.php:572 StockCategories.php:219 StockLocMovements.php:83 +#: StockMovements.php:97 SupplierAllocations.php:462 SupplierInquiry.php:193 +#: SupplierTransInquiry.php:19 SupplierTransInquiry.php:86 +#: Z_CheckAllocationsFrom.php:27 Z_CheckAllocationsFrom.php:50 +#: Z_CheckAllocs.php:59 Z_CheckGLTransBalance.php:12 +#: includes/InputSerialItemsFile.php:86 includes/InputSerialItemsFile.php:126 +#: includes/PDFTaxPageHeader.inc:34 +msgid "Type" +msgstr "" + +#: AuditTrail.php:147 +msgid "Table" +msgstr "" + +#: AuditTrail.php:148 api/api_xml-rpc.php:314 api/api_xml-rpc.php:729 +#: api/api_xml-rpc.php:1892 +msgid "Field Name" +msgstr "" + +#: AuditTrail.php:149 SystemParameters.php:312 +#: includes/PDFInventoryValnPageHeader.inc:38 +#: includes/PDFOstdgGRNsPageHeader.inc:43 +msgid "Value" +msgstr "" + +#: BankAccounts.php:9 +msgid "Bank Accounts Maintenance" +msgstr "" + +#: BankAccounts.php:13 TaxAuthorities.php:149 +msgid "Bank" +msgstr "" + +#: BankAccounts.php:14 +msgid "" +"Update Bank Account details. Account Code is for SWIFT or BSB type Bank " +"Codes. Set Default for Invoices to \"yes\" to print Account details on " +"Invoices (only one account can be set to \"yes\")." +msgstr "" + +#: BankAccounts.php:46 +msgid "The bank account code already exists in the database" +msgstr "" + +#: BankAccounts.php:52 +msgid "The bank account name must be fifty characters or less long" +msgstr "" + +#: BankAccounts.php:58 +msgid "The bank account name may not be empty." +msgstr "" + +#: BankAccounts.php:64 +msgid "The bank account number may not be empty." +msgstr "" + +#: BankAccounts.php:70 +msgid "The bank account number must be fifty characters or less long" +msgstr "" + +#: BankAccounts.php:76 +msgid "The bank address must be fifty characters or less long" +msgstr "" + +#: BankAccounts.php:95 +msgid "" +"Note that it is not possible to change the currency of the account once " +"there are transactions against it" +msgstr "" + +#: BankAccounts.php:108 +msgid "The bank account details have been updated" +msgstr "" + +#: BankAccounts.php:129 +msgid "The new bank account has been entered" +msgstr "" + +#: BankAccounts.php:134 +msgid "The bank account could not be inserted or modified because" +msgstr "" + +#: BankAccounts.php:135 +msgid "The SQL used to insert/modify the bank account details was" +msgstr "" + +#: BankAccounts.php:162 +msgid "" +"Cannot delete this bank account because transactions have been created using " +"this account" +msgstr "" + +#: BankAccounts.php:163 +msgid "transactions with this bank account code" +msgstr "" + +#: BankAccounts.php:169 +msgid "Bank account deleted" +msgstr "" + +#: BankAccounts.php:190 +msgid "The bank accounts set up could not be retrieved because" +msgstr "" + +#: BankAccounts.php:191 +msgid "The SQL used to retrieve the bank account details was" +msgstr "" + +#: BankAccounts.php:196 GLJournal.php:280 +msgid "GL Account Code" +msgstr "" + +#: BankAccounts.php:197 BankAccounts.php:326 +msgid "Bank Account Name" +msgstr "" + +#: BankAccounts.php:198 BankAccounts.php:328 +msgid "Bank Account Code" +msgstr "" + +#: BankAccounts.php:199 BankAccounts.php:330 +msgid "Bank Account Number" +msgstr "" + +#: BankAccounts.php:200 BankAccounts.php:332 +msgid "Bank Address" +msgstr "" + +#: BankAccounts.php:201 CustomerReceipt.php:756 CustomerTransInquiry.php:95 +#: OffersReceived.php:98 PcReportTab.php:291 PcTabs.php:147 PcTabs.php:295 +#: PDFPrintLabel.php:94 PO_AuthorisationLevels.php:125 +#: PO_AuthorisationLevels.php:180 PO_AuthorisationLevels.php:183 +#: PO_AuthoriseMyOrders.php:107 PO_Header.php:534 +#: PO_SelectOSPurchOrder.php:444 PO_SelectPurchOrder.php:359 +#: PricesByCost.php:209 Prices.php:198 Prices.php:293 PurchData.php:168 +#: PurchData.php:315 PurchData.php:428 SelectSupplier.php:251 +#: SupplierCredit.php:264 SupplierInvoice.php:232 SupplierTransInquiry.php:95 +#: SuppPriceList.php:274 includes/PDFBankingSummaryPageHeader.inc:42 +#: includes/PDFDebtorBalsPageHeader.inc:33 +#: includes/PDFSupplierBalsPageHeader.inc:36 +msgid "Currency" +msgstr "" + +#: BankAccounts.php:202 BankAccounts.php:351 +msgid "Default for Invoices" +msgstr "" + +#: BankAccounts.php:251 +msgid "Show All Bank Accounts Defined" +msgstr "" + +#: BankAccounts.php:284 BankAccounts.php:287 +msgid "Bank Account GL Code" +msgstr "" + +#: BankAccounts.php:334 +msgid "Currency Of Account" +msgstr "" + +#: BankMatching.php:8 +msgid "Bank Account Matching" +msgstr "" + +#: BankMatching.php:15 PDFCustTransListing.php:44 Z_CheckDebtorsControl.php:80 +msgid "Receipts" +msgstr "" + +#: BankMatching.php:16 BankMatching.php:23 +msgid "Bank Matching" +msgstr "" + +#: BankMatching.php:16 +msgid "Bank Account Matching - Receipts" +msgstr "" + +#: BankMatching.php:22 PaymentAllocations.php:33 PaymentMethods.php:13 +#: PDFSuppTransListing.php:44 +msgid "Payments" +msgstr "" + +#: BankMatching.php:23 +msgid "Bank Account Matching - Payments" +msgstr "" + +#: BankMatching.php:27 +msgid "This page must be called with a bank transaction type" +msgstr "" + +#: BankMatching.php:27 +msgid "It should not be called directly" +msgstr "" + +#: BankMatching.php:40 +msgid "Could not retrieve transaction information" +msgstr "" + +#: BankMatching.php:47 +msgid "Could not match off this payment because" +msgstr "" + +#: BankMatching.php:58 +msgid "Could not update the amount matched off this bank transaction because" +msgstr "" + +#: BankMatching.php:64 +msgid "Could not unclear this bank transaction because" +msgstr "" + +#: BankMatching.php:72 +msgid "" +"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." +msgstr "" + +#: BankMatching.php:80 BankReconciliation.php:97 CustomerReceipt.php:729 +#: DailyBankTransactions.php:28 Payments.php:732 PDFChequeListing.php:46 +#: TaxAuthorities.php:150 TaxAuthorities.php:306 +msgid "Bank Account" +msgstr "" + +#: BankMatching.php:102 PO_SelectOSPurchOrder.php:489 +msgid "Show" +msgstr "" + +#: BankMatching.php:102 CreditItemsControlled.php:78 FreightCosts.php:270 +#: GoodsReceivedControlled.php:56 GoodsReceived.php:66 +#: StockLocTransferReceive.php:426 SupplierAllocations.php:443 +#: SuppShiptChgs.php:126 +msgid "from" +msgstr "" + +#: BankMatching.php:105 ConfirmDispatchControlled_Invoice.php:59 +#: EmailCustTrans.php:65 FTP_RadioBeacon.php:281 GLAccountCSV.php:172 +#: GLAccountReport.php:102 Payments.php:712 PcReportTab.php:105 +#: PDFChequeListing.php:108 PDFChequeListing.php:118 PDFChequeListing.php:205 +#: PDFDeliveryDifferences.php:166 PDFDeliveryDifferences.php:179 +#: PDFDeliveryDifferences.php:287 PDFDIFOT.php:172 PDFDIFOT.php:185 +#: PDFDIFOT.php:289 PDFOrdersInvoiced.php:74 PDFOrdersInvoiced.php:271 +#: PDFOrderStatus.php:75 PDFOrderStatus.php:250 PO_PDFPurchOrder.php:313 +#: PricesBasedOnMarkUp.php:216 PricesBasedOnMarkUp.php:334 +#: PricesBasedOnMarkUp.php:350 PrintCustStatements.php:50 +#: PrintCustTrans.php:38 PrintCustTrans.php:41 PrintCustTransPortrait.php:60 +#: PrintCustTransPortrait.php:63 SalesGraph.php:200 SalesGraph.php:229 +#: SalesGraph.php:233 StockLocTransferReceive.php:310 +#: StockLocTransferReceive.php:426 Stocks.php:231 Stocks.php:236 +#: StockStatus.php:305 StockStatus.php:347 StockTransfers.php:397 +#: includes/PDFAgedDebtorsPageHeader.inc:18 +#: includes/PDFAgedSuppliersPageHeader.inc:17 +#: includes/PDFChequeListingPageHeader.inc:17 +#: includes/PDFDeliveryDifferencesPageHeader.inc:19 +#: includes/PDFDeliveryDifferencesPageHeader.inc:21 +#: includes/PDFDIFOTPageHeader.inc:19 includes/PDFDIFOTPageHeader.inc:21 +#: includes/PDFOrdersInvoicedPageHeader.inc:19 +#: includes/PDFOrdersInvoicedPageHeader.inc:21 +#: includes/PDFOrderStatusPageHeader.inc:19 +#: includes/PDFOrderStatusPageHeader.inc:21 +#: includes/PDFStockLocTransferHeader.inc:31 +msgid "to" +msgstr "" + +#: BankMatching.php:107 +msgid "Choose outstanding" +msgstr "" + +#: BankMatching.php:107 +msgid "only or all" +msgstr "" + +#: BankMatching.php:107 BankMatching.php:111 BankMatching.php:114 +#: BankMatching.php:122 BankMatching.php:125 +msgid "in the date range" +msgstr "" + +#: BankMatching.php:111 BankMatching.php:114 BankMatching.php:122 +#: BankMatching.php:125 +msgid "Show all" +msgstr "" + +#: BankMatching.php:112 BankMatching.php:115 +msgid "Show unmatched" +msgstr "" + +#: BankMatching.php:112 BankMatching.php:115 ReverseGRN.php:103 +#: includes/PDFCustomerListPageHeader.inc:46 +#: includes/PDFDeliveryDifferencesPageHeader.inc:24 +#: includes/PDFDIFOTPageHeader.inc:24 +#: includes/PDFOrdersInvoicedPageHeader.inc:24 +#: includes/PDFOrderStatusPageHeader.inc:24 +msgid "only" +msgstr "" + +#: BankMatching.php:119 +msgid "Choose to display only the first 20 matching" +msgstr "" + +#: BankMatching.php:120 +msgid "or all" +msgstr "" + +#: BankMatching.php:120 +msgid "meeting the criteria" +msgstr "" + +#: BankMatching.php:123 BankMatching.php:126 +msgid "Show only the first 20" +msgstr "" + +#: BankMatching.php:131 +msgid "Show selected" +msgstr "" + +#: BankMatching.php:132 +msgid "Show reconciliation" +msgstr "" + +#: BankMatching.php:138 BankMatching.php:144 +msgid "The date entered for the field to show" +msgstr "" + +#: BankMatching.php:138 +msgid "before" +msgstr "" + +#: BankMatching.php:139 BankMatching.php:145 +msgid "is not entered in a recognised date format" +msgstr "" + +#: BankMatching.php:139 BankMatching.php:145 +msgid "Entry is expected in the format" +msgstr "" + +#: BankMatching.php:144 +msgid "after" +msgstr "" + +#: BankMatching.php:218 +msgid "" +"The payments with the selected criteria could not be retrieved because" +msgstr "" + +#: BankMatching.php:221 ShipmentCosting.php:502 ShipmentCosting.php:573 +#: SupplierAllocations.php:465 +msgid "Ref" +msgstr "" + +#: BankMatching.php:224 ConfirmDispatch_Invoice.php:272 Credit_Invoice.php:281 +#: CustomerAllocations.php:359 CustomerReceipt.php:845 +#: CustomerTransInquiry.php:94 CustWhereAlloc.php:91 PaymentAllocations.php:78 +#: Payments.php:928 Payments.php:930 Payments.php:939 +#: PcAssignCashToTab.php:214 PcAssignCashToTab.php:335 +#: PcAuthorizeExpenses.php:83 PcClaimExpensesFromTab.php:193 +#: PcClaimExpensesFromTab.php:342 PcReportTab.php:175 PcReportTab.php:347 +#: PrintCheque.php:70 PrintCheque.php:84 SelectCreditItems.php:661 +#: SuppContractChgs.php:73 SuppContractChgs.php:142 SuppFixedAssetChgs.php:77 +#: SuppFixedAssetChgs.php:136 SupplierAllocations.php:466 +#: SupplierCredit.php:341 SupplierCredit.php:369 SupplierCredit.php:399 +#: SupplierCredit.php:434 SupplierInvoice.php:312 SupplierInvoice.php:342 +#: SupplierInvoice.php:373 SupplierInvoice.php:408 SupplierTransInquiry.php:94 +#: SuppShiptChgs.php:77 SuppShiptChgs.php:134 SuppTransGLAnalysis.php:97 +#: SuppTransGLAnalysis.php:174 Z_CheckAllocs.php:63 +#: includes/PDFBankingSummaryPageHeader.inc:55 +#: includes/PDFChequeListingPageHeader.inc:37 +msgid "Amount" +msgstr "" + +#: BankMatching.php:225 BankReconciliation.php:189 BankReconciliation.php:261 +#: PDFOrdersInvoiced.php:348 PDFOrderStatus.php:316 +#: PO_SelectOSPurchOrder.php:215 PO_SelectPurchOrder.php:175 +#: Shipt_Select.php:186 SuppCreditGRNs.php:225 +#: includes/PDFStatementPageHeader.inc:173 +#: includes/PDFStatementPageHeader.inc:180 +msgid "Outstanding" +msgstr "" + +#: BankMatching.php:226 +msgid "Clear" +msgstr "" + +#: BankMatching.php:226 BankMatching.php:255 +msgid "Unclear" +msgstr "" + +#: BankMatching.php:299 +msgid "Update Matching" +msgstr "" + +#: BankReconciliation.php:10 +msgid "Bank Reconciliation" +msgstr "" + +#: BankReconciliation.php:20 +msgid "" +"The entry in the bank statement balance is not numeric. The balance on the " +"bank statement should be entered. The exchange difference has not been " +"calculated and no general ledger journal has been created" +msgstr "" + +#: BankReconciliation.php:29 +msgid "Could not retrieve the exchange rate for the selected bank account" +msgstr "" + +#: BankReconciliation.php:59 BankReconciliation.php:77 +msgid "reconciliation on" +msgstr "" + +#: BankReconciliation.php:62 +msgid "Cannot insert a GL entry for the exchange difference because" +msgstr "" + +#: BankReconciliation.php:63 +msgid "The SQL that failed to insert the exchange difference GL entry was" +msgstr "" + +#: BankReconciliation.php:83 +msgid "Exchange difference of" +msgstr "" + +#: BankReconciliation.php:83 +msgid "has been posted" +msgstr "" + +#: BankReconciliation.php:93 SuppPaymentRun.php:300 +msgid "The bank accounts could not be retrieved by the SQL because" +msgstr "" + +#: BankReconciliation.php:94 CustomerReceipt.php:720 +#: DailyBankTransactions.php:25 Payments.php:729 SuppPaymentRun.php:302 +msgid "The SQL used to retrieve the bank accounts was" +msgstr "" + +#: BankReconciliation.php:100 CustomerReceipt.php:734 +msgid "Bank Accounts have not yet been defined" +msgstr "" + +#: BankReconciliation.php:100 CustomerReceipt.php:734 +msgid "You must first" +msgstr "" + +#: BankReconciliation.php:100 CustomerReceipt.php:734 +#: DailyBankTransactions.php:32 Payments.php:736 SuppPaymentRun.php:310 +msgid "define the bank accounts" +msgstr "" + +#: BankReconciliation.php:100 CustomerReceipt.php:734 +#: DailyBankTransactions.php:32 Payments.php:736 SuppPaymentRun.php:310 +msgid "and general ledger accounts to be affected" +msgstr "" + +#: BankReconciliation.php:119 +msgid "Show bank reconciliation statement" +msgstr "" + +#: BankReconciliation.php:134 +msgid "The bank account balance could not be returned by the SQL because" +msgstr "" + +#: BankReconciliation.php:147 +msgid "" +"Could not retrieve the currency and exchange rate for the selected bank " +"account" +msgstr "" + +#: BankReconciliation.php:155 +msgid "Balance as at" +msgstr "" + +#: BankReconciliation.php:178 +msgid "The unpresented cheques could not be retrieved by the SQL because" +msgstr "" + +#: BankReconciliation.php:181 +msgid "Add back unpresented cheques" +msgstr "" + +#: BankReconciliation.php:186 BankReconciliation.php:258 +#: CustomerAllocations.php:331 CustomerAllocations.php:357 +#: CustomerInquiry.php:190 CustomerTransInquiry.php:86 CustWhereAlloc.php:88 +#: EmailCust... [truncated message content] |
From: <dai...@us...> - 2012-03-11 09:13:29
|
Revision: 5062 http://web-erp.svn.sourceforge.net/web-erp/?rev=5062&view=rev Author: daintree Date: 2012-03-11 09:13:20 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Language updates - James Dupin French - Dr Magbt Salib Arabic Modified Paths: -------------- trunk/build/make_release.sh trunk/doc/Change.log trunk/includes/LanguagesArray.php trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po Added Paths: ----------- trunk/locale/ar_EG.utf8/ trunk/locale/ar_EG.utf8/LC_MESSAGES/ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po Modified: trunk/build/make_release.sh =================================================================== --- trunk/build/make_release.sh 2012-03-08 10:02:55 UTC (rev 5061) +++ trunk/build/make_release.sh 2012-03-11 09:13:20 UTC (rev 5062) @@ -9,6 +9,7 @@ xgettext --no-wrap --language=PHP -o locale/en_GB.utf8/LC_MESSAGES/messages.pot *php includes/*.php includes/*.inc reportwriter/*.php reportwriter/*.inc reportwriter/forms/*.html reportwriter/admin/*.php reportwriter/admin/*.inc reportwriter/admin/forms/*.html api/*.php +msgmerge -U --backup=off locale/ar_EG.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/cs_CZ.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/de_DE.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/en_US.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot @@ -38,6 +39,7 @@ msgmerge -U --backup=off locale/zh_HK.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/vi_VN.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot +msgfmt -o locale/ar_EG.utf8/LC_MESSAGES/messages.mo locale/ar_EG.utf8/LC_MESSAGES/messages.po msgfmt -o locale/cs_CZ.utf8/LC_MESSAGES/messages.mo locale/cs_CZ.utf8/LC_MESSAGES/messages.po msgfmt -o locale/de_DE.utf8/LC_MESSAGES/messages.mo locale/de_DE.utf8/LC_MESSAGES/messages.po msgfmt -o locale/el_GR.utf8/LC_MESSAGES/messages.mo locale/el_GR.utf8/LC_MESSAGES/messages.po Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-03-08 10:02:55 UTC (rev 5061) +++ trunk/doc/Change.log 2012-03-11 09:13:20 UTC (rev 5062) @@ -1,5 +1,7 @@ webERP Change Log +11/3/12 Dr. Magdy Salib - ar_EG.utf8 arabic translation started +11/3/12 James Dupin: French language translation update 8/3/12 Ricard: Added parameter for show stock image on select product screen - SelectProduct.php and SystemParameters.php 7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustmentsControlled.php. Reported by Soujiro 7/3/2012 Exson: Fixed that serialised items cannot be processed in StockAdjustments.php. Reported by Soujiro Modified: trunk/includes/LanguagesArray.php =================================================================== --- trunk/includes/LanguagesArray.php 2012-03-08 10:02:55 UTC (rev 5061) +++ trunk/includes/LanguagesArray.php 2012-03-11 09:13:20 UTC (rev 5062) @@ -16,6 +16,11 @@ $LanguagesArray['en_IN.utf8']['DecimalPoint'] = '.'; $LanguagesArray['en_IN.utf8']['ThousandsSeparator'] = ','; +$LanguagesArray['ar_EG.utf8']['LanguageName'] = _('Arabic Eygptian'); +$LanguagesArray['ar_EG.utf8']['WindowsLocale'] = 'arabic'; +$LanguagesArray['ar_EG.utf8']['DecimalPoint'] = ','; +$LanguagesArray['ar_EG.utf8']['ThousandsSeparator'] = ' '; + $LanguagesArray['cz_CZ.utf8']['LanguageName'] = _('Czech'); $LanguagesArray['cz_CZ.utf8']['WindowsLocale'] = 'czech'; $LanguagesArray['cz_CZ.utf8']['DecimalPoint'] = ','; Added: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Property changes on: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po (rev 0) +++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2012-03-11 09:13:20 UTC (rev 5062) @@ -0,0 +1,35293 @@ +# Arabic translation for web-erp +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the web-erp package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: web-erp\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2011-01-04 22:15+1200\n" +"PO-Revision-Date: 2012-01-26 10:26+0000\n" +"Last-Translator: JC_Chuck <Unknown>\n" +"Language-Team: Arabic <ar...@li...>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-03-07 23:01+0000\n" +"X-Generator: Launchpad (build 14907)\n" + +#: AccountGroups.php:9 index.php:1273 +msgid "Account Groups" +msgstr "مجموعات العضوية" + +#: AccountGroups.php:19 +msgid "" +"An error occurred in retrieving the account groups of the parent account " +"group during the check for recursion" +msgstr "" +"لقد حدث خطأ فى استرجاع بيانات مجموعات العضو الخاصة باعضوية الأب اثناء " +"االتحقق من وجود استدعاء ذاتي" + +#: AccountGroups.php:20 +msgid "" +"The SQL that was used to retrieve the account groups of the parent account " +"group and that failed in the process was" +msgstr "" + +#: AccountGroups.php:57 AccountGroups.php:94 AccountGroups.php:177 +#: AccountGroups.php:187 +msgid "The SQL that was used to retrieve the information was" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: AccountGroups.php:58 +msgid "Could not check whether the group exists because" +msgstr "لم يتم التحقق من وجود المجموعة بسبب" + +#: AccountGroups.php:65 +msgid "The account group name already exists in the database" +msgstr "اسم المجموعة موجود مسبقاً" + +#: AccountGroups.php:71 +msgid "The account group name cannot contain the character" +msgstr "لا يمكن وضع هذا الحرف في اسم المجموعة" + +#: AccountGroups.php:71 AccountSections.php:75 PaymentMethods.php:41 +#: TaxCategories.php:33 TaxProvinces.php:32 UnitsOfMeasure.php:32 +msgid "or the character" +msgstr "او الحرف" + +#: AccountGroups.php:77 +msgid "The account group name must be at least one character long" +msgstr "اسم المجموعة يجب ان يحتوي علي الأقل علي حرف واحد" + +#: AccountGroups.php:84 +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 "" + +#: AccountGroups.php:95 +msgid "Could not check whether the group is recursive because" +msgstr "لم أستطيع التخقق اذا كانت المجموعة ذاتيى الأسترجاع لأن" + +#: AccountGroups.php:107 +msgid "The section in accounts must be an integer" +msgstr "يجب ان يكون القسم فى الحساب عدد صحيح" + +#: AccountGroups.php:113 +msgid "The sequence in the trial balance must be an integer" +msgstr "التسلسل فى الحساب التجريبى يجب ان يكون عدد صحيح" + +#: AccountGroups.php:119 +msgid "The sequence in the TB must be numeric and less than" +msgstr "" + +#: AccountGroups.php:136 +msgid "An error occurred in updating the account group" +msgstr "حدث خطأ اثناء تحديث مجموعة العضو" + +#: AccountGroups.php:137 +msgid "The SQL that was used to update the account group was" +msgstr "" + +#: AccountGroups.php:139 AccountSections.php:106 PaymentMethods.php:91 +msgid "Record Updated" +msgstr "تم التحديث" + +#: AccountGroups.php:157 +msgid "An error occurred in inserting the account group" +msgstr "حدث خطأ ما اثناء اضافة المجموعة" + +#: AccountGroups.php:158 +msgid "The SQL that was used to insert the account group was" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: AccountGroups.php:159 AccountSections.php:118 PaymentMethods.php:113 +msgid "Record inserted" +msgstr "تمت الإضافة بنجاح" + +#: AccountGroups.php:176 +msgid "" +"An error occurred in retrieving the group information from chartmaster" +msgstr "" + +#: AccountGroups.php:181 +msgid "" +"Cannot delete this account group because general ledger accounts have been " +"created using this group" +msgstr "" + +#: AccountGroups.php:182 AccountGroups.php:192 AccountSections.php:139 +#: Areas.php:117 Areas.php:126 BankAccounts.php:163 CreditStatus.php:126 +#: Currencies.php:144 Currencies.php:152 Currencies.php:159 +#: CustomerBranches.php:296 CustomerBranches.php:306 CustomerBranches.php:316 +#: CustomerBranches.php:326 Customers.php:317 Customers.php:326 +#: Customers.php:334 Customers.php:342 CustomerTypes.php:149 +#: CustomerTypes.php:159 Factors.php:136 FixedAssetCategories.php:132 +#: GLAccounts.php:95 GLAccounts.php:109 Locations.php:247 Locations.php:255 +#: Locations.php:264 Locations.php:272 Locations.php:280 Locations.php:288 +#: Locations.php:296 Locations.php:304 MRPDemandTypes.php:89 +#: PaymentMethods.php:146 PaymentTerms.php:147 PaymentTerms.php:154 +#: PcExpenses.php:119 SalesCategories.php:127 SalesCategories.php:135 +#: SalesPeople.php:144 SalesPeople.php:151 SalesTypes.php:147 +#: SalesTypes.php:157 Shippers.php:82 Shippers.php:94 StockCategories.php:182 +#: Stocks.php:471 Stocks.php:480 Stocks.php:488 Stocks.php:496 Stocks.php:504 +#: Stocks.php:512 Suppliers.php:613 Suppliers.php:622 Suppliers.php:630 +#: SupplierTypes.php:147 TaxCategories.php:133 TaxGroups.php:128 +#: TaxGroups.php:135 TaxProvinces.php:127 UnitsOfMeasure.php:142 +#: UnitsOfMeasure.php:149 WorkCentres.php:90 WorkCentres.php:96 +#: WWW_Access.php:87 +msgid "There are" +msgstr "يوجد" + +#: AccountGroups.php:182 +msgid "general ledger accounts that refer to this account group" +msgstr "" + +#: AccountGroups.php:186 +msgid "An error occurred in retrieving the parent group information" +msgstr "" + +#: AccountGroups.php:191 +msgid "" +"Cannot delete this account group because it is a parent account group of " +"other account group(s)" +msgstr "" + +#: AccountGroups.php:192 +msgid "account groups that have this group as its/there parent account group" +msgstr "" + +#: AccountGroups.php:195 +msgid "An error occurred in deleting the account group" +msgstr "حدث خطأ ما اثناء حذف مجموعة الحسابات" + +#: AccountGroups.php:196 +msgid "The SQL that was used to delete the account group was" +msgstr "" + +#: AccountGroups.php:198 +msgid "group has been deleted" +msgstr "تم حذف المجموعة" + +#: AccountGroups.php:223 +msgid "The sql that was used to retrieve the account group information was " +msgstr "" + +#: AccountGroups.php:224 +msgid "Could not get account groups because" +msgstr "لم يتمكن الحصول على مجموات العضو لان" + +#: AccountGroups.php:226 AccountSections.php:177 AddCustomerContacts.php:25 +#: AddCustomerContacts.php:28 AddCustomerNotes.php:97 +#: AddCustomerTypeNotes.php:94 AgedDebtors.php:468 AgedSuppliers.php:277 +#: Areas.php:145 AuditTrail.php:13 BOMExtendedQty.php:286 BOMIndented.php:262 +#: BOMIndentedReverse.php:257 BOMInquiry.php:165 BOMListing.php:128 +#: BOMs.php:214 BOMs.php:793 COGSGLPostings.php:20 CompanyPreferences.php:158 +#: CounterSales.php:1940 CounterSales.php:2062 Credit_Invoice.php:257 +#: CreditStatus.php:21 Currencies.php:29 CustEDISetup.php:19 +#: DailyBankTransactions.php:9 DebtorsAtPeriodEnd.php:138 +#: DiscountCategories.php:12 DiscountCategories.php:122 DiscountMatrix.php:18 +#: EDIMessageFormat.php:106 FixedAssetList.php:8 FixedAssetLocations.php:9 +#: FixedAssetRegister.php:13 FixedAssetRegister.php:232 +#: FixedAssetTransfer.php:31 FormDesigner.php:132 GLBalanceSheet.php:351 +#: GLBudgets.php:30 GLJournal.php:243 InventoryPlanning.php:369 +#: InventoryPlanningPrefSupplier.php:474 Labels.php:117 Labels.php:273 +#: MRPReport.php:536 OutstandingGRNs.php:174 PcAssignCashToTab.php:39 +#: PcAssignCashToTab.php:113 PcAssignCashToTab.php:129 +#: PcAssignCashToTab.php:165 PDFPickingList.php:30 PDFPrintLabel.php:132 +#: PDFStockLocTransfer.php:21 PO_AuthorisationLevels.php:12 POReport.php:61 +#: POReport.php:65 POReport.php:69 PO_SelectOSPurchOrder.php:136 +#: PricesBasedOnMarkUp.php:11 Prices_Customer.php:45 Prices.php:32 +#: PurchData.php:141 PurchData.php:231 PurchData.php:250 +#: RecurringSalesOrders.php:307 SalesAnalReptCols.php:51 SalesAnalRepts.php:13 +#: SalesCategories.php:13 SalesGLPostings.php:18 SalesGraph.php:34 +#: SalesPeople.php:22 SalesTypes.php:22 SelectAsset.php:44 +#: SelectCompletedOrder.php:13 SelectContract.php:81 SelectCreditItems.php:204 +#: SelectCreditItems.php:272 SelectCustomer.php:315 SelectGLAccount.php:19 +#: SelectGLAccount.php:79 SelectOrderItems.php:605 SelectOrderItems.php:1436 +#: SelectOrderItems.php:1556 SelectProduct.php:456 SelectSalesOrder.php:155 +#: SelectSupplier.php:9 SelectSupplier.php:198 SelectWorkOrder.php:11 +#: SelectWorkOrder.php:147 ShipmentCosting.php:13 Shipments.php:18 +#: Shippers.php:123 Shippers.php:159 Shipt_Select.php:10 +#: StockLocMovements.php:15 StockLocStatus.php:27 Suppliers.php:306 +#: SupplierTenders.php:261 SupplierTenders.php:318 SupplierTransInquiry.php:11 +#: TaxGroups.php:16 TaxProvinces.php:12 TopItems.php:60 +#: WhereUsedInquiry.php:18 WorkCentres.php:111 WorkCentres.php:158 +#: WorkOrderCosting.php:14 WorkOrderEntry.php:12 WorkOrderIssue.php:22 +#: WorkOrderReceive.php:15 WorkOrderStatus.php:43 WWW_Access.php:13 +#: WWW_Users.php:38 Z_BottomUpCosts.php:51 +msgid "Search" +msgstr "إبحث" + +#: AccountGroups.php:230 +msgid "Group Name" +msgstr "إسم المجموعة" + +#: AccountGroups.php:231 EDIMessageFormat.php:131 +msgid "Section" +msgstr "قسم" + +#: AccountGroups.php:232 AccountGroups.php:396 +msgid "Sequence In TB" +msgstr "" + +#: AccountGroups.php:233 AccountGroups.php:380 GLProfit_Loss.php:8 +#: GLProfit_Loss.php:105 GLProfit_Loss.php:106 GLProfit_Loss.php:157 +#: SelectGLAccount.php:45 SelectGLAccount.php:59 +msgid "Profit and Loss" +msgstr "" + +#: AccountGroups.php:234 AccountGroups.php:341 +msgid "Parent Group" +msgstr "" + +#: AccountGroups.php:250 AccountGroups.php:253 AccountGroups.php:384 +#: AccountGroups.php:386 BankAccounts.php:217 BankAccounts.php:361 +#: BankAccounts.php:363 BankAccounts.php:367 BOMs.php:128 BOMs.php:713 +#: BOMs.php:715 CompanyPreferences.php:439 CompanyPreferences.php:441 +#: CompanyPreferences.php:451 CompanyPreferences.php:453 +#: CompanyPreferences.php:463 CompanyPreferences.php:465 +#: ContractCosting.php:174 CustLoginSetup.php:590 CustLoginSetup.php:592 +#: CustomerBranches.php:420 Customers.php:600 Customers.php:857 +#: Customers.php:864 Customers.php:867 DeliveryDetails.php:1034 +#: DeliveryDetails.php:1074 DeliveryDetails.php:1077 GLTransInquiry.php:73 +#: Locations.php:373 MRPCalendar.php:222 MRP.php:530 MRP.php:534 MRP.php:538 +#: MRP.php:542 PaymentMethods.php:203 PaymentMethods.php:204 +#: PaymentMethods.php:264 PaymentMethods.php:270 PDFChequeListing.php:63 +#: PDFDeliveryDifferences.php:64 PDFDIFOT.php:67 +#: PO_AuthorisationLevels.php:132 PO_AuthorisationLevels.php:137 +#: PO_Header.php:758 PO_PDFPurchOrder.php:367 PO_PDFPurchOrder.php:370 +#: PurchData.php:189 PurchData.php:469 PurchData.php:472 +#: RecurringSalesOrders.php:479 RecurringSalesOrders.php:482 +#: SalesAnalReptCols.php:279 SalesAnalReptCols.php:401 +#: SalesAnalReptCols.php:404 SalesAnalRepts.php:406 SalesAnalRepts.php:409 +#: SalesAnalRepts.php:432 SalesAnalRepts.php:435 SalesAnalRepts.php:458 +#: SalesAnalRepts.php:461 SelectProduct.php:351 ShipmentCosting.php:622 +#: Stocks.php:867 Stocks.php:869 Stocks.php:887 Stocks.php:889 +#: SuppContractChgs.php:83 SuppLoginSetup.php:511 SuppLoginSetup.php:513 +#: SystemParameters.php:373 SystemParameters.php:405 SystemParameters.php:450 +#: SystemParameters.php:468 SystemParameters.php:476 SystemParameters.php:516 +#: SystemParameters.php:589 SystemParameters.php:597 SystemParameters.php:615 +#: SystemParameters.php:622 SystemParameters.php:746 SystemParameters.php:877 +#: SystemParameters.php:879 SystemParameters.php:889 SystemParameters.php:891 +#: SystemParameters.php:945 SystemParameters.php:957 SystemParameters.php:959 +#: TaxGroups.php:292 TaxGroups.php:295 TaxGroups.php:344 WWW_Users.php:610 +#: WWW_Users.php:612 +msgid "Yes" +msgstr "موافق" + +#: AccountGroups.php:256 AccountGroups.php:389 AccountGroups.php:391 +#: BankAccounts.php:215 BankAccounts.php:361 BankAccounts.php:363 +#: BankAccounts.php:367 BOMs.php:130 BOMs.php:712 BOMs.php:716 +#: CompanyPreferences.php:438 CompanyPreferences.php:442 +#: CompanyPreferences.php:450 CompanyPreferences.php:454 +#: CompanyPreferences.php:462 CompanyPreferences.php:466 +#: ContractCosting.php:172 CustLoginSetup.php:589 CustLoginSetup.php:593 +#: CustomerBranches.php:420 Customers.php:599 Customers.php:855 +#: Customers.php:863 Customers.php:866 DeliveryDetails.php:1035 +#: DeliveryDetails.php:1075 DeliveryDetails.php:1078 GLTransInquiry.php:127 +#: Locations.php:375 MRPCalendar.php:224 MRP.php:528 MRP.php:532 MRP.php:536 +#: MRP.php:540 PaymentMethods.php:203 PaymentMethods.php:204 +#: PaymentMethods.php:265 PaymentMethods.php:271 PDFChequeListing.php:62 +#: PDFDeliveryDifferences.php:63 PDFDIFOT.php:66 +#: PO_AuthorisationLevels.php:134 PO_AuthorisationLevels.php:139 +#: PO_Header.php:757 PO_PDFPurchOrder.php:368 PO_PDFPurchOrder.php:371 +#: PurchData.php:192 PurchData.php:470 PurchData.php:473 +#: RecurringSalesOrders.php:478 RecurringSalesOrders.php:481 +#: SalesAnalReptCols.php:277 SalesAnalReptCols.php:402 +#: SalesAnalReptCols.php:405 SalesAnalRepts.php:405 SalesAnalRepts.php:408 +#: SalesAnalRepts.php:431 SalesAnalRepts.php:434 SalesAnalRepts.php:457 +#: SalesAnalRepts.php:460 SelectProduct.php:353 ShipmentCosting.php:623 +#: Stocks.php:862 Stocks.php:864 Stocks.php:882 Stocks.php:884 +#: SuppContractChgs.php:85 SuppLoginSetup.php:510 SuppLoginSetup.php:514 +#: SystemParameters.php:374 SystemParameters.php:406 SystemParameters.php:451 +#: SystemParameters.php:469 SystemParameters.php:477 SystemParameters.php:517 +#: SystemParameters.php:590 SystemParameters.php:598 SystemParameters.php:616 +#: SystemParameters.php:623 SystemParameters.php:747 SystemParameters.php:876 +#: SystemParameters.php:880 SystemParameters.php:888 SystemParameters.php:892 +#: SystemParameters.php:946 SystemParameters.php:956 SystemParameters.php:960 +#: TaxGroups.php:293 TaxGroups.php:296 TaxGroups.php:346 WWW_Users.php:609 +#: WWW_Users.php:613 includes/PDFLowGPPageHeader.inc:44 +#: includes/PDFTaxPageHeader.inc:35 +msgid "No" +msgstr "ﻻ" + +#: AccountGroups.php:265 AccountSections.php:197 AddCustomerContacts.php:131 +#: AddCustomerNotes.php:125 AddCustomerTypeNotes.php:123 Areas.php:165 +#: BankAccounts.php:226 BOMs.php:150 COGSGLPostings.php:113 +#: COGSGLPostings.php:218 CreditStatus.php:175 Currencies.php:239 +#: CustLoginSetup.php:312 CustomerBranches.php:424 Customers.php:909 +#: Customers.php:941 CustomerTypes.php:205 EDIMessageFormat.php:152 +#: Factors.php:208 FixedAssetCategories.php:182 FixedAssetLocations.php:102 +#: FreightCosts.php:243 GeocodeSetup.php:169 GLAccounts.php:319 GLTags.php:62 +#: Labels.php:414 Locations.php:382 MRPDemands.php:304 MRPDemandTypes.php:122 +#: PaymentMethods.php:205 PaymentTerms.php:203 PcAssignCashToTab.php:251 +#: PcClaimExpensesFromTab.php:229 PcExpenses.php:176 PcTabs.php:188 +#: PcTypeTabs.php:171 PO_AuthorisationLevels.php:148 Prices_Customer.php:283 +#: Prices.php:227 PurchData.php:202 SalesCategories.php:263 +#: SalesGLPostings.php:135 SalesGLPostings.php:247 SalesPeople.php:210 +#: SalesTypes.php:206 SelectCustomer.php:607 SelectCustomer.php:623 +#: SelectCustomer.php:645 SelectCustomer.php:661 SelectCustomer.php:683 +#: SelectCustomer.php:699 Shippers.php:144 StockCategories.php:244 +#: SupplierContacts.php:156 SupplierTypes.php:192 SuppLoginSetup.php:274 +#: TaxAuthorities.php:173 TaxCategories.php:184 TaxGroups.php:179 +#: TaxProvinces.php:178 UnitsOfMeasure.php:201 WorkCentres.php:138 +#: WWW_Access.php:127 WWW_Users.php:312 includes/InputSerialItems.php:88 +#, php-format +msgid "Edit" +msgstr "تحرير" + +#: AccountGroups.php:266 AccountSections.php:201 AddCustomerContacts.php:132 +#: AddCustomerNotes.php:126 AddCustomerTypeNotes.php:124 Areas.php:166 +#: BankAccounts.php:227 BOMs.php:152 COGSGLPostings.php:114 +#: COGSGLPostings.php:219 ContractBOM.php:272 ContractOtherReqts.php:121 +#: CounterSales.php:741 Credit_Invoice.php:386 CreditStatus.php:176 +#: Currencies.php:242 CustLoginSetup.php:313 CustomerReceipt.php:866 +#: Customers.php:942 CustomerTypes.php:206 DiscountCategories.php:204 +#: DiscountMatrix.php:178 EDIMessageFormat.php:153 +#: FixedAssetCategories.php:183 FreightCosts.php:244 GeocodeSetup.php:170 +#: GLAccounts.php:320 GLJournal.php:403 Labels.php:414 Locations.php:383 +#: MRPDemands.php:305 MRPDemandTypes.php:123 PaymentMethods.php:206 +#: Payments.php:961 PaymentTerms.php:204 PcAssignCashToTab.php:255 +#: PcClaimExpensesFromTab.php:230 PcExpenses.php:177 PcExpensesTypeTab.php:161 +#: PcTabs.php:189 PcTypeTabs.php:172 PO_AuthorisationLevels.php:150 +#: PO_Items.php:976 Prices_Customer.php:284 Prices.php:228 PurchData.php:203 +#: SalesAnalReptCols.php:294 SalesAnalRepts.php:305 SalesCategories.php:264 +#: SalesGLPostings.php:136 SalesGLPostings.php:248 SalesPeople.php:211 +#: SalesTypes.php:207 SelectCreditItems.php:747 SelectCustomer.php:608 +#: SelectCustomer.php:624 SelectCustomer.php:646 SelectCustomer.php:662 +#: SelectCustomer.php:684 SelectCustomer.php:700 SelectOrderItems.php:1363 +#: Shipments.php:424 Shippers.php:145 SpecialOrder.php:590 +#: StockCategories.php:245 StockCategories.php:539 SuppContractChgs.php:91 +#: SuppCreditGRNs.php:93 SuppFixedAssetChgs.php:87 SuppInvGRNs.php:135 +#: SupplierContacts.php:157 SupplierTypes.php:194 SuppLoginSetup.php:275 +#: SuppShiptChgs.php:86 SuppTransGLAnalysis.php:111 TaxAuthorities.php:174 +#: TaxCategories.php:185 TaxGroups.php:180 TaxProvinces.php:179 +#: UnitsOfMeasure.php:202 WorkCentres.php:139 WOSerialNos.php:300 +#: WWW_Access.php:128 WWW_Users.php:313 includes/InputSerialItemsKeyed.php:54 +#, php-format +msgid "Delete" +msgstr "حذف" + +#: AccountGroups.php:274 +msgid "Review Account Groups" +msgstr "" + +#: AccountGroups.php:294 +msgid "An error occurred in retrieving the account group information" +msgstr "" + +#: AccountGroups.php:295 +msgid "" +"The SQL that was used to retrieve the account group and that failed in the " +"process was" +msgstr "" + +#: AccountGroups.php:298 +msgid "The account group name does not exist in the database" +msgstr "" + +#: AccountGroups.php:314 GLAccounts.php:250 GLAccounts.php:299 +#: Z_ImportGLAccountGroups.php:28 +msgid "Account Group" +msgstr "" + +#: AccountGroups.php:338 +msgid "Account Group Name" +msgstr "" + +#: AccountGroups.php:348 AccountGroups.php:350 +msgid "Top Level Group" +msgstr "" + +#: AccountGroups.php:364 +msgid "Section In Accounts" +msgstr "" + +#: AccountGroups.php:401 AccountSections.php:262 AddCustomerContacts.php:208 +#: AddCustomerNotes.php:201 AddCustomerTypeNotes.php:192 Areas.php:222 +#: BankAccounts.php:373 BOMs.php:725 COGSGLPostings.php:347 +#: CreditStatus.php:247 Currencies.php:339 CustLoginSetup.php:611 +#: DiscountMatrix.php:141 EDIMessageFormat.php:249 +#: FixedAssetCategories.php:328 FixedAssetLocations.php:148 +#: FreightCosts.php:342 GeocodeSetup.php:266 GLAccounts.php:269 +#: Locations.php:553 MRPDemands.php:402 MRPDemandTypes.php:182 +#: OffersReceived.php:52 OffersReceived.php:128 PaymentMethods.php:276 +#: PaymentTerms.php:282 PO_AuthorisationLevels.php:217 Prices_Customer.php:372 +#: SalesAnalReptCols.php:510 SalesAnalRepts.php:496 SalesGLPostings.php:415 +#: SalesPeople.php:302 Shippers.php:196 StockCategories.php:561 +#: SupplierContacts.php:251 SuppLoginSetup.php:532 TaxAuthorities.php:313 +#: TaxCategories.php:235 TaxProvinces.php:229 UnitsOfMeasure.php:253 +#: WorkCentres.php:261 WWW_Users.php:643 +msgid "Enter Information" +msgstr "أدخل المعلومات" + +#: AccountSections.php:9 index.php:1278 +msgid "Account Sections" +msgstr "أعدادات العضو" + +#: AccountSections.php:68 +msgid "The account section already exists in the database" +msgstr "قسم العضو موجود مسبقا فى قاعدة البيانات" + +#: AccountSections.php:75 +msgid "The account section name cannot contain the character" +msgstr "لا يمكن ان يحتوى اسم العضوية على الحرف" + +#: AccountSections.php:81 +msgid "The account section name must contain at least one character" +msgstr "يجب ان يحتوى اسم العضو على الاقل حرف واحد" + +#: AccountSections.php:87 AccountSections.php:93 +msgid "The section number must be an integer" +msgstr "قسم الرقم يجب ان يكون عدد صحيح" + +#: AccountSections.php:138 +msgid "" +"Cannot delete this account section because general ledger accounts groups " +"have been created using this section" +msgstr "" + +#: AccountSections.php:139 +msgid "general ledger accounts groups that refer to this account section" +msgstr "" + +#: AccountSections.php:150 +msgid "section has been deleted" +msgstr "" + +#: AccountSections.php:175 +msgid "Could not get account group sections because" +msgstr "" + +#: AccountSections.php:181 AccountSections.php:238 AccountSections.php:255 +msgid "Section Number" +msgstr "رقم القطاع" + +#: AccountSections.php:182 AccountSections.php:258 +msgid "Section Description" +msgstr "وصف القطاع" + +#: AccountSections.php:199 +msgid "Restricted" +msgstr "محظور" + +#: AccountSections.php:210 +msgid "Review Account Sections" +msgstr "راجع أعدادات العضوية" + +#: AccountSections.php:228 +msgid "Could not retrieve the requested section please try again." +msgstr "لم أستطيع استرجاع القطاع المطلوب حاول مجددا" + +#: AddCustomerContacts.php:6 AddCustomerContacts.php:59 SelectCustomer.php:601 +#: SelectCustomer.php:630 +msgid "Customer Contacts" +msgstr "" + +#: AddCustomerContacts.php:20 CustEDISetup.php:11 CustLoginSetup.php:24 +#: Z_CheckDebtorsControl.php:21 +msgid "Back to Customers" +msgstr "العودة الى العملاء" + +#: AddCustomerContacts.php:26 +msgid "Contacts for Customer: <b>" +msgstr "" + +#: AddCustomerContacts.php:29 +msgid "Edit contact for <b>" +msgstr "" + +#: AddCustomerContacts.php:41 +msgid "The Contact must be an integer." +msgstr "" + +#: AddCustomerContacts.php:44 +msgid "The contact's name must be forty characters or less long" +msgstr "" + +#: AddCustomerContacts.php:47 +msgid "The contact's name may not be empty" +msgstr "" + +#: AddCustomerContacts.php:59 AddCustomerNotes.php:49 +#: AddCustomerTypeNotes.php:49 Areas.php:74 CustomerTypes.php:71 +#: DeliveryDetails.php:748 Factors.php:117 FixedAssetItems.php:230 +#: PcAssignCashToTab.php:73 PcClaimExpensesFromTab.php:61 PcExpenses.php:60 +#: PcTabs.php:60 PcTypeTabs.php:59 PO_Items.php:381 SalesAnalReptCols.php:129 +#: SalesPeople.php:94 SalesTypes.php:63 Stocks.php:355 Suppliers.php:514 +#: SupplierTypes.php:69 +msgid "has been updated" +msgstr "" + +#: AddCustomerContacts.php:70 +msgid "The contact record has been added" +msgstr "" + +#: AddCustomerContacts.php:98 +msgid "The contact record has been deleted" +msgstr "" + +#: AddCustomerContacts.php:112 CompanyPreferences.php:229 +#: CustomerBranches.php:377 Customers.php:899 Customers.php:905 +#: Customers.php:971 SalesPeople.php:185 SelectCustomer.php:603 +#: StockDispatch.php:186 StockDispatch.php:198 SupplierContacts.php:144 +#: SupplierCredit.php:433 SupplierInvoice.php:407 SuppTransGLAnalysis.php:96 +#: includes/InputSerialItemsFile.php:84 includes/InputSerialItemsFile.php:124 +#: includes/PDFTaxPageHeader.inc:37 +msgid "Name" +msgstr "" + +#: AddCustomerContacts.php:113 AddCustomerContacts.php:190 Customers.php:900 +#: Customers.php:906 Customers.php:972 SelectCustomer.php:604 +#: WWW_Access.php:111 WWW_Access.php:172 +msgid "Role" +msgstr "" + +#: AddCustomerContacts.php:114 Customers.php:973 +msgid "Phone no" +msgstr "" + +#: AddCustomerContacts.php:115 AddCustomerContacts.php:202 Customers.php:902 +#: Customers.php:908 Customers.php:974 PcAssignCashToTab.php:216 +#: PcAssignCashToTab.php:341 PcAuthorizeExpenses.php:85 +#: PcClaimExpensesFromTab.php:195 PcClaimExpensesFromTab.php:348 +#: PcReportTab.php:348 SelectCustomer.php:606 SystemParameters.php:313 +#: WOSerialNos.php:277 WOSerialNos.php:279 +msgid "Notes" +msgstr "" + +#: AddCustomerContacts.php:149 +msgid "Review all contacts for this Customer" +msgstr "" + +#: AddCustomerContacts.php:179 +msgid "Contact Code" +msgstr "" + +#: AddCustomerContacts.php:184 Factors.php:279 SupplierContacts.php:219 +msgid "Contact Name" +msgstr "" + +#: AddCustomerContacts.php:196 Contracts.php:766 PDFRemittanceAdvice.php:247 +#: PO_Header.php:958 PO_Header.php:1028 SelectCreditItems.php:225 +#: SelectCustomer.php:461 SelectOrderItems.php:638 +#: includes/PDFStatementPageHeader.inc:63 includes/PDFTransPageHeader.inc:113 +#: includes/PDFTransPageHeaderPortrait.inc:105 +msgid "Phone" +msgstr "" + +#: AddCustomerNotes.php:6 AddCustomerNotes.php:49 SelectCustomer.php:638 +#: SelectCustomer.php:668 +msgid "Customer Notes" +msgstr "" + +#: AddCustomerNotes.php:20 AddCustomerTypeNotes.php:20 +msgid "Back to Select Customer" +msgstr "" + +#: AddCustomerNotes.php:31 +msgid "The contact priority must be an integer." +msgstr "" + +#: AddCustomerNotes.php:34 AddCustomerTypeNotes.php:34 +msgid "The contact's notes must be two hundred characters or less long" +msgstr "" + +#: AddCustomerNotes.php:37 AddCustomerTypeNotes.php:37 +msgid "The contact's notes may not be empty" +msgstr "" + +#: AddCustomerNotes.php:60 +msgid "The contact notes record has been added" +msgstr "" + +#: AddCustomerNotes.php:87 +msgid "The contact note record has been deleted" +msgstr "" + +#: AddCustomerNotes.php:98 +msgid "Notes for Customer" +msgstr "" + +#: AddCustomerNotes.php:106 AddCustomerNotes.php:189 +#: AddCustomerTypeNotes.php:104 AddCustomerTypeNotes.php:186 +#: BankMatching.php:223 BankReconciliation.php:184 BankReconciliation.php:256 +#: ContractCosting.php:149 CustomerAllocations.php:332 +#: CustomerAllocations.php:358 CustomerInquiry.php:191 +#: CustomerTransInquiry.php:87 GLAccountInquiry.php:154 +#: GLAccountReport.php:369 GLTransInquiry.php:45 MRPCalendar.php:217 +#: PaymentAllocations.php:77 PcAssignCashToTab.php:212 +#: PcAuthorizeExpenses.php:81 PDFRemittanceAdvice.php:308 +#: PrintCustTrans.php:678 PrintCustTransPortrait.php:860 ReverseGRN.php:378 +#: ShipmentCosting.php:503 ShipmentCosting.php:574 Shipments.php:467 +#: StockDispatch.php:188 StockDispatch.php:200 StockLocMovements.php:85 +#: StockMovements.php:98 StockSerialItemResearch.php:79 +#: SupplierAllocations.php:464 SupplierAllocations.php:576 +#: SupplierAllocations.php:646 SupplierInquiry.php:195 +#: SupplierTransInquiry.php:89 includes/PDFQuotationPageHeader.inc:91 +#: includes/PDFStatementPageHeader.inc:169 includes/PDFTaxPageHeader.inc:36 +#: includes/PDFTransPageHeader.inc:80 +#: includes/PDFTransPageHeaderPortrait.inc:58 +msgid "Date" +msgstr "" + +#: AddCustomerNotes.php:107 AddCustomerTypeNotes.php:105 PcReportTab.php:176 +#: Stocks.php:871 UpgradeDatabase.php:145 UpgradeDatabase.php:148 +#: UpgradeDatabase.php:151 UpgradeDatabase.php:154 UpgradeDatabase.php:157 +#: UpgradeDatabase.php:160 UpgradeDatabase.php:163 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 "" + +#: AddCustomerNotes.php:108 AddCustomerNotes.php:183 +msgid "WWW" +msgstr "" + +#: AddCustomerNotes.php:109 AddCustomerNotes.php:195 +#: AddCustomerTypeNotes.php:107 AddCustomerTypeNotes.php:189 +msgid "Priority" +msgstr "" + +#: AddCustomerNotes.php:143 +msgid "Review all notes for this Customer" +msgstr "" + +#: AddCustomerNotes.php:172 AddCustomerTypeNotes.php:171 +msgid "Note ID" +msgstr "" + +#: AddCustomerNotes.php:177 +msgid "Contact Note" +msgstr "" + +#: AddCustomerTypeNotes.php:6 SelectCustomer.php:676 +msgid "Customer Type (Group) Notes" +msgstr "" + +#: AddCustomerTypeNotes.php:31 +msgid "The Contact priority must be an integer." +msgstr "" + +#: AddCustomerTypeNotes.php:49 SelectCustomer.php:706 +msgid "Customer Group Notes" +msgstr "" + +#: AddCustomerTypeNotes.php:60 +msgid "The contact group notes record has been added" +msgstr "" + +#: AddCustomerTypeNotes.php:84 +msgid "The contact group note record has been deleted" +msgstr "" + +#: AddCustomerTypeNotes.php:95 +msgid "Notes for Customer Type" +msgstr "" + +#: AddCustomerTypeNotes.php:106 +msgid "href" +msgstr "" + +#: AddCustomerTypeNotes.php:141 +msgid "Review all notes for this Customer Type" +msgstr "" + +#: AddCustomerTypeNotes.php:182 +msgid "Contact Group Note" +msgstr "" + +#: AddCustomerTypeNotes.php:184 +msgid "Web site" +msgstr "" + +#: AgedDebtors.php:17 +msgid "Aged Customer Balance Listing" +msgstr "" + +#: AgedDebtors.php:18 +msgid "Aged Customer Balances" +msgstr "" + +#: AgedDebtors.php:267 AgedDebtors.php:365 AgedDebtors.php:436 +msgid "Aged Customer Account Analysis" +msgstr "" + +#: AgedDebtors.php:267 AgedDebtors.php:365 AgedDebtors.php:436 +#: AgedSuppliers.php:105 BOMExtendedQty.php:156 BOMIndented.php:149 +#: BOMIndentedReverse.php:148 BOMListing.php:48 BOMListing.php:59 +#: DebtorsAtPeriodEnd.php:58 DebtorsAtPeriodEnd.php:70 GLBalanceSheet.php:90 +#: GLBalanceSheet.php:128 GLProfit_Loss.php:157 GLTagProfit_Loss.php:174 +#: GLTrialBalance.php:151 InventoryPlanning.php:99 InventoryPlanning.php:174 +#: InventoryPlanning.php:209 InventoryPlanning.php:252 +#: InventoryPlanning.php:290 InventoryPlanningPrefSupplier.php:208 +#: InventoryPlanningPrefSupplier.php:276 InventoryPlanningPrefSupplier.php:310 +#: InventoryPlanningPrefSupplier.php:353 InventoryPlanningPrefSupplier.php:401 +#: InventoryQuantities.php:83 InventoryValuation.php:76 +#: MailInventoryValuation.php:115 MRPPlannedPurchaseOrders.php:111 +#: MRPPlannedWorkOrders.php:105 MRPReport.php:147 MRPReport.php:529 +#: MRPReschedules.php:46 MRPReschedules.php:58 MRPShortages.php:137 +#: MRPShortages.php:149 OutstandingGRNs.php:51 OutstandingGRNs.php:63 +#: PDFCustomerList.php:20 PDFCustomerList.php:232 PDFCustomerList.php:244 +#: PDFLowGP.php:23 PDFStockCheckComparison.php:35 +#: PDFStockCheckComparison.php:61 PDFStockCheckComparison.php:262 +#: ReorderLevel.php:59 SelectAsset.php:36 SelectProduct.php:37 +#: StockCheck.php:65 StockCheck.php:139 SupplierTenders.php:325 +#: SuppPriceList.php:118 includes/PDFPaymentRun_PymtFooter.php:148 +msgid "Problem Report" +msgstr "" + +#: AgedDebtors.php:269 CustomerInquiry.php:87 CustomerInquiry.php:108 +#: DebtorsAtPeriodEnd.php:60 +msgid "The customer details could not be retrieved by the SQL because" +msgstr "" + +#: AgedDebtors.php:270 AgedDebtors.php:368 AgedDebtors.php:442 +#: AgedSuppliers.php:108 AgedSuppliers.php:190 BOMExtendedQty.php:159 +#: BOMExtendedQty.php:263 BOMIndented.php:152 BOMIndented.php:238 +#: BOMIndentedReverse.php:151 BOMIndentedReverse.php:235 BOMListing.php:51 +#: Credit_Invoice.php:186 DebtorsAtPeriodEnd.php:61 DebtorsAtPeriodEnd.php:73 +#: FTP_RadioBeacon.php:188 GetStockImage.php:154 GLBalanceSheet.php:93 +#: GLBalanceSheet.php:131 GLBalanceSheet.php:294 GLProfit_Loss.php:160 +#: GLProfit_Loss.php:172 GLTagProfit_Loss.php:177 GLTagProfit_Loss.php:189 +#: GLTrialBalance.php:154 GLTrialBalance.php:166 InventoryPlanning.php:102 +#: InventoryPlanning.php:177 InventoryPlanning.php:212 +#: InventoryPlanning.php:255 InventoryPlanning.php:293 +#: InventoryPlanning.php:356 InventoryPlanningPrefSupplier.php:211 +#: InventoryPlanningPrefSupplier.php:279 InventoryPlanningPrefSupplier.php:313 +#: InventoryPlanningPrefSupplier.php:356 InventoryPlanningPrefSupplier.php:404 +#: InventoryPlanningPrefSupplier.php:460 InventoryQuantities.php:86 +#: InventoryQuantities.php:97 InventoryValuation.php:79 +#: InventoryValuation.php:90 MailInventoryValuation.php:118 +#: MailInventoryValuation.php:214 MRPPlannedPurchaseOrders.php:114 +#: MRPPlannedPurchaseOrders.php:125 MRPPlannedWorkOrders.php:108 +#: MRPPlannedWorkOrders.php:119 MRPPlannedWorkOrders.php:318 MRPReport.php:41 +#: MRPReport.php:52 MRPReport.php:150 MRPReschedules.php:49 +#: MRPReschedules.php:61 MRPShortages.php:140 MRPShortages.php:152 +#: OutstandingGRNs.php:54 OutstandingGRNs.php:66 PcReportTab.php:236 +#: PDFCustomerList.php:235 PDFCustomerList.php:247 PDFGrn.php:147 +#: PDFLowGP.php:63 PDFLowGP.php:75 PDFPriceList.php:124 PDFQuotation.php:237 +#: PDFRemittanceAdvice.php:84 PDFStockCheckComparison.php:39 +#: PDFStockCheckComparison.php:65 PDFStockCheckComparison.php:266 +#: PDFTopItems.php:123 PO_PDFPurchOrder.php:21 PO_PDFPurchOrder.php:131 +#: PrintCustOrder_generic.php:182 PrintCustOrder.php:198 +#: PrintSalesOrder_generic.php:183 ReorderLevel.php:62 ReorderLevel.php:151 +#: SalesAnalysis_UserDefined.php:28 SelectCreditItems.php:25 StockCheck.php:47 +#: StockCheck.php:68 StockCheck.php:98 StockCheck.php:142 StockCheck.php:153 +#: StockCheck.php:194 StockDispatch.php:93 StockDispatch.php:105 +#: SupplierBalsAtPeriodEnd.php:57 SupplierBalsAtPeriodEnd.php:68 +#: SuppPaymentRun.php:109 SuppPaymentRun.php:120 SuppPaymentRun.php:184 +#: SuppPaymentRun.php:214 SuppPriceList.php:121 Tax.php:64 Tax.php:177 +#: Tax.php:286 Z_DataExport.php:73 Z_DataExport.php:169 Z_DataExport.php:260 +#: Z_DataExport.php:309 Z_DataExport.php:348 Z_DataExport.php:384 +#: Z_DataExport.php:420 Z_DataExport.php:472 Z_poRebuildDefault.php:38 +#: includes/PDFPaymentRun_PymtFooter.php:57 +#: includes/PDFPaymentRun_PymtFooter.php:86 +#: includes/PDFPaymentRun_PymtFooter.php:115 +#: includes/PDFPaymentRun_PymtFooter.php:151 +#: includes/PDFPaymentRun_PymtFooter.php:182 +#: includes/PDFPaymentRun_PymtFooter.php:214 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:180 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:188 +#: includes/ConstructSQLForUserDefinedSalesReport.inc:340 +msgid "Back to the menu" +msgstr "" + +#: AgedDebtors.php:367 +msgid "The details of outstanding transactions for customer" +msgstr "" + +#: AgedDebtors.php:367 AgedSuppliers.php:189 GLAccountCSV.php:169 +#: GLAccountInquiry.php:145 GLAccountReport.php:93 PO_Items.php:532 +#: PO_Items.php:562 PO_Items.php:640 PO_Items.php:803 +#: SalesAnalReptCols.php:356 SpecialOrder.php:369 +#: StockLocTransferReceive.php:373 StockQuantityByDate.php:106 +#: includes/SelectOrderItems_IntoCart.inc:53 +msgid "could not be retrieved because" +msgstr "" + +#: AgedDebtors.php:370 AgedSuppliers.php:192 Areas.php:96 +#: ConfirmDispatch_Invoice.php:155 ConfirmDispatch_Invoice.php:962 +#: ConfirmDispatch_Invoice.php:976 Contracts.php:583 CounterSales.php:1280 +#: CounterSales.php:1294 Credit_Invoice.php:707 Credit_Invoice.php:729 +#: CustomerReceipt.php:526 CustomerReceipt.php:658 CustomerReceipt.php:686 +#: CustomerTransInquiry.php:79 DeliveryDetails.php:395 GLProfit_Loss.php:578 +#: GLTagProfit_Loss.php:490 Payments.php:307 PDFRemittanceAdvice.php:86 +#: PurchData.php:89 PurchData.php:108 PurchData.php:219 ReverseGRN.php:191 +#: ReverseGRN.php:205 ReverseGRN.php:366 SelectCreditItems.php:1383 +#: StockCheck.php:224 StockCostUpdate.php:79 StockCostUpdate.php:89 +#: StockLocStatus.php:142 StockMovements.php:92 StockQuantityByDate.php:82 +#: StockReorderLevel.php:39 StockStatus.php:271 StockTransfers.php:159 +#: StockUsageGraph.php:53 StockUsage.php:127 SupplierInquiry.php:79 +#: SupplierInquiry.php:101 SupplierInquiry.php:131 SupplierInquiry.php:177 +#: SupplierTransInquiry.php:81 SuppPaymentRun.php:111 SuppPaymentRun.php:186 +#: SuppPaymentRun.php:216 WorkOrderCosting.php:393 WorkOrderReceive.php:272 +#: WOSerialNos.php:44 Z_ChangeBranchCode.php:108 Z_ChangeCustomerCode.php:90 +#: Z_DeleteCreditNote.php:57 Z_DeleteInvoice.php:83 +#: includes/PDFPaymentRun_PymtFooter.php:59 +#: includes/PDFPaymentRun_PymtFooter.php:88 +#: includes/PDFPaymentRun_PymtFooter.php:117 +#: includes/PDFPaymentRun_PymtFooter.php:153 +#: includes/PDFPaymentRun_PymtFooter.php:184 includes/ConnectDB_mysqli.inc:83 +#: includes/ConnectDB_mysql.inc:65 +msgid "The SQL that failed was" +msgstr "" + +#: AgedDebtors.php:438 +msgid "There are no customers meeting the criteria specified to list" +msgstr "" + +#: AgedDebtors.php:464 +msgid "Aged Debtor Analysis" +msgstr "" + +#: AgedDebtors.php:477 DebtorsAtPeriodEnd.php:148 +msgid "From Customer Code" +msgstr "" + +#: AgedDebtors.php:478 DebtorsAtPeriodEnd.php:149 +msgid "To Customer Code" +msgstr "" + +#: AgedDebtors.php:480 AgedSuppliers.php:293 +msgid "All balances or overdues only" +msgstr "" + +#: AgedDebtors.php:481 +msgid "All customers with balances" +msgstr "" + +#: AgedDebtors.php:482 AgedSuppliers.php:296 +msgid "Overdue accounts only" +msgstr "" + +#: AgedDebtors.php:483 +msgid "Held accounts only" +msgstr "" + +#: AgedDebtors.php:486 +msgid "Only Show Customers Of" +msgstr "" + +#: AgedDebtors.php:498 +msgid "Only show customers trading in" +msgstr "" + +#: AgedDebtors.php:514 +msgid "Summary or detailed report" +msgstr "" + +#: AgedDebtors.php:516 AgedSuppliers.php:316 InventoryValuation.php:238 +msgid "Summary Report" +msgstr "" + +#: AgedDebtors.php:517 AgedSuppliers.php:317 InventoryValuation.php:239 +msgid "Detailed Report" +msgstr "" + +#: AgedDebtors.php:520 AgedSuppliers.php:320 BOMExtendedQty.php:300 +#: BOMIndented.php:278 BOMIndentedReverse.php:266 BOMListing.php:142 +#: DebtorsAtPeriodEnd.php:166 InventoryPlanning.php:437 +#: InventoryPlanningPrefSupplier.php:518 InventoryQuantities.php:188 +#: InventoryValuation.php:242 MRPPlannedPurchaseOrders.php:279 +#: MRPPlannedWorkOrders.php:344 MRPReschedules.php:166 MRPShortages.php:262 +#: OutstandingGRNs.php:185 PDFCustomerList.php:412 PDFLowGP.php:168 +#: PDFPriceList.php:301 PDFRemittanceAdvice.php:152 +#: PDFStockCheckComparison.php:379 PrintCustTrans.php:478 +#: PrintCustTransPortrait.php:630 ReorderLevel.php:229 StockDispatch.php:309 +#: SupplierBalsAtPeriodEnd.php:155 SuppPriceList.php:237 Tax.php:352 +msgid "Print PDF" +msgstr "" + +#: AgedSuppliers.php:18 +msgid "Aged Supplier Listing" +msgstr "" + +#: AgedSuppliers.php:19 +msgid "Aged Suppliers" +msgstr "" + +#: AgedSuppliers.php:105 +msgid "Aged Supplier Account Analysis" +msgstr "" + +#: AgedSuppliers.php:107 SupplierBalsAtPeriodEnd.php:56 +msgid "The Supplier details could not be retrieved by the SQL because" +msgstr "" + +#: AgedSuppliers.php:187 +msgid "Aged Supplier Account Analysis - Problem Report" +msgstr "" + +#: AgedSuppliers.php:189 +msgid "The details of outstanding transactions for Supplier" +msgstr "" + +#: AgedSuppliers.php:273 +msgid "Aged Supplier Analysis" +msgstr "" + +#: AgedSuppliers.php:286 OutstandingGRNs.php:180 PDFRemittanceAdvice.php:138 +#: SupplierBalsAtPeriodEnd.php:132 SuppPaymentRun.php:259 +msgid "From Supplier Code" +msgstr "" + +#: AgedSuppliers.php:289 OutstandingGRNs.php:182 PDFRemittanceAdvice.php:140 +#: SupplierBalsAtPeriodEnd.php:134 SuppPaymentRun.php:261 +msgid "To Supplier Code" +msgstr "" + +#: AgedSuppliers.php:295 +msgid "All suppliers with balances" +msgstr "" + +#: AgedSuppliers.php:299 +msgid "For suppliers trading in" +msgstr "" + +#: AgedSuppliers.php:314 InventoryValuation.php:237 +msgid "Summary or Detailed Report" +msgstr "" + +#: Areas.php:8 +msgid "Sales Area Maintenance" +msgstr "" + +#: Areas.php:41 +msgid "The area code must be three characters or less long" +msgstr "" + +#: Areas.php:46 +msgid "The area code entered already exists" +msgstr "" + +#: Areas.php:51 +msgid "The area description must be twenty five characters or less long" +msgstr "" + +#: Areas.php:56 +msgid "The area code may not be empty" +msgstr "" + +#: Areas.php:61 +msgid "The area description may not be empty" +msgstr "" + +#: Areas.php:74 +msgid "Area code" +msgstr "" + +#: Areas.php:88 +msgid "New area code" +msgstr "" + +#: Areas.php:88 +msgid "has been inserted" +msgstr "" + +#: Areas.php:95 +msgid "The area could not be added or updated because" +msgstr "" + +#: Areas.php:116 +msgid "" +"Cannot delete this area because customer branches have been created using " +"this area" +msgstr "" + +#: Areas.php:117 +msgid "branches using this area code" +msgstr "" + +#: Areas.php:125 +msgid "" +"Cannot delete this area because sales analysis records exist that use this " +"area" +msgstr "" + +#: Areas.php:126 +msgid "sales analysis records referring this area code" +msgstr "" + +#: Areas.php:133 Areas.php:149 Areas.php:202 Areas.php:213 +msgid "Area Code" +msgstr "" + +#: Areas.php:133 CustomerTypes.php:166 Factors.php:142 +#: FixedAssetCategories.php:137 GLAccounts.php:208 Locations.php:328 +#: MRPDemands.php:248 PcAssignCashToTab.php:118 PcClaimExpensesFromTab.php:109 +#: PcExpenses.php:127 PcExpensesTypeTab.php:83 PcTabs.php:124 +#: PcTypeTabs.php:134 SalesAnalReptCols.php:215 SalesCategories.php:139 +#: SalesTypes.php:163 StockCategories.php:199 Suppliers.php:639 +#: SupplierTypes.php:153 Z_DeleteInvoice.php:142 +msgid "has been deleted" +msgstr "" + +#: Areas.php:150 Areas.php:218 +msgid "Area Name" +msgstr "" + +#: Areas.php:167 +msgid "View Customers from this Area" +msgstr "" + +#: Areas.php:177 +msgid "Review Areas Defined" +msgstr "" + +#: AuditTrail.php:9 +msgid "Audit Trail" +msgstr "" + +#: AuditTrail.php:23 +msgid "Incorrect date format used, please re-enter" +msgstr "" + +#: AuditTrail.php:37 BOMIndented.php:317 BOMIndentedReverse.php:305 +#: MRPCalendar.php:260 +msgid "From Date" +msgstr "" + +#: AuditTrail.php:39 BOMIndented.php:318 BOMIndentedReverse.php:306 +#: MRPCalendar.php:262 +msgid "To Date" +msgstr "" + +#: AuditTrail.php:43 PO_AuthorisationLevels.php:123 +#: PO_AuthorisationLevels.php:160 PO_AuthorisationLevels.php:163 +#: UserSettings.php:111 +msgid "User ID" +msgstr "" + +#: AuditTrail.php:56 +msgid "Table " +msgstr "" + +#: AuditTrail.php:68 MRPReport.php:789 PO_SelectPurchOrder.php:357 +#: SelectContract.php:196 SelectProduct.php:710 +msgid "View" +msgstr "" + +#: AuditTrail.php:144 +msgid "Date/Time" +msgstr "" + +#: AuditTrail.php:145 PcReportTab.php:283 includes/header.inc:52 +msgid "User" +msgstr "" + +#: AuditTrail.php:146 BankReconciliation.php:185 BankReconciliation.php:257 +#: CustomerAllocations.php:356 CustomerInquiry.php:189 +#: CustomerTransInquiry.php:21 CustomerTransInquiry.php:85 +#: CustWhereAlloc.php:18 CustWhereAlloc.php:87 DailyBankTransactions.php:79 +#: GLAccountInquiry.php:152 GLAccountReport.php:367 GLJournal.php:256 +#: MRPReschedules.php:204 SelectCustomer.php:460 ShipmentCosting.php:501 +#: ShipmentCosting.php:572 StockCategories.php:219 StockLocMovements.php:83 +#: StockMovements.php:97 SupplierAllocations.php:462 SupplierInquiry.php:193 +#: SupplierTransInquiry.php:19 SupplierTransInquiry.php:86 +#: Z_CheckAllocationsFrom.php:27 Z_CheckAllocationsFrom.php:50 +#: Z_CheckAllocs.php:59 Z_CheckGLTransBalance.php:12 +#: includes/InputSerialItemsFile.php:86 includes/InputSerialItemsFile.php:126 +#: includes/PDFTaxPageHeader.inc:34 +msgid "Type" +msgstr "" + +#: AuditTrail.php:147 +msgid "Table" +msgstr "" + +#: AuditTrail.php:148 api/api_xml-rpc.php:314 api/api_xml-rpc.php:729 +#: api/api_xml-rpc.php:1892 +msgid "Field Name" +msgstr "" + +#: AuditTrail.php:149 SystemParameters.php:312 +#: includes/PDFInventoryValnPageHeader.inc:38 +#: includes/PDFOstdgGRNsPageHeader.inc:43 +msgid "Value" +msgstr "" + +#: BankAccounts.php:9 +msgid "Bank Accounts Maintenance" +msgstr "" + +#: BankAccounts.php:13 TaxAuthorities.php:149 +msgid "Bank" +msgstr "" + +#: BankAccounts.php:14 +msgid "" +"Update Bank Account details. Account Code is for SWIFT or BSB type Bank " +"Codes. Set Default for Invoices to \"yes\" to print Account details on " +"Invoices (only one account can be set to \"yes\")." +msgstr "" + +#: BankAccounts.php:46 +msgid "The bank account code already exists in the database" +msgstr "" + +#: BankAccounts.php:52 +msgid "The bank account name must be fifty characters or less long" +msgstr "" + +#: BankAccounts.php:58 +msgid "The bank account name may not be empty." +msgstr "" + +#: BankAccounts.php:64 +msgid "The bank account number may not be empty." +msgstr "" + +#: BankAccounts.php:70 +msgid "The bank account number must be fifty characters or less long" +msgstr "" + +#: BankAccounts.php:76 +msgid "The bank address must be fifty characters or less long" +msgstr "" + +#: BankAccounts.php:95 +msgid "" +"Note that it is not possible to change the currency of the account once " +"there are transactions against it" +msgstr "" + +#: BankAccounts.php:108 +msgid "The bank account details have been updated" +msgstr "" + +#: BankAccounts.php:129 +msgid "The new bank account has been entered" +msgstr "" + +#: BankAccounts.php:134 +msgid "The bank account could not be inserted or modified because" +msgstr "" + +#: BankAccounts.php:135 +msgid "The SQL used to insert/modify the bank account details was" +msgstr "" + +#: BankAccounts.php:162 +msgid "" +"Cannot delete this bank account because transactions have been created using " +"this account" +msgstr "" + +#: BankAccounts.php:163 +msgid "transactions with this bank account code" +msgstr "" + +#: BankAccounts.php:169 +msgid "Bank account deleted" +msgstr "" + +#: BankAccounts.php:190 +msgid "The bank accounts set up could not be retrieved because" +msgstr "" + +#: BankAccounts.php:191 +msgid "The SQL used to retrieve the bank account details was" +msgstr "" + +#: BankAccounts.php:196 GLJournal.php:280 +msgid "GL Account Code" +msgstr "" + +#: BankAccounts.php:197 BankAccounts.php:326 +msgid "Bank Account Name" +msgstr "" + +#: BankAccounts.php:198 BankAccounts.php:328 +msgid "Bank Account Code" +msgstr "" + +#: BankAccounts.php:199 BankAccounts.php:330 +msgid "Bank Account Number" +msgstr "" + +#: BankAccounts.php:200 BankAccounts.php:332 +msgid "Bank Address" +msgstr "" + +#: BankAccounts.php:201 CustomerReceipt.php:756 CustomerTransInquiry.php:95 +#: OffersReceived.php:98 PcReportTab.php:291 PcTabs.php:147 PcTabs.php:295 +#: PDFPrintLabel.php:94 PO_AuthorisationLevels.php:125 +#: PO_AuthorisationLevels.php:180 PO_AuthorisationLevels.php:183 +#: PO_AuthoriseMyOrders.php:107 PO_Header.php:534 +#: PO_SelectOSPurchOrder.php:444 PO_SelectPurchOrder.php:359 +#: PricesByCost.php:209 Prices.php:198 Prices.php:293 PurchData.php:168 +#: PurchData.php:315 PurchData.php:428 SelectSupplier.php:251 +#: SupplierCredit.php:264 SupplierInvoice.php:232 SupplierTransInquiry.php:95 +#: SuppPriceList.php:274 includes/PDFBankingSummaryPageHeader.inc:42 +#: includes/PDFDebtorBalsPageHeader.inc:33 +#: includes/PDFSupplierBalsPageHeader.inc:36 +msgid "Currency" +msgstr "" + +#: BankAccounts.php:202 BankAccounts.php:351 +msgid "Default for Invoices" +msgstr "" + +#: BankAccounts.php:251 +msgid "Show All Bank Accounts Defined" +msgstr "" + +#: BankAccounts.php:284 BankAccounts.php:287 +msgid "Bank Account GL Code" +msgstr "" + +#: BankAccounts.php:334 +msgid "Currency Of Account" +msgstr "" + +#: BankMatching.php:8 +msgid "Bank Account Matching" +msgstr "" + +#: BankMatching.php:15 PDFCustTransListing.php:44 Z_CheckDebtorsControl.php:80 +msgid "Receipts" +msgstr "" + +#: BankMatching.php:16 BankMatching.php:23 +msgid "Bank Matching" +msgstr "" + +#: BankMatching.php:16 +msgid "Bank Account Matching - Receipts" +msgstr "" + +#: BankMatching.php:22 PaymentAllocations.php:33 PaymentMethods.php:13 +#: PDFSuppTransListing.php:44 +msgid "Payments" +msgstr "" + +#: BankMatching.php:23 +msgid "Bank Account Matching - Payments" +msgstr "" + +#: BankMatching.php:27 +msgid "This page must be called with a bank transaction type" +msgstr "" + +#: BankMatching.php:27 +msgid "It should not be called directly" +msgstr "" + +#: BankMatching.php:40 +msgid "Could not retrieve transaction information" +msgstr "" + +#: BankMatching.php:47 +msgid "Could not match off this payment because" +msgstr "" + +#: BankMatching.php:58 +msgid "Could not update the amount matched off this bank transaction because" +msgstr "" + +#: BankMatching.php:64 +msgid "Could not unclear this bank transaction because" +msgstr "" + +#: BankMatching.php:72 +msgid "" +"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." +msgstr "" + +#: BankMatching.php:80 BankReconciliation.php:97 CustomerReceipt.php:729 +#: DailyBankTransactions.php:28 Payments.php:732 PDFChequeListing.php:46 +#: TaxAuthorities.php:150 TaxAuthorities.php:306 +msgid "Bank Account" +msgstr "" + +#: BankMatching.php:102 PO_SelectOSPurchOrder.php:489 +msgid "Show" +msgstr "" + +#: BankMatching.php:102 CreditItemsControlled.php:78 FreightCosts.php:270 +#: GoodsReceivedControlled.php:56 GoodsReceived.php:66 +#: StockLocTransferReceive.php:426 SupplierAllocations.php:443 +#: SuppShiptChgs.php:126 +msgid "from" +msgstr "" + +#: BankMatching.php:105 ConfirmDispatchControlled_Invoice.php:59 +#: EmailCustTrans.php:65 FTP_RadioBeacon.php:281 GLAccountCSV.php:172 +#: GLAccountReport.php:102 Payments.php:712 PcReportTab.php:105 +#: PDFChequeListing.php:108 PDFChequeListing.php:118 PDFChequeListing.php:205 +#: PDFDeliveryDifferences.php:166 PDFDeliveryDifferences.php:179 +#: PDFDeliveryDifferences.php:287 PDFDIFOT.php:172 PDFDIFOT.php:185 +#: PDFDIFOT.php:289 PDFOrdersInvoiced.php:74 PDFOrdersInvoiced.php:271 +#: PDFOrderStatus.php:75 PDFOrderStatus.php:250 PO_PDFPurchOrder.php:313 +#: PricesBasedOnMarkUp.php:216 PricesBasedOnMarkUp.php:334 +#: PricesBasedOnMarkUp.php:350 PrintCustStatements.php:50 +#: PrintCustTrans.php:38 PrintCustTrans.php:41 PrintCustTransPortrait.php:60 +#: PrintCustTransPortrait.php:63 SalesGraph.php:200 SalesGraph.php:229 +#: SalesGraph.php:233 StockLocTransferReceive.php:310 +#: StockLocTransferReceive.php:426 Stocks.php:231 Stocks.php:236 +#: StockStatus.php:305 StockStatus.php:347 StockTransfers.php:397 +#: includes/PDFAgedDebtorsPageHeader.inc:18 +#: includes/PDFAgedSuppliersPageHeader.inc:17 +#: includes/PDFChequeListingPageHeader.inc:17 +#: includes/PDFDeliveryDifferencesPageHeader.inc:19 +#: includes/PDFDeliveryDifferencesPageHeader.inc:21 +#: includes/PDFDIFOTPageHeader.inc:19 includes/PDFDIFOTPageHeader.inc:21 +#: includes/PDFOrdersInvoicedPageHeader.inc:19 +#: includes/PDFOrdersInvoicedPageHeader.inc:21 +#: includes/PDFOrderStatusPageHeader.inc:19 +#: includes/PDFOrderStatusPageHeader.inc:21 +#: includes/PDFStockLocTransferHeader.inc:31 +msgid "to" +msgstr "" + +#: BankMatching.php:107 +msgid "Choose outstanding" +msgstr "" + +#: BankMatching.php:107 +msgid "only or all" +msgstr "" + +#: BankMatching.php:107 BankMatching.php:111 BankMatching.php:114 +#: BankMatching.php:122 BankMatching.php:125 +msgid "in the date range" +msgstr "" + +#: BankMatching.php:111 BankMatching.php:114 BankMatching.php:122 +#: BankMatching.php:125 +msgid "Show all" +msgstr "" + +#: BankMatching.php:112 BankMatching.php:115 +msgid "Show unmatched" +msgstr "" + +#: BankMatching.php:112 BankMatching.php:115 ReverseGRN.php:103 +#: includes/PDFCustomerListPageHeader.inc:46 +#: includes/PDFDeliveryDifferencesPageHeader.inc:24 +#: includes/PDFDIFOTPageHeader.inc:24 +#: includes/PDFOrdersInvoicedPageHeader.inc:24 +#: includes/PDFOrderStatusPageHeader.inc:24 +msgid "only" +msgstr "" + +#: BankMatching.php:119 +msgid "Choose to display only the first 20 matching" +msgstr "" + +#: BankMatching.php:120 +msgid "or all" +msgstr "" + +#: BankMatching.php:120 +msgid "meeting the criteria" +msgstr "" + +#: BankMatching.php:123 BankMatching.php:126 +msgid "Show only the first 20" +msgstr "" + +#: BankMatching.php:131 +msgid "Show selected" +msgstr "" + +#: BankMatching.php:132 +msgid "Show reconciliation" +msgstr "" + +#: BankMatching.php:138 BankMatching.php:144 +msgid "The date entered for the field to show" +msgstr "" + +#: BankMatching.php:138 +msgid "before" +msgstr "" + +#: BankMatching.php:139 BankMatching.php:145 +msgid "is not entered in a recognised date format" +msgstr "" + +#: BankMatching.php:139 BankMatching.php:145 +msgid "Entry is expected in the format" +msgstr "" + +#: BankMatching.php:144 +msgid "after" +msgstr "" + +#: BankMatching.php:218 +msgid "" +"The payments with the selected criteria could not be retrieved because" +msgstr "" + +#: BankMatching.php:221 ShipmentCosting.php:502 ShipmentCosting.php:573 +#: SupplierAllocations.php:465 +msgid "Ref" +msgstr "" + +#: BankMatching.php:224 ConfirmDispatch_Invoice.php:272 Credit_Invoice.php:281 +#: CustomerAllocations.php:359 CustomerReceipt.php:845 +#: CustomerTransInquiry.php:94 CustWhereAlloc.php:91 PaymentAllocations.php:78 +#: Payments.php:928 Payments.php:930 Payments.php:939 +#: PcAssignCashToTab.php:214 PcAssignCashToTab.php:335 +#: PcAuthorizeExpenses.php:83 PcClaimExpensesFromTab.php:193 +#: PcClaimExpensesFromTab.php:342 PcReportTab.php:175 PcReportTab.php:347 +#: PrintCheque.php:70 PrintCheque.php:84 SelectCreditItems.php:661 +#: SuppContractChgs.php:73 SuppContractChgs.php:142 SuppFixedAssetChgs.php:77 +#: SuppFixedAssetChgs.php:136 SupplierAllocations.php:466 +#: SupplierCredit.php:341 SupplierCredit.php:369 SupplierCredit.php:399 +#: SupplierCredit.php:434 SupplierInvoice.php:312 SupplierInvoice.php:342 +#: SupplierInvoice.php:373 SupplierInvoice.php:408 SupplierTransInquiry.php:94 +#: SuppShiptChgs.php:77 SuppShiptChgs.php:134 SuppTransGLAnalysis.php:97 +#: SuppTransGLAnalysis.php:174 Z_CheckAllocs.php:63 +#: includes/PDFBankingSummaryPageHeader.inc:55 +#: includes/PDFChequeListingPageHeader.inc:37 +msgid "Amount" +msgstr "" + +#: BankMatching.php:225 BankReconciliation.php:189 BankReconciliation.php:261 +#: PDFOrdersInvoiced.php:348 PDFOrderStatus.php:316 +#: PO_SelectOSPurchOrder.php:215 PO_SelectPurchOrder.php:175 +#: Shipt_Select.php:186 SuppCreditGRNs.php:225 +#: includes/PDFStatementPageHeader.inc:173 +#: includes/PDFStatementPageHeader.inc:180 +msgid "Outstanding" +msgstr "" + +#: BankMatching.php:226 +msgid "Clear" +msgstr "" + +#: BankMatching.php:226 BankMatching.php:255 +msgid "Unclear" +msgstr "" + +#: BankMatching.php:299 +msgid "Update Matching" +msgstr "" + +#: BankReconciliation.php:10 +msgid "Bank Reconciliation" +msgstr "" + +#: BankReconciliation.php:20 +msgid "" +"The entry in the bank statement balance is not numeric. The balance on the " +"bank statement should be entered. The exchange difference has not been " +"calculated and no general ledger journal has been created" +msgstr "" + +#: BankReconciliation.php:29 +msgid "Could not retrieve the exchange rate for the selected bank account" +msgstr "" + +#: BankReconciliation.php:59 BankReconciliation.php:77 +msgid "reconciliation on" +msgstr "" + +#: BankReconciliation.php:62 +msgid "Cannot insert a GL entry for the exchange difference because" +msgstr "" + +#: BankReconciliation.php:63 +msgid "The SQL that failed to insert the exchange difference GL entry was" +msgstr "" + +#: BankReconciliation.php:83 +msgid "Exchange difference of" +msgstr "" + +#: BankReconciliation.php:83 +msgid "has been posted" +msgstr "" + +#: BankReconciliation.php:93 SuppPaymentRun.php:300 +msgid "The bank accounts could not be retrieved by the SQL because" +msgstr "" + +#: BankReconciliation.php:94 CustomerReceipt.php:720 +#: DailyBankTransactions.php:25 Payments.php:729 SuppPaymentRun.php:302 +msgid "The SQL used to retrieve the bank accounts was" +msgstr "" + +#: BankReconciliation.php:100 CustomerReceipt.php:734 +msgid "Bank Accounts have not yet been defined" +msgstr "" + +#: BankReconciliation.php:100 CustomerReceipt.php:734 +msgid "You must first" +msgstr "" + +#: BankReconciliation.php:100 CustomerReceipt.php:734 +#: DailyBankTransactions.php:32 Payments.php:736 SuppPaymentRun.php:310 +msgid "define the bank accounts" +msgstr "" + +#: BankReconciliation.php:100 CustomerReceipt.php:734 +#: DailyBankTransactions.php:32 Payments.php:736 SuppPaymentRun.php:310 +msgid "and general ledger accounts to be affected" +msgstr "" + +#: BankReconciliation.php:119 +msgid "Show bank reconciliation statement" +msgstr "" + +#: BankReconciliation.php:134 +msgid "The bank account balance could not be returned by the SQL because" +msgstr "" + +#: BankReconciliation.php:147 +msgid "" +"Could not retrieve the currency and exchange rate for the selected bank " +"account" +msgstr "" + +#: BankReconciliation.php:155 +msgid "Balance as at" +msgstr "" + +#: BankReconciliation.php:178 +msgid "The unpresented cheques could not be retrieved by the SQL because" +msgstr "" + +#: BankReconciliation.php:181 +msgid "Add back unpresented cheques" +msgstr "" + +#: BankReconciliation.php:186 BankReconciliation.php:258 +#: CustomerAllocations.php:331 CustomerAllocations.php:357 +#: CustomerInquiry.php:190 CustomerTransInquiry.php:86 CustWhereAlloc.php:88 +#: EmailCust... [truncated message content] |
From: <vv...@us...> - 2012-03-11 19:41:17
|
Revision: 5063 http://web-erp.svn.sourceforge.net/web-erp/?rev=5063&view=rev Author: vvs2012 Date: 2012-03-11 19:41:09 +0000 (Sun, 11 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/CustEDISetup.php trunk/CustLoginSetup.php trunk/CustWhereAlloc.php trunk/CustomerAllocations.php trunk/CustomerBranches.php trunk/CustomerInquiry.php trunk/CustomerReceipt.php trunk/CustomerTransInquiry.php trunk/CustomerTypes.php trunk/Customers.php trunk/GLAccounts.php trunk/MRPDemands.php trunk/PaymentMethods.php trunk/PcTabs.php trunk/SalesTypes.php trunk/SelectCustomer.php trunk/SelectOrderItems.php trunk/WorkCentres.php Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustEDISetup.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -28,7 +28,7 @@ if (ContainsIllegalCharacters($_POST['EDIReference']) OR mb_strstr($_POST['EDIReference'],' ')) { $InputError = 1; - prnMsg(_('The customers EDI reference code cannot contain any of the following characters') .' - \' & + \" ' . _('or a space'),'warn'); + prnMsg(_('The customers EDI reference code cannot contain any of the following characters') .' - \' & + \" ' . _('or a space'),'warn'); } if (mb_strlen($_POST['EDIReference'])<4 AND ($_POST['EDIInvoices']==1 OR $_POST['EDIOrders']==1)){ $InputError = 1; @@ -70,6 +70,7 @@ } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /><table class="selection">'; @@ -108,7 +109,7 @@ 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> +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> @@ -157,6 +158,7 @@ echo '</table> <br /><div class="centre"><input tabindex="8" type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/CustLoginSetup.php =================================================================== --- trunk/CustLoginSetup.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustLoginSetup.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -48,7 +48,7 @@ prnMsg(_('The user ID entered must be at least 4 characters long'),'error'); } elseif (ContainsIllegalCharacters($_POST['UserID']) OR mb_strstr($_POST['UserID'],' ')) { $InputError = 1; - prnMsg(_('User names cannot contain any of the following characters') . " - ' & + \" \\ " . _('or a space'),'error'); + prnMsg(_('User names cannot contain any of the following characters') . " - ' & + \" \\ " . _('or a space'),'error'); } elseif (mb_strlen($_POST['Password'])<5){ if (!$SelectedUser){ $InputError = 1; @@ -124,6 +124,7 @@ } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> @@ -147,7 +148,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'] . '" /></td> </tr> <tr> <td>' . _('Full Name') . ':</td> @@ -161,9 +162,9 @@ <td>' . _('Email Address') .':</td> <td><input type="text" name="Email" value="' . $_POST['Email'] .'" size="32" maxlength="55" /></td> </tr> - <input type="hidden" name="Access" value="1" /> - <tr> - <td>' . _('Branch Code') . ':</td> + <tr> + <td><input type="hidden" name="Access" value="1" /> + ' . _('Branch Code') . ':</td> <td><select name="BranchCode">'; $sql = "SELECT branchcode FROM custbranch WHERE debtorno = '" . $_SESSION['CustomerID'] . "'"; @@ -182,7 +183,7 @@ echo '<option value="' . $myrow['branchcode'] . '">' . $myrow['branchcode'] . '</option>'; } } - +echo '</select></td></tr>'; echo '<tr><td>' . _('Reports Page Size') .':</td> <td><select name="PageSize">'; @@ -271,6 +272,7 @@ <div class="centre"> <input type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; if (isset($_GET['SelectedUser'])) { Modified: trunk/CustWhereAlloc.php =================================================================== --- trunk/CustWhereAlloc.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustWhereAlloc.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -7,6 +7,7 @@ include('includes/header.inc'); echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"> @@ -153,7 +154,7 @@ } // end if there are allocations against the transaction } //got the ID of the transaction to find allocations for } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerAllocations.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -337,16 +337,17 @@ if (isset($_POST['AllocTrans'])) { // Page called with trans number echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="AllocTrans" value="' . $_POST['AllocTrans'] . '" />'; // Show trans already allocated and potential new allocations - echo '<p><table class="selection">'; + echo '<table class="selection">'; echo '<tr> <th colspan="7"> <div class="centre"> - <font color="blue"><b>' . $_SESSION['Alloc']->DebtorNo . ' - ' . $_SESSION['Alloc']->CustomerName . '</b></font> + <b>' . $_SESSION['Alloc']->DebtorNo . ' - ' . $_SESSION['Alloc']->CustomerName . '</b> </div>'; if ($_SESSION['Alloc']->TransExRate != 1) { @@ -397,8 +398,8 @@ <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 '<td class="number"><input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"'; + echo '<td class="number"><input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '" />'; + echo '<input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"'; if (ABS($AllocnItem->AllocAmt-$YetToAlloc) < 0.01) { echo ' checked="checked" />'; @@ -418,10 +419,11 @@ echo '<tr> <td colspan="5" class="number"><b>'._('Total Allocated').':</b></td> - <td class="number"><b><u>' . locale_number_format($TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces) . '</u></b></td>'; + <td class="number"><b>' . locale_number_format($TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces) . '</b></td>'; $j++; echo '<td colspan="2"> <input tabindex="'.$j.'" type="submit" name="RefreshAllocTotal" value="' . _('Recalculate Total To Allocate') . '" /></td> + </tr> <tr> <td colspan="5" class="number"><b>'._('Left to allocate').'</b></td> <td class="number"><b>' . locale_number_format(-$_SESSION['Alloc']->TransAmt-$TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces).'</b></td> @@ -432,7 +434,9 @@ <div class="centre"> <input tabindex="' . $j . '" type="submit" name="UpdateDatabase" value="' . _('Process Allocations') . '" /> <input tabindex="' . $j . '" type="submit" name="Cancel" value="' . _('Cancel') . '" /> - </div>'; + </div> + </div> + </form>'; } elseif (isset($_GET['DebtorNo'])) { // Page called with customer code @@ -488,9 +492,9 @@ <td class="number">' . locale_number_format($myrow['total'],$myrow['currdecimalplaces']) . '</td> <td class="number">' . locale_number_format($myrow['total']-$myrow['alloc'],$myrow['currdecimalplaces']) . '</td> <td>' . $myrow['currcode'] . '</td>'; - echo '<td><a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '>' . _('Allocate') . '</a></td></tr>'; + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '">' . _('Allocate') . '</a></td></tr>'; } - echo '</table><p>'; + echo '</table>'; } else { /* Page called with no parameters */ unset($_SESSION['Alloc']->Allocs); @@ -529,7 +533,7 @@ $k=0; while ($myrow = DB_fetch_array($result)) { - $AllocateLink = '<a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '>' . _('Allocate') . '</a>'; + $AllocateLink = '<a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '">' . _('Allocate') . '</a>'; if ( $CurrentDebtor != $myrow['debtorno'] ) { if ( $CurrentTransaction > 1 ) { @@ -595,10 +599,7 @@ <br />'; } -echo '</td> - </tr> - </table>'; - + include('includes/footer.inc'); ?> Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerBranches.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -48,7 +48,7 @@ if (ContainsIllegalCharacters($_POST['BranchCode']) OR mb_strstr($_POST['BranchCode'],' ')) { $InputError = 1; - prnMsg(_('The Branch code cannot contain any of the following characters')." - & \'",'error'); + prnMsg(_('The Branch code cannot contain any of the following characters')." - & \'",'error'); $Errors[$i] = 'BranchCode'; $i++; } @@ -104,8 +104,8 @@ echo '<div class="warn">' . _('Warning - Geocode Integration is enabled, but no hosts are setup. Go to Geocode Setup') . '</div>'; } else { $address = $_POST['BrAddress1'] . ', ' . $_POST['BrAddress2'] . ', ' . $_POST['BrAddress3'] . ', ' . $_POST['BrAddress4']; - $base_url = 'http://' . MAPS_HOST . '/maps/geo?output=xml&key=' . KEY; - $request_url = $base_url . '&q=' . urlencode($address); + $base_url = 'http://' . MAPS_HOST . '/maps/geo?output=xml&key=' . KEY; + $request_url = $base_url . '&q=' . urlencode($address); $xml = simplexml_load_string(utf8_encode(file_get_contents($request_url))) or die('url not loading'); $coordinates = $xml->Response->Placemark->Point->coordinates; $coordinatesSplit = explode(",", $coordinates); @@ -360,7 +360,7 @@ $TotalEnable = 0; $TotalDisable = 0; if ($myrow) { - echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" /> + 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"> <tr> @@ -396,8 +396,8 @@ <td><a href="Mailto:%s">%s</a></td> <td>%s</td> <td>%s</td> - <td><a href="%s?DebtorNo=%s&SelectedBranch=%s">%s</td> - <td><a href="%s?DebtorNo=%s&SelectedBranch=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this branch?') . '");\'>%s</td></tr>', + <td><a href="%s?DebtorNo=%s&SelectedBranch=%s">%s</a></td> + <td><a href="%s?DebtorNo=%s&SelectedBranch=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this branch?') . '");\'>%s</a></td></tr>', $myrow[10], $myrow[2], $myrow[5], @@ -464,6 +464,7 @@ if (!isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedBranch)) { @@ -536,10 +537,10 @@ echo '<input type="hidden" name="SelectedBranch" value="' . $SelectedBranch . '" />'; echo '<input type="hidden" name="BranchCode" value="' . $_POST['BranchCode'] . '" />'; - echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" /> + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" /> ' . ' ' . _('Change Details for Branch'). ' '. $SelectedBranch . '</p>'; if (isset($SelectedBranch)) { - echo '<div class="centre"><a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?DebtorNo=' . $DebtorNo. '>' . _('Show all branches defined for'). ' '. $DebtorNo . '</a></div>'; + echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?DebtorNo=' . $DebtorNo. '">' . _('Show all branches defined for'). ' '. $DebtorNo . '</a></div>'; } echo '<br /> <table class="selection"> @@ -583,7 +584,7 @@ if (!isset($_POST['BranchCode'])) { $_POST['BranchCode']=''; } - echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Add a Branch').'</p>'; + 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"> <tr> <td>'._('Branch Code'). ':</td> @@ -593,11 +594,12 @@ } - echo '<input type="hidden" name="DebtorNo" value="'. $DebtorNo . '" />'; + echo '<tr> + <td>'; + echo '<input type="hidden" name="DebtorNo" value="'. $DebtorNo . '" />'; - echo '<tr> - <td>'._('Branch Name').':</td>'; + echo _('Branch Name').':</td>'; if (!isset($_POST['BrName'])) {$_POST['BrName']='';} echo '<td><input tabindex="2" type="text" name="BrName" size="41" maxlength="40" value="'. $_POST['BrName'].'" /></td> </tr>'; @@ -904,6 +906,7 @@ <div class="centre"> <input tabindex="28" type="submit" name="submit" value="' . _('Enter Branch') . '" /> </div> + </div> </form>'; } //end if record deleted no point displaying form to add record Modified: trunk/CustomerInquiry.php =================================================================== --- trunk/CustomerInquiry.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerInquiry.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -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 style="width:20%">' . _('Total Balance') . '</th> + <th style="width:20%">' . _('Current') . '</th> + <th style="width:20%">' . _('Now Due') . '</th> + <th style="width:20%">' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th> + <th style="width:20%">' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; echo '<tr> <td class="number">' . locale_number_format($CustomerRecord['balance'],$CustomerRecord['decimalplaces']) . '</td> @@ -153,11 +153,13 @@ echo '<br /> <div class="centre"> <form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> + <div> <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') . '" /> - </div> + </div> </form> + </div> <br />'; $DateAfterCriteria = FormatDateForSQL($_POST['TransAfterDate']); @@ -237,22 +239,22 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td width="200">%s</td> + <td style="width:200px">%s</td> <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td>'; - $CreditInvoiceFormatString = '<td><a href="%s/Credit_Invoice.php?InvoiceNumber=%s">' . _('Credit ') .'<img src="%s/credit.gif" title="' . _('Click to credit the invoice') . '" /></a></td>'; + $CreditInvoiceFormatString = '<td><a href="%s/Credit_Invoice.php?InvoiceNumber=%s">' . _('Credit ') .'<img src="%s/credit.gif" title="' . _('Click to credit the invoice') . '" alt="" /></a></td>'; - $PreviewInvoiceFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('HTML ') . '<img src="%s/preview.gif" title="' . _('Click to preview the invoice') . '" /></a></td> - <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Invoice&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" /></a></td> - <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('Email ') . '<img src="%s/email.gif" title="' . _('Click to email the invoice') . '" /></a></td>'; + $PreviewInvoiceFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('HTML ') . '<img src="%s/preview.gif" title="' . _('Click to preview the invoice') . '" alt="" /></a></td> + <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Invoice&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" alt="" /></a></td> + <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('Email ') . '<img src="%s/email.gif" title="' . _('Click to email the invoice') . '" alt="" /></a></td>'; - $PreviewCreditFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('HTML ') . ' <IMG SRC="%s/preview.gif" title="' . _('Click to preview the credit note') . '" /></a></td> - <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Credit&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" /></a></td> - <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('Email') . ' <img src="%s/email.gif" title="' . _('Click to email the credit note') . '" /></a></td>'; + $PreviewCreditFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('HTML ') . ' <IMG SRC="%s/preview.gif" title="' . _('Click to preview the credit note') . '" /></a></td> + <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Credit&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" alt="" /></a></td> + <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('Email') . ' <img src="%s/email.gif" title="' . _('Click to email the credit note') . '" alt="" /></a></td>'; /* assumed allowed page security token 3 allows the user to create credits for invoices */ if (in_array(3,$_SESSION['AllowedPageSecurityTokens']) AND $myrow['type']==10){ @@ -264,8 +266,8 @@ /* format string with GL inquiry options and for invoice to be credited */ printf($BaseFormatString . $CreditInvoiceFormatString . $PreviewInvoiceFormatString . - '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' - <img src="' .$rootpath. '/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td> + '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' + <img src="' .$rootpath. '/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td> </tr>', //$BaseFormatString parameters $myrow['typename'], @@ -360,8 +362,8 @@ if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){ printf($BaseFormatString . $PreviewCreditFormatString . - '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath .'/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td> - <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a><img src="' .$rootpath.'/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td></tr>', + '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath .'/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td> + <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a><img src="' .$rootpath.'/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td></tr>', //$BaseFormatString parameters $myrow['typename'], $myrow['transno'], @@ -393,7 +395,7 @@ } else { printf($BaseFormatString . $PreviewCreditFormatString . - '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="%s/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td> + '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="%s/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -426,8 +428,8 @@ //If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){ printf($BaseFormatString . - '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td> - <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <img src="' .$rootpath . '/css/' . $theme .'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td> + '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td> + <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <img src="' .$rootpath . '/css/' . $theme .'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -446,7 +448,7 @@ $myrow['transno']); } else { //no permission for GLTrans Inquiries printf($BaseFormatString . - '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td> + '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -466,7 +468,7 @@ //If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){ printf($BaseFormatString . - '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>', + '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>', $myrow['typename'], $myrow['transno'], ConvertSQLDate($myrow['trandate']), @@ -497,7 +499,7 @@ //If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){ printf($BaseFormatString . - '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>', + '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>', $myrow['typename'], $myrow['transno'], ConvertSQLDate($myrow['trandate']), Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerReceipt.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -729,7 +729,8 @@ /*set up the form whatever */ -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Type='.$_GET['Type'] . '" method="post" name="form1">'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Type='.$_GET['Type'] . '" method="post" id="form1">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*show the batch header details and the entries in the batch so far */ @@ -755,7 +756,7 @@ <table class="selection"> <tr> <td>' . _('Bank Account') . ':</td> - <td><select tabindex="1" name="BankAccount" onChange="ReloadForm(form1.BatchInput)">'; + <td><select tabindex="1" name="BankAccount" onchange="ReloadForm(form1.BatchInput)">'; if (DB_num_rows($AccountsResults)==0){ echo '</select></td> @@ -785,11 +786,11 @@ 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> - <td><select tabindex="3" name="Currency" onChange="ReloadForm(form1.BatchInput)">'; + <td><select tabindex="3" name="Currency" onchange="ReloadForm(form1.BatchInput)">'; if (!isset($_SESSION['ReceiptBatch']->Currency)){ $_SESSION['ReceiptBatch']->Currency=$_SESSION['CompanyRecord']['currencydefault']; @@ -994,7 +995,7 @@ echo '<br /> <table class="selection"> <tr> - <th colspan="2"><font size="2" color="navy">' . _('General Ledger Receipt Entry') . '</font></th> + <th colspan="2">' . _('General Ledger Receipt Entry') . '</th> </tr>'; //Select the tag @@ -1101,15 +1102,15 @@ 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') . '</p> <table class="selection"> <tr> <td>' . _('Text in the Customer') . ' ' . '<b>' . _('name') . '</b>:</td> <td><input tabindex="9" type="text" name="Keywords" size="15" maxlength="25" /></td> - <td><font size="3"><b>' . _('OR') . '</b></font></td> + <td><b>' . _('OR') . '</b></td> <td>' . _('Text extract in the Customer') . ' ' . '<b>' . _('code') . '</b>:</td> <td><input tabindex="10" type="text" name="CustCode" size="10" maxlength="18" /></td> - <td><font size="3"><b>' . _('OR') . '</b></font></td> + <td><b>' . _('OR') . '</b></td> <td>' . _('Customer invoice number') . ':</td> <td><input tabindex="11" type="text" name="CustInvNo" size="8" maxlength="8" /></td> </tr> @@ -1170,6 +1171,7 @@ <input tabindex="13" type="submit" name="CommitBatch" value="' . _('Accept and Process Batch') . '" /> </div>'; } +echo '</div>'; echo '</form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/CustomerTransInquiry.php =================================================================== --- trunk/CustomerTransInquiry.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerTransInquiry.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -13,6 +13,7 @@ <br />'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> @@ -58,6 +59,7 @@ <div class="centre"> <input tabindex="4" type="submit" name="ShowResults" value="' . _('Show Transactions') . '" /> </div> + </div> </form>'; if (isset($_POST['ShowResults']) && $_POST['TransType'] != ''){ @@ -128,7 +130,7 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td width="200">%s</td> + <td style="width:200px">%s</td> <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerTypes.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -199,8 +199,8 @@ printf('<td>%s</td> <td>%s</td> - <td><a href="%sSelectedType=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedType=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this Customer Type?') . '");\'>' . _('Delete') . '</td> + <td><a href="%sSelectedType=%s">' . _('Edit') . '</a></td> + <td><a href="%sSelectedType=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this Customer Type?') . '");\'>' . _('Delete') . '</a></td> </tr>', $myrow[0], $myrow[1], @@ -216,13 +216,14 @@ //end of ifs and buts! if (isset($SelectedType)) { - echo '<div class="centre"><p><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Show All Types Defined') . '</a></div><p>'; + echo '<div class="centre"><br /><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Show All Types Defined') . '</a></div>'; } if (! isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class="selection">'; //Main table + echo '<br />'; // The user wish to EDIT an existing type @@ -256,13 +257,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 '</table>'; // close main table - echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>'; - + echo '<br /><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>'; + echo '</div>'; echo '</form>'; } // end if user wish to delete Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/Customers.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -53,7 +53,7 @@ $i++; } elseif ($_SESSION['AutoDebtorNo']==0 AND (ContainsIllegalCharacters($_POST['DebtorNo']) OR mb_strpos($_POST['DebtorNo'], ' '))) { $InputError = 1; - prnMsg( _('The customer code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error'); + prnMsg( _('The customer code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error'); $Errors[$i] = 'DebtorNo'; $i++; } elseif (mb_strlen($_POST['Address1']) >40) { @@ -425,6 +425,7 @@ exit; } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="New" value="Yes" />'; @@ -441,25 +442,25 @@ } 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>'; @@ -469,14 +470,14 @@ $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>'; } else { - echo '<tr><td>' . _('Sales Type/Price List') . ':</td> + echo '<tr><td>' . _('Sales Type') . '/' . _('Price List') . ':</td> <td><select tabindex="9" name="SalesType">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>'; } //end while loopre DB_data_seek($result,0); - echo '</select></td></tr>'; + echo '</select></td></tr>'; } // Show Customer Type drop down list @@ -504,7 +505,7 @@ <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="text" class="number" name="Discount" value="0" size="5" maxlength="4" /></td> </tr> <tr> <td>' . _('Discount Code') . ':</td> @@ -512,7 +513,7 @@ </tr> <tr> <td>' . _('Payment Discount Percent') . ':</td> - <td><input tabindex="13" type="textbox" class ="number" name="PymtDiscount" value="0" size="5" maxlength="4" /></td> + <td><input tabindex="13" type="text" class ="number" name="PymtDiscount" value="0" size="5" maxlength="4" /></td> </tr> <tr> <td>' . _('Credit Limit') . ':</td> @@ -608,10 +609,11 @@ if ($DataError ==0){ echo '<br /> <div class="centre"> - <input tabindex="20" type="submit" name="submit" value="' . _('Add New Customer') . '" /> <input tabindex="21" type="submit" action="Reset" value="' . _('Reset') . '" /> + <input tabindex="20" type="submit" name="submit" value="' . _('Add New Customer') . '" /> <input tabindex="21" type="submit" value="' . _('Reset') . '" /> </div>'; } + echo '</div>'; echo '</form>'; } else { @@ -619,9 +621,10 @@ //DebtorNo exists - either passed when calling the form or from the form itself echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> - <tr><td valign="top"><table class="selection">'; + <tr><td valign="top">'; if (!isset($_POST['New'])) { $sql = "SELECT debtorsmaster.debtorno, @@ -655,10 +658,10 @@ /* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one, then display the DebtorNo */ if ($_SESSION['AutoDebtorNo']== 0 ) { - echo '<tr> + echo '<table class="selection"><tr> <td>' . _('Customer Code') . ':</td> <td>' . $DebtorNo. '</td> - </tr>'; + </tr></table><br />'; } $_POST['CustName'] = $myrow['name']; $_POST['Address1'] = $myrow['address1']; @@ -682,10 +685,12 @@ $_POST['typeid'] = $myrow['typeid']; echo '<input type="hidden" name="DebtorNo" value="' . $DebtorNo . '" />'; + echo '<table class="selection">'; } else { // its a new customer being added echo '<input type="hidden" name="New" value="Yes" />'; + echo '<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 */ @@ -773,6 +778,7 @@ } } //end while loop DB_data_seek($result,0); + echo '</select></td></tr>'; } // Select Customer types for drop down list for SELECT/UPDATE @@ -1043,7 +1049,7 @@ printf('<td>%s</td> <td>%s</td> <td>%s</td> - <td><a href=mailto:%s>%s</a></td> + <td><a href="mailto:%s">%s</a></td> <td>%s</td> </tr>', $myrow['contactname'], @@ -1056,10 +1062,10 @@ printf('<td>%s</td> <td>%s</td> <td>%s</td> - <td><a href=mailto:%s>%s</a></td> + <td><a href="mailto:%s">%s</a></td> <td>%s</td> - <td><a href="AddCustomerContacts.php?Id=%s&DebtorNo=%s">'. _('Edit'). '</a></td> - <td><a href="%sID=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this customer contact?') . '\');">'. _('Delete'). '</a></td> + <td><a href="AddCustomerContacts.php?Id=%s&DebtorNo=%s">'. _('Edit'). '</a></td> + <td><a href="%sID=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this customer contact?') . '\');">'. _('Delete'). '</a></td> </tr>', $myrow['contactname'], $myrow['role'], @@ -1082,16 +1088,17 @@ echo '<div class="centre"> <input type="submit" name="submit" value="' . _('Add New Customer') . '" /> <input type="submit" name="Reset" value="' . _('Reset') . '" /> - </div> - </form>'; + </div>'; } elseif (!isset($_GET['Modify'])){ echo '<br /> <div class="centre"> <input type="submit" name="submit" value="' . _('Update Customer') . '" /> - <input type="submit" name="delete" value="' . _('Delete Customer') . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');" />'; + <input type="submit" name="delete" value="' . _('Delete Customer') . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');" /> + </div>'; } - echo '</div>'; + echo '</div> + </form>'; } // end of main ifs include('includes/footer.inc'); Modified: trunk/GLAccounts.php =================================================================== --- trunk/GLAccounts.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/GLAccounts.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -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); Modified: trunk/MRPDemands.php =================================================================== --- trunk/MRPDemands.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/MRPDemands.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -329,7 +329,7 @@ if (!isset($StockID)) { echo'</font><table cellpadding="3" colspan="4" class="selection"><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><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> <td><input tabindex="2" type="text" name="StockCode" size="15" maxlength="20" /></td> Modified: trunk/PaymentMethods.php =================================================================== --- trunk/PaymentMethods.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/PaymentMethods.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -254,7 +254,7 @@ } echo '<tr> <td>' . _('Payment Method') . ':' . '</td> - <td><input type="Text" '. (in_array('MethodName',$Errors) ? 'class="inputerror"' : '' ) .' name="MethodName" size="30" maxlength="30" value="' . $_POST['MethodName'] . '" /></td> + <td><input type="text" '. (in_array('MethodName',$Errors) ? 'class="inputerror"' : '' ) .' name="MethodName" size="30" maxlength="30" value="' . $_POST['MethodName'] . '" /></td> </tr>'; echo '<tr> <td>' . _('Use For Payments') . ':' . '</td> Modified: trunk/PcTabs.php =================================================================== --- trunk/PcTabs.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/PcTabs.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -370,7 +370,7 @@ } echo '<tr><td>' . _('Limit Of Tab') . ':</td> - <td><input type="Text" class="number" name="TabLimit" size="12" maxlength="11" value="' . $_POST['TabLimit'] . '" /></td></tr>'; + <td><input type="text" class="number" name="TabLimit" size="12" maxlength="11" value="' . $_POST['TabLimit'] . '" /></td></tr>'; echo '<tr><td>' . _('Assigner') . ':</td> <td><select name="SelectAssigner">'; Modified: trunk/SalesTypes.php =================================================================== --- trunk/SalesTypes.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/SalesTypes.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -266,7 +266,7 @@ $_POST['Sales_Type']=''; } echo '<tr><td>' . _('Sales Type Name') . ':</td> - <td><input type="Text" name="Sales_Type" value="' . $_POST['Sales_Type'] . '" /></td></tr>'; + <td><input type="text" name="Sales_Type" value="' . $_POST['Sales_Type'] . '" /></td></tr>'; echo '</td></tr></table>'; // close main table Modified: trunk/SelectCustomer.php =================================================================== --- trunk/SelectCustomer.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/SelectCustomer.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -284,7 +284,7 @@ if (isset($_POST['CustPhone'])) { echo '<input type="text" name="CustPhone" value="' . $_POST['CustPhone'] . '" size="15" maxlength="18" />'; } else { - echo '<input type="Text" name="CustPhone" size="15" maxlength="18" />'; + echo '<input type="text" name="CustPhone" size="15" maxlength="18" />'; } echo '</td>'; echo '<td><font size="3"><b>' . _('OR') . '</b></font></td> Modified: trunk/SelectOrderItems.php =================================================================== --- trunk/SelectOrderItems.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/SelectOrderItems.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -1627,14 +1627,14 @@ } echo '</select></td> - <td><b>' . _('Enter partial Description') . ':</b><input tabindex="2" type="Text" name="Keywords" size="20" maxlength="25" value="' ; + <td><b>' . _('Enter partial Description') . ':</b><input tabindex="2" type="text" name="Keywords" size="20" maxlength="25" value="' ; if (isset($_POST['Keywords'])) { echo $_POST['Keywords'] ; } echo '" /></td>'; - echo '<td align="right"><b>' . _('OR') . ' ' . _('Enter extract of the Stock Code') . ':</b><input tabindex="3" type="Text" name="StockCode" size="15" maxlength="18" value="'; + echo '<td align="right"><b>' . _('OR') . ' ' . _('Enter extract of the Stock Code') . ':</b><input tabindex="3" type="text" name="StockCode" size="15" maxlength="18" value="'; if (isset($_POST['StockCode'])) { echo $_POST['StockCode']; } Modified: trunk/WorkCentres.php =================================================================== --- trunk/WorkCentres.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/WorkCentres.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -216,7 +216,7 @@ } echo '<tr> <td>' . _('Work Centre Description') . ':</td> - <td><input type="Text" name="Description" size="21" maxlength="20" value="' . $_POST['Description'] . '" /></td> + <td><input type="text" name="Description" size="21" maxlength="20" value="' . $_POST['Description'] . '" /></td> </tr> <tr><td>' . _('Location') . ':</td> <td><select name="Location">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-03-11 19:41:17
|
Revision: 5063 http://web-erp.svn.sourceforge.net/web-erp/?rev=5063&view=rev Author: vvs2012 Date: 2012-03-11 19:41:09 +0000 (Sun, 11 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/CustEDISetup.php trunk/CustLoginSetup.php trunk/CustWhereAlloc.php trunk/CustomerAllocations.php trunk/CustomerBranches.php trunk/CustomerInquiry.php trunk/CustomerReceipt.php trunk/CustomerTransInquiry.php trunk/CustomerTypes.php trunk/Customers.php trunk/GLAccounts.php trunk/MRPDemands.php trunk/PaymentMethods.php trunk/PcTabs.php trunk/SalesTypes.php trunk/SelectCustomer.php trunk/SelectOrderItems.php trunk/WorkCentres.php Modified: trunk/CustEDISetup.php =================================================================== --- trunk/CustEDISetup.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustEDISetup.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -28,7 +28,7 @@ if (ContainsIllegalCharacters($_POST['EDIReference']) OR mb_strstr($_POST['EDIReference'],' ')) { $InputError = 1; - prnMsg(_('The customers EDI reference code cannot contain any of the following characters') .' - \' & + \" ' . _('or a space'),'warn'); + prnMsg(_('The customers EDI reference code cannot contain any of the following characters') .' - \' & + \" ' . _('or a space'),'warn'); } if (mb_strlen($_POST['EDIReference'])<4 AND ($_POST['EDIInvoices']==1 OR $_POST['EDIOrders']==1)){ $InputError = 1; @@ -70,6 +70,7 @@ } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /><table class="selection">'; @@ -108,7 +109,7 @@ 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> +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> @@ -157,6 +158,7 @@ echo '</table> <br /><div class="centre"><input tabindex="8" type="submit" name="submit" value="' ._('Update EDI Configuration'). '" /></div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/CustLoginSetup.php =================================================================== --- trunk/CustLoginSetup.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustLoginSetup.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -48,7 +48,7 @@ prnMsg(_('The user ID entered must be at least 4 characters long'),'error'); } elseif (ContainsIllegalCharacters($_POST['UserID']) OR mb_strstr($_POST['UserID'],' ')) { $InputError = 1; - prnMsg(_('User names cannot contain any of the following characters') . " - ' & + \" \\ " . _('or a space'),'error'); + prnMsg(_('User names cannot contain any of the following characters') . " - ' & + \" \\ " . _('or a space'),'error'); } elseif (mb_strlen($_POST['Password'])<5){ if (!$SelectedUser){ $InputError = 1; @@ -124,6 +124,7 @@ } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> @@ -147,7 +148,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'] . '" /></td> </tr> <tr> <td>' . _('Full Name') . ':</td> @@ -161,9 +162,9 @@ <td>' . _('Email Address') .':</td> <td><input type="text" name="Email" value="' . $_POST['Email'] .'" size="32" maxlength="55" /></td> </tr> - <input type="hidden" name="Access" value="1" /> - <tr> - <td>' . _('Branch Code') . ':</td> + <tr> + <td><input type="hidden" name="Access" value="1" /> + ' . _('Branch Code') . ':</td> <td><select name="BranchCode">'; $sql = "SELECT branchcode FROM custbranch WHERE debtorno = '" . $_SESSION['CustomerID'] . "'"; @@ -182,7 +183,7 @@ echo '<option value="' . $myrow['branchcode'] . '">' . $myrow['branchcode'] . '</option>'; } } - +echo '</select></td></tr>'; echo '<tr><td>' . _('Reports Page Size') .':</td> <td><select name="PageSize">'; @@ -271,6 +272,7 @@ <div class="centre"> <input type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; if (isset($_GET['SelectedUser'])) { Modified: trunk/CustWhereAlloc.php =================================================================== --- trunk/CustWhereAlloc.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustWhereAlloc.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -7,6 +7,7 @@ include('includes/header.inc'); echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"> @@ -153,7 +154,7 @@ } // end if there are allocations against the transaction } //got the ID of the transaction to find allocations for } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/CustomerAllocations.php =================================================================== --- trunk/CustomerAllocations.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerAllocations.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -337,16 +337,17 @@ if (isset($_POST['AllocTrans'])) { // Page called with trans number echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="AllocTrans" value="' . $_POST['AllocTrans'] . '" />'; // Show trans already allocated and potential new allocations - echo '<p><table class="selection">'; + echo '<table class="selection">'; echo '<tr> <th colspan="7"> <div class="centre"> - <font color="blue"><b>' . $_SESSION['Alloc']->DebtorNo . ' - ' . $_SESSION['Alloc']->CustomerName . '</b></font> + <b>' . $_SESSION['Alloc']->DebtorNo . ' - ' . $_SESSION['Alloc']->CustomerName . '</b> </div>'; if ($_SESSION['Alloc']->TransExRate != 1) { @@ -397,8 +398,8 @@ <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 '<td class="number"><input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"'; + echo '<td class="number"><input type="hidden" name="YetToAlloc' . $Counter . '" value="' . round($YetToAlloc,$_SESSION['Alloc']->CurrDecimalPlaces) . '" />'; + echo '<input tabindex="' . $j .'" type="checkbox" name="All' . $Counter . '"'; if (ABS($AllocnItem->AllocAmt-$YetToAlloc) < 0.01) { echo ' checked="checked" />'; @@ -418,10 +419,11 @@ echo '<tr> <td colspan="5" class="number"><b>'._('Total Allocated').':</b></td> - <td class="number"><b><u>' . locale_number_format($TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces) . '</u></b></td>'; + <td class="number"><b>' . locale_number_format($TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces) . '</b></td>'; $j++; echo '<td colspan="2"> <input tabindex="'.$j.'" type="submit" name="RefreshAllocTotal" value="' . _('Recalculate Total To Allocate') . '" /></td> + </tr> <tr> <td colspan="5" class="number"><b>'._('Left to allocate').'</b></td> <td class="number"><b>' . locale_number_format(-$_SESSION['Alloc']->TransAmt-$TotalAllocated,$_SESSION['Alloc']->CurrDecimalPlaces).'</b></td> @@ -432,7 +434,9 @@ <div class="centre"> <input tabindex="' . $j . '" type="submit" name="UpdateDatabase" value="' . _('Process Allocations') . '" /> <input tabindex="' . $j . '" type="submit" name="Cancel" value="' . _('Cancel') . '" /> - </div>'; + </div> + </div> + </form>'; } elseif (isset($_GET['DebtorNo'])) { // Page called with customer code @@ -488,9 +492,9 @@ <td class="number">' . locale_number_format($myrow['total'],$myrow['currdecimalplaces']) . '</td> <td class="number">' . locale_number_format($myrow['total']-$myrow['alloc'],$myrow['currdecimalplaces']) . '</td> <td>' . $myrow['currcode'] . '</td>'; - echo '<td><a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '>' . _('Allocate') . '</a></td></tr>'; + echo '<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '">' . _('Allocate') . '</a></td></tr>'; } - echo '</table><p>'; + echo '</table>'; } else { /* Page called with no parameters */ unset($_SESSION['Alloc']->Allocs); @@ -529,7 +533,7 @@ $k=0; while ($myrow = DB_fetch_array($result)) { - $AllocateLink = '<a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '>' . _('Allocate') . '</a>'; + $AllocateLink = '<a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'). '?AllocTrans=' . $myrow['id'] . '">' . _('Allocate') . '</a>'; if ( $CurrentDebtor != $myrow['debtorno'] ) { if ( $CurrentTransaction > 1 ) { @@ -595,10 +599,7 @@ <br />'; } -echo '</td> - </tr> - </table>'; - + include('includes/footer.inc'); ?> Modified: trunk/CustomerBranches.php =================================================================== --- trunk/CustomerBranches.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerBranches.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -48,7 +48,7 @@ if (ContainsIllegalCharacters($_POST['BranchCode']) OR mb_strstr($_POST['BranchCode'],' ')) { $InputError = 1; - prnMsg(_('The Branch code cannot contain any of the following characters')." - & \'",'error'); + prnMsg(_('The Branch code cannot contain any of the following characters')." - & \'",'error'); $Errors[$i] = 'BranchCode'; $i++; } @@ -104,8 +104,8 @@ echo '<div class="warn">' . _('Warning - Geocode Integration is enabled, but no hosts are setup. Go to Geocode Setup') . '</div>'; } else { $address = $_POST['BrAddress1'] . ', ' . $_POST['BrAddress2'] . ', ' . $_POST['BrAddress3'] . ', ' . $_POST['BrAddress4']; - $base_url = 'http://' . MAPS_HOST . '/maps/geo?output=xml&key=' . KEY; - $request_url = $base_url . '&q=' . urlencode($address); + $base_url = 'http://' . MAPS_HOST . '/maps/geo?output=xml&key=' . KEY; + $request_url = $base_url . '&q=' . urlencode($address); $xml = simplexml_load_string(utf8_encode(file_get_contents($request_url))) or die('url not loading'); $coordinates = $xml->Response->Placemark->Point->coordinates; $coordinatesSplit = explode(",", $coordinates); @@ -360,7 +360,7 @@ $TotalEnable = 0; $TotalDisable = 0; if ($myrow) { - echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" /> + 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"> <tr> @@ -396,8 +396,8 @@ <td><a href="Mailto:%s">%s</a></td> <td>%s</td> <td>%s</td> - <td><a href="%s?DebtorNo=%s&SelectedBranch=%s">%s</td> - <td><a href="%s?DebtorNo=%s&SelectedBranch=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this branch?') . '");\'>%s</td></tr>', + <td><a href="%s?DebtorNo=%s&SelectedBranch=%s">%s</a></td> + <td><a href="%s?DebtorNo=%s&SelectedBranch=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this branch?') . '");\'>%s</a></td></tr>', $myrow[10], $myrow[2], $myrow[5], @@ -464,6 +464,7 @@ if (!isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedBranch)) { @@ -536,10 +537,10 @@ echo '<input type="hidden" name="SelectedBranch" value="' . $SelectedBranch . '" />'; echo '<input type="hidden" name="BranchCode" value="' . $_POST['BranchCode'] . '" />'; - echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" /> + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" /> ' . ' ' . _('Change Details for Branch'). ' '. $SelectedBranch . '</p>'; if (isset($SelectedBranch)) { - echo '<div class="centre"><a href=' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?DebtorNo=' . $DebtorNo. '>' . _('Show all branches defined for'). ' '. $DebtorNo . '</a></div>'; + echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?DebtorNo=' . $DebtorNo. '">' . _('Show all branches defined for'). ' '. $DebtorNo . '</a></div>'; } echo '<br /> <table class="selection"> @@ -583,7 +584,7 @@ if (!isset($_POST['BranchCode'])) { $_POST['BranchCode']=''; } - echo '<p Class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Add a Branch').'</p>'; + 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"> <tr> <td>'._('Branch Code'). ':</td> @@ -593,11 +594,12 @@ } - echo '<input type="hidden" name="DebtorNo" value="'. $DebtorNo . '" />'; + echo '<tr> + <td>'; + echo '<input type="hidden" name="DebtorNo" value="'. $DebtorNo . '" />'; - echo '<tr> - <td>'._('Branch Name').':</td>'; + echo _('Branch Name').':</td>'; if (!isset($_POST['BrName'])) {$_POST['BrName']='';} echo '<td><input tabindex="2" type="text" name="BrName" size="41" maxlength="40" value="'. $_POST['BrName'].'" /></td> </tr>'; @@ -904,6 +906,7 @@ <div class="centre"> <input tabindex="28" type="submit" name="submit" value="' . _('Enter Branch') . '" /> </div> + </div> </form>'; } //end if record deleted no point displaying form to add record Modified: trunk/CustomerInquiry.php =================================================================== --- trunk/CustomerInquiry.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerInquiry.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -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 style="width:20%">' . _('Total Balance') . '</th> + <th style="width:20%">' . _('Current') . '</th> + <th style="width:20%">' . _('Now Due') . '</th> + <th style="width:20%">' . $_SESSION['PastDueDays1'] . '-' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th> + <th style="width:20%">' . _('Over') . ' ' . $_SESSION['PastDueDays2'] . ' ' . _('Days Overdue') . '</th></tr>'; echo '<tr> <td class="number">' . locale_number_format($CustomerRecord['balance'],$CustomerRecord['decimalplaces']) . '</td> @@ -153,11 +153,13 @@ echo '<br /> <div class="centre"> <form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> + <div> <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') . '" /> - </div> + </div> </form> + </div> <br />'; $DateAfterCriteria = FormatDateForSQL($_POST['TransAfterDate']); @@ -237,22 +239,22 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td width="200">%s</td> + <td style="width:200px">%s</td> <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td>'; - $CreditInvoiceFormatString = '<td><a href="%s/Credit_Invoice.php?InvoiceNumber=%s">' . _('Credit ') .'<img src="%s/credit.gif" title="' . _('Click to credit the invoice') . '" /></a></td>'; + $CreditInvoiceFormatString = '<td><a href="%s/Credit_Invoice.php?InvoiceNumber=%s">' . _('Credit ') .'<img src="%s/credit.gif" title="' . _('Click to credit the invoice') . '" alt="" /></a></td>'; - $PreviewInvoiceFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('HTML ') . '<img src="%s/preview.gif" title="' . _('Click to preview the invoice') . '" /></a></td> - <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Invoice&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" /></a></td> - <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('Email ') . '<img src="%s/email.gif" title="' . _('Click to email the invoice') . '" /></a></td>'; + $PreviewInvoiceFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('HTML ') . '<img src="%s/preview.gif" title="' . _('Click to preview the invoice') . '" alt="" /></a></td> + <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Invoice&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" alt="" /></a></td> + <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Invoice">' . _('Email ') . '<img src="%s/email.gif" title="' . _('Click to email the invoice') . '" alt="" /></a></td>'; - $PreviewCreditFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('HTML ') . ' <IMG SRC="%s/preview.gif" title="' . _('Click to preview the credit note') . '" /></a></td> - <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Credit&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" /></a></td> - <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('Email') . ' <img src="%s/email.gif" title="' . _('Click to email the credit note') . '" /></a></td>'; + $PreviewCreditFormatString = '<td><a href="%s/PrintCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('HTML ') . ' <IMG SRC="%s/preview.gif" title="' . _('Click to preview the credit note') . '" /></a></td> + <td><a href="%s/%s?FromTransNo=%s&InvOrCredit=Credit&PrintPDF=True">' . _('PDF ') . '<img src="%s/css/' . $theme . '/images/pdf.png" title="' . _('Click for PDF') . '" alt="" /></a></td> + <td><a href="%s/EmailCustTrans.php?FromTransNo=%s&InvOrCredit=Credit">' . _('Email') . ' <img src="%s/email.gif" title="' . _('Click to email the credit note') . '" alt="" /></a></td>'; /* assumed allowed page security token 3 allows the user to create credits for invoices */ if (in_array(3,$_SESSION['AllowedPageSecurityTokens']) AND $myrow['type']==10){ @@ -264,8 +266,8 @@ /* format string with GL inquiry options and for invoice to be credited */ printf($BaseFormatString . $CreditInvoiceFormatString . $PreviewInvoiceFormatString . - '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' - <img src="' .$rootpath. '/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td> + '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' + <img src="' .$rootpath. '/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td> </tr>', //$BaseFormatString parameters $myrow['typename'], @@ -360,8 +362,8 @@ if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){ printf($BaseFormatString . $PreviewCreditFormatString . - '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath .'/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td> - <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a><img src="' .$rootpath.'/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td></tr>', + '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath .'/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td> + <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a><img src="' .$rootpath.'/css/'.$theme.'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td></tr>', //$BaseFormatString parameters $myrow['typename'], $myrow['transno'], @@ -393,7 +395,7 @@ } else { printf($BaseFormatString . $PreviewCreditFormatString . - '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="%s/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td> + '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="%s/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -426,8 +428,8 @@ //If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){ printf($BaseFormatString . - '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td> - <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <img src="' .$rootpath . '/css/' . $theme .'/images/gl.png" title="' . _('View the GL Entries') . '" /></a></td> + '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td> + <td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <img src="' .$rootpath . '/css/' . $theme .'/images/gl.png" title="' . _('View the GL Entries') . '" alt="" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -446,7 +448,7 @@ $myrow['transno']); } else { //no permission for GLTrans Inquiries printf($BaseFormatString . - '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" /></a></td> + '<td><a href="%s/CustomerAllocations.php?AllocTrans=%s">' . _('Allocation') . '<img src="' .$rootpath . '/css/' . $theme .'/images/allocation.png" title="' . _('Click to allocate funds') . '" alt="" /></a></td> </tr>', $myrow['typename'], $myrow['transno'], @@ -466,7 +468,7 @@ //If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){ printf($BaseFormatString . - '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>', + '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>', $myrow['typename'], $myrow['transno'], ConvertSQLDate($myrow['trandate']), @@ -497,7 +499,7 @@ //If security token 8 in the allowed page security tokens then assumed ok for GL trans inquiries if ($_SESSION['CompanyRecord']['gllink_debtors']== 1 AND in_array(8,$_SESSION['AllowedPageSecurityTokens'])){ printf($BaseFormatString . - '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>', + '<td><a href="%s/GLTransInquiry.php?TypeID=%s&TransNo=%s">' . _('View GL Entries') . ' <a></td></tr>', $myrow['typename'], $myrow['transno'], ConvertSQLDate($myrow['trandate']), Modified: trunk/CustomerReceipt.php =================================================================== --- trunk/CustomerReceipt.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerReceipt.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -729,7 +729,8 @@ /*set up the form whatever */ -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Type='.$_GET['Type'] . '" method="post" name="form1">'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Type='.$_GET['Type'] . '" method="post" id="form1">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*show the batch header details and the entries in the batch so far */ @@ -755,7 +756,7 @@ <table class="selection"> <tr> <td>' . _('Bank Account') . ':</td> - <td><select tabindex="1" name="BankAccount" onChange="ReloadForm(form1.BatchInput)">'; + <td><select tabindex="1" name="BankAccount" onchange="ReloadForm(form1.BatchInput)">'; if (DB_num_rows($AccountsResults)==0){ echo '</select></td> @@ -785,11 +786,11 @@ 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> - <td><select tabindex="3" name="Currency" onChange="ReloadForm(form1.BatchInput)">'; + <td><select tabindex="3" name="Currency" onchange="ReloadForm(form1.BatchInput)">'; if (!isset($_SESSION['ReceiptBatch']->Currency)){ $_SESSION['ReceiptBatch']->Currency=$_SESSION['CompanyRecord']['currencydefault']; @@ -994,7 +995,7 @@ echo '<br /> <table class="selection"> <tr> - <th colspan="2"><font size="2" color="navy">' . _('General Ledger Receipt Entry') . '</font></th> + <th colspan="2">' . _('General Ledger Receipt Entry') . '</th> </tr>'; //Select the tag @@ -1101,15 +1102,15 @@ 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') . '</p> <table class="selection"> <tr> <td>' . _('Text in the Customer') . ' ' . '<b>' . _('name') . '</b>:</td> <td><input tabindex="9" type="text" name="Keywords" size="15" maxlength="25" /></td> - <td><font size="3"><b>' . _('OR') . '</b></font></td> + <td><b>' . _('OR') . '</b></td> <td>' . _('Text extract in the Customer') . ' ' . '<b>' . _('code') . '</b>:</td> <td><input tabindex="10" type="text" name="CustCode" size="10" maxlength="18" /></td> - <td><font size="3"><b>' . _('OR') . '</b></font></td> + <td><b>' . _('OR') . '</b></td> <td>' . _('Customer invoice number') . ':</td> <td><input tabindex="11" type="text" name="CustInvNo" size="8" maxlength="8" /></td> </tr> @@ -1170,6 +1171,7 @@ <input tabindex="13" type="submit" name="CommitBatch" value="' . _('Accept and Process Batch') . '" /> </div>'; } +echo '</div>'; echo '</form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/CustomerTransInquiry.php =================================================================== --- trunk/CustomerTransInquiry.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerTransInquiry.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -13,6 +13,7 @@ <br />'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> @@ -58,6 +59,7 @@ <div class="centre"> <input tabindex="4" type="submit" name="ShowResults" value="' . _('Show Transactions') . '" /> </div> + </div> </form>'; if (isset($_POST['ShowResults']) && $_POST['TransType'] != ''){ @@ -128,7 +130,7 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td width="200">%s</td> + <td style="width:200px">%s</td> <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> Modified: trunk/CustomerTypes.php =================================================================== --- trunk/CustomerTypes.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/CustomerTypes.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -199,8 +199,8 @@ printf('<td>%s</td> <td>%s</td> - <td><a href="%sSelectedType=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedType=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this Customer Type?') . '");\'>' . _('Delete') . '</td> + <td><a href="%sSelectedType=%s">' . _('Edit') . '</a></td> + <td><a href="%sSelectedType=%s&delete=yes" onclick=\'return confirm("' . _('Are you sure you wish to delete this Customer Type?') . '");\'>' . _('Delete') . '</a></td> </tr>', $myrow[0], $myrow[1], @@ -216,13 +216,14 @@ //end of ifs and buts! if (isset($SelectedType)) { - echo '<div class="centre"><p><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Show All Types Defined') . '</a></div><p>'; + echo '<div class="centre"><br /><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Show All Types Defined') . '</a></div>'; } if (! isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class="selection">'; //Main table + echo '<br />'; // The user wish to EDIT an existing type @@ -256,13 +257,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 '</table>'; // close main table - echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>'; - + echo '<br /><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>'; + echo '</div>'; echo '</form>'; } // end if user wish to delete Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/Customers.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -53,7 +53,7 @@ $i++; } elseif ($_SESSION['AutoDebtorNo']==0 AND (ContainsIllegalCharacters($_POST['DebtorNo']) OR mb_strpos($_POST['DebtorNo'], ' '))) { $InputError = 1; - prnMsg( _('The customer code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error'); + prnMsg( _('The customer code cannot contain any of the following characters') . " . - ' & + \" " . _('or a space'),'error'); $Errors[$i] = 'DebtorNo'; $i++; } elseif (mb_strlen($_POST['Address1']) >40) { @@ -425,6 +425,7 @@ exit; } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="New" value="Yes" />'; @@ -441,25 +442,25 @@ } 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>'; @@ -469,14 +470,14 @@ $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>'; } else { - echo '<tr><td>' . _('Sales Type/Price List') . ':</td> + echo '<tr><td>' . _('Sales Type') . '/' . _('Price List') . ':</td> <td><select tabindex="9" name="SalesType">'; while ($myrow = DB_fetch_array($result)) { echo '<option value="'. $myrow['typeabbrev'] . '">' . $myrow['sales_type'] . '</option>'; } //end while loopre DB_data_seek($result,0); - echo '</select></td></tr>'; + echo '</select></td></tr>'; } // Show Customer Type drop down list @@ -504,7 +505,7 @@ <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="text" class="number" name="Discount" value="0" size="5" maxlength="4" /></td> </tr> <tr> <td>' . _('Discount Code') . ':</td> @@ -512,7 +513,7 @@ </tr> <tr> <td>' . _('Payment Discount Percent') . ':</td> - <td><input tabindex="13" type="textbox" class ="number" name="PymtDiscount" value="0" size="5" maxlength="4" /></td> + <td><input tabindex="13" type="text" class ="number" name="PymtDiscount" value="0" size="5" maxlength="4" /></td> </tr> <tr> <td>' . _('Credit Limit') . ':</td> @@ -608,10 +609,11 @@ if ($DataError ==0){ echo '<br /> <div class="centre"> - <input tabindex="20" type="submit" name="submit" value="' . _('Add New Customer') . '" /> <input tabindex="21" type="submit" action="Reset" value="' . _('Reset') . '" /> + <input tabindex="20" type="submit" name="submit" value="' . _('Add New Customer') . '" /> <input tabindex="21" type="submit" value="' . _('Reset') . '" /> </div>'; } + echo '</div>'; echo '</form>'; } else { @@ -619,9 +621,10 @@ //DebtorNo exists - either passed when calling the form or from the form itself echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> - <tr><td valign="top"><table class="selection">'; + <tr><td valign="top">'; if (!isset($_POST['New'])) { $sql = "SELECT debtorsmaster.debtorno, @@ -655,10 +658,10 @@ /* if $AutoDebtorNo in config.php has not been set or if it has been set to a number less than one, then display the DebtorNo */ if ($_SESSION['AutoDebtorNo']== 0 ) { - echo '<tr> + echo '<table class="selection"><tr> <td>' . _('Customer Code') . ':</td> <td>' . $DebtorNo. '</td> - </tr>'; + </tr></table><br />'; } $_POST['CustName'] = $myrow['name']; $_POST['Address1'] = $myrow['address1']; @@ -682,10 +685,12 @@ $_POST['typeid'] = $myrow['typeid']; echo '<input type="hidden" name="DebtorNo" value="' . $DebtorNo . '" />'; + echo '<table class="selection">'; } else { // its a new customer being added echo '<input type="hidden" name="New" value="Yes" />'; + echo '<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 */ @@ -773,6 +778,7 @@ } } //end while loop DB_data_seek($result,0); + echo '</select></td></tr>'; } // Select Customer types for drop down list for SELECT/UPDATE @@ -1043,7 +1049,7 @@ printf('<td>%s</td> <td>%s</td> <td>%s</td> - <td><a href=mailto:%s>%s</a></td> + <td><a href="mailto:%s">%s</a></td> <td>%s</td> </tr>', $myrow['contactname'], @@ -1056,10 +1062,10 @@ printf('<td>%s</td> <td>%s</td> <td>%s</td> - <td><a href=mailto:%s>%s</a></td> + <td><a href="mailto:%s">%s</a></td> <td>%s</td> - <td><a href="AddCustomerContacts.php?Id=%s&DebtorNo=%s">'. _('Edit'). '</a></td> - <td><a href="%sID=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this customer contact?') . '\');">'. _('Delete'). '</a></td> + <td><a href="AddCustomerContacts.php?Id=%s&DebtorNo=%s">'. _('Edit'). '</a></td> + <td><a href="%sID=%s&DebtorNo=%s&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this customer contact?') . '\');">'. _('Delete'). '</a></td> </tr>', $myrow['contactname'], $myrow['role'], @@ -1082,16 +1088,17 @@ echo '<div class="centre"> <input type="submit" name="submit" value="' . _('Add New Customer') . '" /> <input type="submit" name="Reset" value="' . _('Reset') . '" /> - </div> - </form>'; + </div>'; } elseif (!isset($_GET['Modify'])){ echo '<br /> <div class="centre"> <input type="submit" name="submit" value="' . _('Update Customer') . '" /> - <input type="submit" name="delete" value="' . _('Delete Customer') . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');" />'; + <input type="submit" name="delete" value="' . _('Delete Customer') . '" onclick="return confirm(\'' . _('Are You Sure?') . '\');" /> + </div>'; } - echo '</div>'; + echo '</div> + </form>'; } // end of main ifs include('includes/footer.inc'); Modified: trunk/GLAccounts.php =================================================================== --- trunk/GLAccounts.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/GLAccounts.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -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); Modified: trunk/MRPDemands.php =================================================================== --- trunk/MRPDemands.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/MRPDemands.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -329,7 +329,7 @@ if (!isset($StockID)) { echo'</font><table cellpadding="3" colspan="4" class="selection"><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><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> <td><input tabindex="2" type="text" name="StockCode" size="15" maxlength="20" /></td> Modified: trunk/PaymentMethods.php =================================================================== --- trunk/PaymentMethods.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/PaymentMethods.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -254,7 +254,7 @@ } echo '<tr> <td>' . _('Payment Method') . ':' . '</td> - <td><input type="Text" '. (in_array('MethodName',$Errors) ? 'class="inputerror"' : '' ) .' name="MethodName" size="30" maxlength="30" value="' . $_POST['MethodName'] . '" /></td> + <td><input type="text" '. (in_array('MethodName',$Errors) ? 'class="inputerror"' : '' ) .' name="MethodName" size="30" maxlength="30" value="' . $_POST['MethodName'] . '" /></td> </tr>'; echo '<tr> <td>' . _('Use For Payments') . ':' . '</td> Modified: trunk/PcTabs.php =================================================================== --- trunk/PcTabs.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/PcTabs.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -370,7 +370,7 @@ } echo '<tr><td>' . _('Limit Of Tab') . ':</td> - <td><input type="Text" class="number" name="TabLimit" size="12" maxlength="11" value="' . $_POST['TabLimit'] . '" /></td></tr>'; + <td><input type="text" class="number" name="TabLimit" size="12" maxlength="11" value="' . $_POST['TabLimit'] . '" /></td></tr>'; echo '<tr><td>' . _('Assigner') . ':</td> <td><select name="SelectAssigner">'; Modified: trunk/SalesTypes.php =================================================================== --- trunk/SalesTypes.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/SalesTypes.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -266,7 +266,7 @@ $_POST['Sales_Type']=''; } echo '<tr><td>' . _('Sales Type Name') . ':</td> - <td><input type="Text" name="Sales_Type" value="' . $_POST['Sales_Type'] . '" /></td></tr>'; + <td><input type="text" name="Sales_Type" value="' . $_POST['Sales_Type'] . '" /></td></tr>'; echo '</td></tr></table>'; // close main table Modified: trunk/SelectCustomer.php =================================================================== --- trunk/SelectCustomer.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/SelectCustomer.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -284,7 +284,7 @@ if (isset($_POST['CustPhone'])) { echo '<input type="text" name="CustPhone" value="' . $_POST['CustPhone'] . '" size="15" maxlength="18" />'; } else { - echo '<input type="Text" name="CustPhone" size="15" maxlength="18" />'; + echo '<input type="text" name="CustPhone" size="15" maxlength="18" />'; } echo '</td>'; echo '<td><font size="3"><b>' . _('OR') . '</b></font></td> Modified: trunk/SelectOrderItems.php =================================================================== --- trunk/SelectOrderItems.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/SelectOrderItems.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -1627,14 +1627,14 @@ } echo '</select></td> - <td><b>' . _('Enter partial Description') . ':</b><input tabindex="2" type="Text" name="Keywords" size="20" maxlength="25" value="' ; + <td><b>' . _('Enter partial Description') . ':</b><input tabindex="2" type="text" name="Keywords" size="20" maxlength="25" value="' ; if (isset($_POST['Keywords'])) { echo $_POST['Keywords'] ; } echo '" /></td>'; - echo '<td align="right"><b>' . _('OR') . ' ' . _('Enter extract of the Stock Code') . ':</b><input tabindex="3" type="Text" name="StockCode" size="15" maxlength="18" value="'; + echo '<td align="right"><b>' . _('OR') . ' ' . _('Enter extract of the Stock Code') . ':</b><input tabindex="3" type="text" name="StockCode" size="15" maxlength="18" value="'; if (isset($_POST['StockCode'])) { echo $_POST['StockCode']; } Modified: trunk/WorkCentres.php =================================================================== --- trunk/WorkCentres.php 2012-03-11 09:13:20 UTC (rev 5062) +++ trunk/WorkCentres.php 2012-03-11 19:41:09 UTC (rev 5063) @@ -216,7 +216,7 @@ } echo '<tr> <td>' . _('Work Centre Description') . ':</td> - <td><input type="Text" name="Description" size="21" maxlength="20" value="' . $_POST['Description'] . '" /></td> + <td><input type="text" name="Description" size="21" maxlength="20" value="' . $_POST['Description'] . '" /></td> </tr> <tr><td>' . _('Location') . ':</td> <td><select name="Location">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-03-11 21:30:07
|
Revision: 5064 http://web-erp.svn.sourceforge.net/web-erp/?rev=5064&view=rev Author: vvs2012 Date: 2012-03-11 21:29:58 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Added missing file encodings_maps.php to TCPDF Modified Paths: -------------- trunk/doc/Change.log Added Paths: ----------- trunk/includes/tcpdf/encodings_maps.php Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-03-11 19:41:09 UTC (rev 5063) +++ trunk/doc/Change.log 2012-03-11 21:29:58 UTC (rev 5064) @@ -1,5 +1,6 @@ webERP Change Log +11/3/12 Vitaly: Added missing file encodings_maps.php to TCPDF 11/3/12 Dr. Magdy Salib - ar_EG.utf8 arabic translation started 11/3/12 James Dupin: French language translation update 8/3/12 Ricard: Added parameter for show stock image on select product screen - SelectProduct.php and SystemParameters.php Added: trunk/includes/tcpdf/encodings_maps.php =================================================================== --- trunk/includes/tcpdf/encodings_maps.php (rev 0) +++ trunk/includes/tcpdf/encodings_maps.php 2012-03-11 21:29:58 UTC (rev 5064) @@ -0,0 +1,846 @@ +<?php +//============================================================+ +// File name : encodings_maps.php +// Version : 1.0.001 +// Begin : 2011-10-01 +// Last Update : 2011-11-15 +// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - in...@te... +// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html) +// ------------------------------------------------------------------- +// Copyright (C) 2008-2012 Nicola Asuni - Tecnick.com LTD +// +// This file is part of TCPDF software library. +// +// TCPDF is free software: you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// TCPDF is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with TCPDF. If not, see <http://www.gnu.org/licenses/>. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Unicode data for TCPDF library. +// +//============================================================+ + +/** + * @file + * Font encodings maps class for TCPDF library. + * @author Nicola Asuni + * @package com.tecnick.tcpdf + * @since 5.9.123 (2011-10-01) + */ + +/** + * @class TCPDF_ENCODING_MAPS + * This is a PHP class containing Font encodings maps class for TCPDF library. + * @package com.tecnick.tcpdf + * @version 1.0.000 + * @author Nicola Asuni - in...@te... + */ +class TCPDF_ENCODING_MAPS { + +/** + * Array of Encoding Maps. + * @public + */ +public $encmap = array( + +// encoding map for: cp1251 +'cp1251' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'afii10051',129=>'afii10052',130=>'quotesinglbase',131=>'afii10100',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'Euro',137=>'perthousand',138=>'afii10058',139=>'guilsinglleft',140=>'afii10059',141=>'afii10061',142=>'afii10060',143=>'afii10145', +144=>'afii10099',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'trademark',154=>'afii10106',155=>'guilsinglright',156=>'afii10107',157=>'afii10109',158=>'afii10108',159=>'afii10193', +160=>'space',161=>'afii10062',162=>'afii10110',163=>'afii10057',164=>'currency',165=>'afii10050',166=>'brokenbar',167=>'section', +168=>'afii10023',169=>'copyright',170=>'afii10053',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'afii10056', +176=>'degree',177=>'plusminus',178=>'afii10055',179=>'afii10103',180=>'afii10098',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'afii10071',185=>'afii61352',186=>'afii10101',187=>'guillemotright',188=>'afii10105',189=>'afii10054',190=>'afii10102',191=>'afii10104', +192=>'afii10017',193=>'afii10018',194=>'afii10019',195=>'afii10020',196=>'afii10021',197=>'afii10022',198=>'afii10024',199=>'afii10025', +200=>'afii10026',201=>'afii10027',202=>'afii10028',203=>'afii10029',204=>'afii10030',205=>'afii10031',206=>'afii10032',207=>'afii10033', +208=>'afii10034',209=>'afii10035',210=>'afii10036',211=>'afii10037',212=>'afii10038',213=>'afii10039',214=>'afii10040',215=>'afii10041', +216=>'afii10042',217=>'afii10043',218=>'afii10044',219=>'afii10045',220=>'afii10046',221=>'afii10047',222=>'afii10048',223=>'afii10049', +224=>'afii10065',225=>'afii10066',226=>'afii10067',227=>'afii10068',228=>'afii10069',229=>'afii10070',230=>'afii10072',231=>'afii10073', +232=>'afii10074',233=>'afii10075',234=>'afii10076',235=>'afii10077',236=>'afii10078',237=>'afii10079',238=>'afii10080',239=>'afii10081', +240=>'afii10082',241=>'afii10083',242=>'afii10084',243=>'afii10085',244=>'afii10086',245=>'afii10087',246=>'afii10088',247=>'afii10089', +248=>'afii10090',249=>'afii10091',250=>'afii10092',251=>'afii10093',252=>'afii10094',253=>'afii10095',254=>'afii10096',255=>'afii10097'), + +// encoding map for: iso-8859-4 +'iso-8859-4' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'Aogonek',162=>'kgreenlandic',163=>'Rcommaaccent',164=>'currency',165=>'Itilde',166=>'Lcommaaccent',167=>'section', +168=>'dieresis',169=>'Scaron',170=>'Emacron',171=>'Gcommaaccent',172=>'Tbar',173=>'hyphen',174=>'Zcaron',175=>'macron', +176=>'degree',177=>'aogonek',178=>'ogonek',179=>'rcommaaccent',180=>'acute',181=>'itilde',182=>'lcommaaccent',183=>'caron', +184=>'cedilla',185=>'scaron',186=>'emacron',187=>'gcommaaccent',188=>'tbar',189=>'Eng',190=>'zcaron',191=>'eng', +192=>'Amacron',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Iogonek', +200=>'Ccaron',201=>'Eacute',202=>'Eogonek',203=>'Edieresis',204=>'Edotaccent',205=>'Iacute',206=>'Icircumflex',207=>'Imacron', +208=>'Dcroat',209=>'Ncommaaccent',210=>'Omacron',211=>'Kcommaaccent',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Uogonek',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Utilde',222=>'Umacron',223=>'germandbls', +224=>'amacron',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'iogonek', +232=>'ccaron',233=>'eacute',234=>'eogonek',235=>'edieresis',236=>'edotaccent',237=>'iacute',238=>'icircumflex',239=>'imacron', +240=>'dcroat',241=>'ncommaaccent',242=>'omacron',243=>'kcommaaccent',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'uogonek',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'utilde',254=>'umacron',255=>'dotaccent'), + +// encoding map for: cp1255 +'cp1255' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'circumflex',137=>'perthousand',138=>'.notdef',139=>'guilsinglleft',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'tilde',153=>'trademark',154=>'.notdef',155=>'guilsinglright',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'afii57636',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'multiply',171=>'guillemotleft',172=>'logicalnot',173=>'sfthyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'middot', +184=>'cedilla',185=>'onesuperior',186=>'divide',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'afii57799',193=>'afii57801',194=>'afii57800',195=>'afii57802',196=>'afii57793',197=>'afii57794',198=>'afii57795',199=>'afii57798', +200=>'afii57797',201=>'afii57806',202=>'.notdef',203=>'afii57796',204=>'afii57807',205=>'afii57839',206=>'afii57645',207=>'afii57841', +208=>'afii57842',209=>'afii57804',210=>'afii57803',211=>'afii57658',212=>'afii57716',213=>'afii57717',214=>'afii57718',215=>'gereshhebrew', +216=>'gershayimhebrew',217=>'.notdef',218=>'.notdef',219=>'.notdef',220=>'.notdef',221=>'.notdef',222=>'.notdef',223=>'.notdef', +224=>'afii57664',225=>'afii57665',226=>'afii57666',227=>'afii57667',228=>'afii57668',229=>'afii57669',230=>'afii57670',231=>'afii57671', +232=>'afii57672',233=>'afii57673',234=>'afii57674',235=>'afii57675',236=>'afii57676',237=>'afii57677',238=>'afii57678',239=>'afii57679', +240=>'afii57680',241=>'afii57681',242=>'afii57682',243=>'afii57683',244=>'afii57684',245=>'afii57685',246=>'afii57686',247=>'afii57687', +248=>'afii57688',249=>'afii57689',250=>'afii57690',251=>'.notdef',252=>'.notdef',253=>'afii299',254=>'afii300',255=>'.notdef'), + +// encoding map for: iso-8859-11 +'iso-8859-11' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'kokaithai',162=>'khokhaithai',163=>'khokhuatthai',164=>'khokhwaithai',165=>'khokhonthai',166=>'khorakhangthai',167=>'ngonguthai', +168=>'chochanthai',169=>'chochingthai',170=>'chochangthai',171=>'sosothai',172=>'chochoethai',173=>'yoyingthai',174=>'dochadathai',175=>'topatakthai', +176=>'thothanthai',177=>'thonangmonthothai',178=>'thophuthaothai',179=>'nonenthai',180=>'dodekthai',181=>'totaothai',182=>'thothungthai',183=>'thothahanthai', +184=>'thothongthai',185=>'nonuthai',186=>'bobaimaithai',187=>'poplathai',188=>'phophungthai',189=>'fofathai',190=>'phophanthai',191=>'fofanthai', +192=>'phosamphaothai',193=>'momathai',194=>'yoyakthai',195=>'roruathai',196=>'ruthai',197=>'lolingthai',198=>'luthai',199=>'wowaenthai', +200=>'sosalathai',201=>'sorusithai',202=>'sosuathai',203=>'hohipthai',204=>'lochulathai',205=>'oangthai',206=>'honokhukthai',207=>'paiyannoithai', +208=>'saraathai',209=>'maihanakatthai',210=>'saraaathai',211=>'saraamthai',212=>'saraithai',213=>'saraiithai',214=>'sarauethai',215=>'saraueethai', +216=>'sarauthai',217=>'sarauuthai',218=>'phinthuthai',219=>'.notdef',220=>'.notdef',221=>'.notdef',222=>'.notdef',223=>'bahtthai', +224=>'saraethai',225=>'saraaethai',226=>'saraothai',227=>'saraaimaimuanthai',228=>'saraaimaimalaithai',229=>'lakkhangyaothai',230=>'maiyamokthai',231=>'maitaikhuthai', +232=>'maiekthai',233=>'maithothai',234=>'maitrithai',235=>'maichattawathai',236=>'thanthakhatthai',237=>'nikhahitthai',238=>'yamakkanthai',239=>'fongmanthai', +240=>'zerothai',241=>'onethai',242=>'twothai',243=>'threethai',244=>'fourthai',245=>'fivethai',246=>'sixthai',247=>'seventhai', +248=>'eightthai',249=>'ninethai',250=>'angkhankhuthai',251=>'khomutthai',252=>'.notdef',253=>'.notdef',254=>'.notdef',255=>'.notdef'), + +// encoding map for: cp1257 +'cp1257' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'.notdef',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'.notdef',137=>'perthousand',138=>'.notdef',139=>'guilsinglleft',140=>'.notdef',141=>'dieresis',142=>'caron',143=>'cedilla', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'trademark',154=>'.notdef',155=>'guilsinglright',156=>'.notdef',157=>'macron',158=>'ogonek',159=>'.notdef', +160=>'space',161=>'.notdef',162=>'cent',163=>'sterling',164=>'currency',165=>'.notdef',166=>'brokenbar',167=>'section', +168=>'Oslash',169=>'copyright',170=>'Rcommaaccent',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'AE', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'oslash',185=>'onesuperior',186=>'rcommaaccent',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'ae', +192=>'Aogonek',193=>'Iogonek',194=>'Amacron',195=>'Cacute',196=>'Adieresis',197=>'Aring',198=>'Eogonek',199=>'Emacron', +200=>'Ccaron',201=>'Eacute',202=>'Zacute',203=>'Edotaccent',204=>'Gcommaaccent',205=>'Kcommaaccent',206=>'Imacron',207=>'Lcommaaccent', +208=>'Scaron',209=>'Nacute',210=>'Ncommaaccent',211=>'Oacute',212=>'Omacron',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Uogonek',217=>'Lslash',218=>'Sacute',219=>'Umacron',220=>'Udieresis',221=>'Zdotaccent',222=>'Zcaron',223=>'germandbls', +224=>'aogonek',225=>'iogonek',226=>'amacron',227=>'cacute',228=>'adieresis',229=>'aring',230=>'eogonek',231=>'emacron', +232=>'ccaron',233=>'eacute',234=>'zacute',235=>'edotaccent',236=>'gcommaaccent',237=>'kcommaaccent',238=>'imacron',239=>'lcommaaccent', +240=>'scaron',241=>'nacute',242=>'ncommaaccent',243=>'oacute',244=>'omacron',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'uogonek',249=>'lslash',250=>'sacute',251=>'umacron',252=>'udieresis',253=>'zdotaccent',254=>'zcaron',255=>'dotaccent'), + +// encoding map for: cp1258 +'cp1258' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'circumflex',137=>'perthousand',138=>'.notdef',139=>'guilsinglleft',140=>'OE',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'tilde',153=>'trademark',154=>'.notdef',155=>'guilsinglright',156=>'oe',157=>'.notdef',158=>'.notdef',159=>'Ydieresis', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Abreve',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'gravecomb',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Dcroat',209=>'Ntilde',210=>'hookabovecomb',211=>'Oacute',212=>'Ocircumflex',213=>'Ohorn',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Uhorn',222=>'tildecomb',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'abreve',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'acutecomb',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'dcroat',241=>'ntilde',242=>'dotbelowcomb',243=>'oacute',244=>'ocircumflex',245=>'ohorn',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'uhorn',254=>'dong',255=>'ydieresis'), + +// encoding map for: cp1253 +'cp1253' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'.notdef',137=>'perthousand',138=>'.notdef',139=>'guilsinglleft',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'trademark',154=>'.notdef',155=>'guilsinglright',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'dieresistonos',162=>'Alphatonos',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'.notdef',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'afii00208', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'tonos',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'Epsilontonos',185=>'Etatonos',186=>'Iotatonos',187=>'guillemotright',188=>'Omicrontonos',189=>'onehalf',190=>'Upsilontonos',191=>'Omegatonos', +192=>'iotadieresistonos',193=>'Alpha',194=>'Beta',195=>'Gamma',196=>'Delta',197=>'Epsilon',198=>'Zeta',199=>'Eta', +200=>'Theta',201=>'Iota',202=>'Kappa',203=>'Lambda',204=>'Mu',205=>'Nu',206=>'Xi',207=>'Omicron', +208=>'Pi',209=>'Rho',210=>'.notdef',211=>'Sigma',212=>'Tau',213=>'Upsilon',214=>'Phi',215=>'Chi', +216=>'Psi',217=>'Omega',218=>'Iotadieresis',219=>'Upsilondieresis',220=>'alphatonos',221=>'epsilontonos',222=>'etatonos',223=>'iotatonos', +224=>'upsilondieresistonos',225=>'alpha',226=>'beta',227=>'gamma',228=>'delta',229=>'epsilon',230=>'zeta',231=>'eta', +232=>'theta',233=>'iota',234=>'kappa',235=>'lambda',236=>'mu',237=>'nu',238=>'xi',239=>'omicron', +240=>'pi',241=>'rho',242=>'sigma1',243=>'sigma',244=>'tau',245=>'upsilon',246=>'phi',247=>'chi', +248=>'psi',249=>'omega',250=>'iotadieresis',251=>'upsilondieresis',252=>'omicrontonos',253=>'upsilontonos',254=>'omegatonos',255=>'.notdef'), + +// encoding map for: cp874 +'cp874' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'ellipsis',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'kokaithai',162=>'khokhaithai',163=>'khokhuatthai',164=>'khokhwaithai',165=>'khokhonthai',166=>'khorakhangthai',167=>'ngonguthai', +168=>'chochanthai',169=>'chochingthai',170=>'chochangthai',171=>'sosothai',172=>'chochoethai',173=>'yoyingthai',174=>'dochadathai',175=>'topatakthai', +176=>'thothanthai',177=>'thonangmonthothai',178=>'thophuthaothai',179=>'nonenthai',180=>'dodekthai',181=>'totaothai',182=>'thothungthai',183=>'thothahanthai', +184=>'thothongthai',185=>'nonuthai',186=>'bobaimaithai',187=>'poplathai',188=>'phophungthai',189=>'fofathai',190=>'phophanthai',191=>'fofanthai', +192=>'phosamphaothai',193=>'momathai',194=>'yoyakthai',195=>'roruathai',196=>'ruthai',197=>'lolingthai',198=>'luthai',199=>'wowaenthai', +200=>'sosalathai',201=>'sorusithai',202=>'sosuathai',203=>'hohipthai',204=>'lochulathai',205=>'oangthai',206=>'honokhukthai',207=>'paiyannoithai', +208=>'saraathai',209=>'maihanakatthai',210=>'saraaathai',211=>'saraamthai',212=>'saraithai',213=>'saraiithai',214=>'sarauethai',215=>'saraueethai', +216=>'sarauthai',217=>'sarauuthai',218=>'phinthuthai',219=>'.notdef',220=>'.notdef',221=>'.notdef',222=>'.notdef',223=>'bahtthai', +224=>'saraethai',225=>'saraaethai',226=>'saraothai',227=>'saraaimaimuanthai',228=>'saraaimaimalaithai',229=>'lakkhangyaothai',230=>'maiyamokthai',231=>'maitaikhuthai', +232=>'maiekthai',233=>'maithothai',234=>'maitrithai',235=>'maichattawathai',236=>'thanthakhatthai',237=>'nikhahitthai',238=>'yamakkanthai',239=>'fongmanthai', +240=>'zerothai',241=>'onethai',242=>'twothai',243=>'threethai',244=>'fourthai',245=>'fivethai',246=>'sixthai',247=>'seventhai', +248=>'eightthai',249=>'ninethai',250=>'angkhankhuthai',251=>'khomutthai',252=>'.notdef',253=>'.notdef',254=>'.notdef',255=>'.notdef'), + +// encoding map for: iso-8859-2 +'iso-8859-2' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'Aogonek',162=>'breve',163=>'Lslash',164=>'currency',165=>'Lcaron',166=>'Sacute',167=>'section', +168=>'dieresis',169=>'Scaron',170=>'Scedilla',171=>'Tcaron',172=>'Zacute',173=>'hyphen',174=>'Zcaron',175=>'Zdotaccent', +176=>'degree',177=>'aogonek',178=>'ogonek',179=>'lslash',180=>'acute',181=>'lcaron',182=>'sacute',183=>'caron', +184=>'cedilla',185=>'scaron',186=>'scedilla',187=>'tcaron',188=>'zacute',189=>'hungarumlaut',190=>'zcaron',191=>'zdotaccent', +192=>'Racute',193=>'Aacute',194=>'Acircumflex',195=>'Abreve',196=>'Adieresis',197=>'Lacute',198=>'Cacute',199=>'Ccedilla', +200=>'Ccaron',201=>'Eacute',202=>'Eogonek',203=>'Edieresis',204=>'Ecaron',205=>'Iacute',206=>'Icircumflex',207=>'Dcaron', +208=>'Dcroat',209=>'Nacute',210=>'Ncaron',211=>'Oacute',212=>'Ocircumflex',213=>'Ohungarumlaut',214=>'Odieresis',215=>'multiply', +216=>'Rcaron',217=>'Uring',218=>'Uacute',219=>'Uhungarumlaut',220=>'Udieresis',221=>'Yacute',222=>'Tcommaaccent',223=>'germandbls', +224=>'racute',225=>'aacute',226=>'acircumflex',227=>'abreve',228=>'adieresis',229=>'lacute',230=>'cacute',231=>'ccedilla', +232=>'ccaron',233=>'eacute',234=>'eogonek',235=>'edieresis',236=>'ecaron',237=>'iacute',238=>'icircumflex',239=>'dcaron', +240=>'dcroat',241=>'nacute',242=>'ncaron',243=>'oacute',244=>'ocircumflex',245=>'ohungarumlaut',246=>'odieresis',247=>'divide', +248=>'rcaron',249=>'uring',250=>'uacute',251=>'uhungarumlaut',252=>'udieresis',253=>'yacute',254=>'tcommaaccent',255=>'dotaccent'), + +// encoding map for: cp1250 +'cp1250' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'.notdef',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'.notdef',137=>'perthousand',138=>'Scaron',139=>'guilsinglleft',140=>'Sacute',141=>'Tcaron',142=>'Zcaron',143=>'Zacute', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'trademark',154=>'scaron',155=>'guilsinglright',156=>'sacute',157=>'tcaron',158=>'zcaron',159=>'zacute', +160=>'space',161=>'caron',162=>'breve',163=>'Lslash',164=>'currency',165=>'Aogonek',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'Scedilla',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'Zdotaccent', +176=>'degree',177=>'plusminus',178=>'ogonek',179=>'lslash',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'aogonek',186=>'scedilla',187=>'guillemotright',188=>'Lcaron',189=>'hungarumlaut',190=>'lcaron',191=>'zdotaccent', +192=>'Racute',193=>'Aacute',194=>'Acircumflex',195=>'Abreve',196=>'Adieresis',197=>'Lacute',198=>'Cacute',199=>'Ccedilla', +200=>'Ccaron',201=>'Eacute',202=>'Eogonek',203=>'Edieresis',204=>'Ecaron',205=>'Iacute',206=>'Icircumflex',207=>'Dcaron', +208=>'Dcroat',209=>'Nacute',210=>'Ncaron',211=>'Oacute',212=>'Ocircumflex',213=>'Ohungarumlaut',214=>'Odieresis',215=>'multiply', +216=>'Rcaron',217=>'Uring',218=>'Uacute',219=>'Uhungarumlaut',220=>'Udieresis',221=>'Yacute',222=>'Tcommaaccent',223=>'germandbls', +224=>'racute',225=>'aacute',226=>'acircumflex',227=>'abreve',228=>'adieresis',229=>'lacute',230=>'cacute',231=>'ccedilla', +232=>'ccaron',233=>'eacute',234=>'eogonek',235=>'edieresis',236=>'ecaron',237=>'iacute',238=>'icircumflex',239=>'dcaron', +240=>'dcroat',241=>'nacute',242=>'ncaron',243=>'oacute',244=>'ocircumflex',245=>'ohungarumlaut',246=>'odieresis',247=>'divide', +248=>'rcaron',249=>'uring',250=>'uacute',251=>'uhungarumlaut',252=>'udieresis',253=>'yacute',254=>'tcommaaccent',255=>'dotaccent'), + +// encoding map for: iso-8859-7 +'iso-8859-7' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'quoteleft',162=>'quoteright',163=>'sterling',164=>'.notdef',165=>'.notdef',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'.notdef',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'.notdef',175=>'afii00208', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'tonos',181=>'dieresistonos',182=>'Alphatonos',183=>'periodcentered', +184=>'Epsilontonos',185=>'Etatonos',186=>'Iotatonos',187=>'guillemotright',188=>'Omicrontonos',189=>'onehalf',190=>'Upsilontonos',191=>'Omegatonos', +192=>'iotadieresistonos',193=>'Alpha',194=>'Beta',195=>'Gamma',196=>'Delta',197=>'Epsilon',198=>'Zeta',199=>'Eta', +200=>'Theta',201=>'Iota',202=>'Kappa',203=>'Lambda',204=>'Mu',205=>'Nu',206=>'Xi',207=>'Omicron', +208=>'Pi',209=>'Rho',210=>'.notdef',211=>'Sigma',212=>'Tau',213=>'Upsilon',214=>'Phi',215=>'Chi', +216=>'Psi',217=>'Omega',218=>'Iotadieresis',219=>'Upsilondieresis',220=>'alphatonos',221=>'epsilontonos',222=>'etatonos',223=>'iotatonos', +224=>'upsilondieresistonos',225=>'alpha',226=>'beta',227=>'gamma',228=>'delta',229=>'epsilon',230=>'zeta',231=>'eta', +232=>'theta',233=>'iota',234=>'kappa',235=>'lambda',236=>'mu',237=>'nu',238=>'xi',239=>'omicron', +240=>'pi',241=>'rho',242=>'sigma1',243=>'sigma',244=>'tau',245=>'upsilon',246=>'phi',247=>'chi', +248=>'psi',249=>'omega',250=>'iotadieresis',251=>'upsilondieresis',252=>'omicrontonos',253=>'upsilontonos',254=>'omegatonos',255=>'.notdef'), + +// encoding map for: iso-8859-9 +'iso-8859-9' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Gbreve',209=>'Ntilde',210=>'Ograve',211=>'Oacute',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Idotaccent',222=>'Scedilla',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'igrave',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'gbreve',241=>'ntilde',242=>'ograve',243=>'oacute',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'dotlessi',254=>'scedilla',255=>'ydieresis'), + +// encoding map for: cp1252 +'cp1252' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'circumflex',137=>'perthousand',138=>'Scaron',139=>'guilsinglleft',140=>'OE',141=>'.notdef',142=>'Zcaron',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'tilde',153=>'trademark',154=>'scaron',155=>'guilsinglright',156=>'oe',157=>'.notdef',158=>'zcaron',159=>'Ydieresis', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Eth',209=>'Ntilde',210=>'Ograve',211=>'Oacute',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Yacute',222=>'Thorn',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'igrave',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'eth',241=>'ntilde',242=>'ograve',243=>'oacute',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'yacute',254=>'thorn',255=>'ydieresis'), + +// encoding map for: cp1254 +'cp1254' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'circumflex',137=>'perthousand',138=>'Scaron',139=>'guilsinglleft',140=>'OE',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'tilde',153=>'trademark',154=>'scaron',155=>'guilsinglright',156=>'oe',157=>'.notdef',158=>'.notdef',159=>'Ydieresis', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Gbreve',209=>'Ntilde',210=>'Ograve',211=>'Oacute',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Idotaccent',222=>'Scedilla',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'igrave',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'gbreve',241=>'ntilde',242=>'ograve',243=>'oacute',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'dotlessi',254=>'scedilla',255=>'ydieresis'), + +// encoding map for: iso-8859-1 +'iso-8859-1' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Eth',209=>'Ntilde',210=>'Ograve',211=>'Oacute',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Yacute',222=>'Thorn',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'igrave',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'eth',241=>'ntilde',242=>'ograve',243=>'oacute',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'yacute',254=>'thorn',255=>'ydieresis'), + +// encoding map for: iso-8859-15 +'iso-8859-15' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'Euro',165=>'yen',166=>'Scaron',167=>'section', +168=>'scaron',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'Zcaron',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'zcaron',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'OE',189=>'oe',190=>'Ydieresis',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave... [truncated message content] |
From: <vv...@us...> - 2012-03-11 21:30:07
|
Revision: 5064 http://web-erp.svn.sourceforge.net/web-erp/?rev=5064&view=rev Author: vvs2012 Date: 2012-03-11 21:29:58 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Added missing file encodings_maps.php to TCPDF Modified Paths: -------------- trunk/doc/Change.log Added Paths: ----------- trunk/includes/tcpdf/encodings_maps.php Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-03-11 19:41:09 UTC (rev 5063) +++ trunk/doc/Change.log 2012-03-11 21:29:58 UTC (rev 5064) @@ -1,5 +1,6 @@ webERP Change Log +11/3/12 Vitaly: Added missing file encodings_maps.php to TCPDF 11/3/12 Dr. Magdy Salib - ar_EG.utf8 arabic translation started 11/3/12 James Dupin: French language translation update 8/3/12 Ricard: Added parameter for show stock image on select product screen - SelectProduct.php and SystemParameters.php Added: trunk/includes/tcpdf/encodings_maps.php =================================================================== --- trunk/includes/tcpdf/encodings_maps.php (rev 0) +++ trunk/includes/tcpdf/encodings_maps.php 2012-03-11 21:29:58 UTC (rev 5064) @@ -0,0 +1,846 @@ +<?php +//============================================================+ +// File name : encodings_maps.php +// Version : 1.0.001 +// Begin : 2011-10-01 +// Last Update : 2011-11-15 +// Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - in...@te... +// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html) +// ------------------------------------------------------------------- +// Copyright (C) 2008-2012 Nicola Asuni - Tecnick.com LTD +// +// This file is part of TCPDF software library. +// +// TCPDF is free software: you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// TCPDF is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with TCPDF. If not, see <http://www.gnu.org/licenses/>. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Unicode data for TCPDF library. +// +//============================================================+ + +/** + * @file + * Font encodings maps class for TCPDF library. + * @author Nicola Asuni + * @package com.tecnick.tcpdf + * @since 5.9.123 (2011-10-01) + */ + +/** + * @class TCPDF_ENCODING_MAPS + * This is a PHP class containing Font encodings maps class for TCPDF library. + * @package com.tecnick.tcpdf + * @version 1.0.000 + * @author Nicola Asuni - in...@te... + */ +class TCPDF_ENCODING_MAPS { + +/** + * Array of Encoding Maps. + * @public + */ +public $encmap = array( + +// encoding map for: cp1251 +'cp1251' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'afii10051',129=>'afii10052',130=>'quotesinglbase',131=>'afii10100',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'Euro',137=>'perthousand',138=>'afii10058',139=>'guilsinglleft',140=>'afii10059',141=>'afii10061',142=>'afii10060',143=>'afii10145', +144=>'afii10099',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'trademark',154=>'afii10106',155=>'guilsinglright',156=>'afii10107',157=>'afii10109',158=>'afii10108',159=>'afii10193', +160=>'space',161=>'afii10062',162=>'afii10110',163=>'afii10057',164=>'currency',165=>'afii10050',166=>'brokenbar',167=>'section', +168=>'afii10023',169=>'copyright',170=>'afii10053',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'afii10056', +176=>'degree',177=>'plusminus',178=>'afii10055',179=>'afii10103',180=>'afii10098',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'afii10071',185=>'afii61352',186=>'afii10101',187=>'guillemotright',188=>'afii10105',189=>'afii10054',190=>'afii10102',191=>'afii10104', +192=>'afii10017',193=>'afii10018',194=>'afii10019',195=>'afii10020',196=>'afii10021',197=>'afii10022',198=>'afii10024',199=>'afii10025', +200=>'afii10026',201=>'afii10027',202=>'afii10028',203=>'afii10029',204=>'afii10030',205=>'afii10031',206=>'afii10032',207=>'afii10033', +208=>'afii10034',209=>'afii10035',210=>'afii10036',211=>'afii10037',212=>'afii10038',213=>'afii10039',214=>'afii10040',215=>'afii10041', +216=>'afii10042',217=>'afii10043',218=>'afii10044',219=>'afii10045',220=>'afii10046',221=>'afii10047',222=>'afii10048',223=>'afii10049', +224=>'afii10065',225=>'afii10066',226=>'afii10067',227=>'afii10068',228=>'afii10069',229=>'afii10070',230=>'afii10072',231=>'afii10073', +232=>'afii10074',233=>'afii10075',234=>'afii10076',235=>'afii10077',236=>'afii10078',237=>'afii10079',238=>'afii10080',239=>'afii10081', +240=>'afii10082',241=>'afii10083',242=>'afii10084',243=>'afii10085',244=>'afii10086',245=>'afii10087',246=>'afii10088',247=>'afii10089', +248=>'afii10090',249=>'afii10091',250=>'afii10092',251=>'afii10093',252=>'afii10094',253=>'afii10095',254=>'afii10096',255=>'afii10097'), + +// encoding map for: iso-8859-4 +'iso-8859-4' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'Aogonek',162=>'kgreenlandic',163=>'Rcommaaccent',164=>'currency',165=>'Itilde',166=>'Lcommaaccent',167=>'section', +168=>'dieresis',169=>'Scaron',170=>'Emacron',171=>'Gcommaaccent',172=>'Tbar',173=>'hyphen',174=>'Zcaron',175=>'macron', +176=>'degree',177=>'aogonek',178=>'ogonek',179=>'rcommaaccent',180=>'acute',181=>'itilde',182=>'lcommaaccent',183=>'caron', +184=>'cedilla',185=>'scaron',186=>'emacron',187=>'gcommaaccent',188=>'tbar',189=>'Eng',190=>'zcaron',191=>'eng', +192=>'Amacron',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Iogonek', +200=>'Ccaron',201=>'Eacute',202=>'Eogonek',203=>'Edieresis',204=>'Edotaccent',205=>'Iacute',206=>'Icircumflex',207=>'Imacron', +208=>'Dcroat',209=>'Ncommaaccent',210=>'Omacron',211=>'Kcommaaccent',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Uogonek',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Utilde',222=>'Umacron',223=>'germandbls', +224=>'amacron',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'iogonek', +232=>'ccaron',233=>'eacute',234=>'eogonek',235=>'edieresis',236=>'edotaccent',237=>'iacute',238=>'icircumflex',239=>'imacron', +240=>'dcroat',241=>'ncommaaccent',242=>'omacron',243=>'kcommaaccent',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'uogonek',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'utilde',254=>'umacron',255=>'dotaccent'), + +// encoding map for: cp1255 +'cp1255' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'circumflex',137=>'perthousand',138=>'.notdef',139=>'guilsinglleft',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'tilde',153=>'trademark',154=>'.notdef',155=>'guilsinglright',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'afii57636',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'multiply',171=>'guillemotleft',172=>'logicalnot',173=>'sfthyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'middot', +184=>'cedilla',185=>'onesuperior',186=>'divide',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'afii57799',193=>'afii57801',194=>'afii57800',195=>'afii57802',196=>'afii57793',197=>'afii57794',198=>'afii57795',199=>'afii57798', +200=>'afii57797',201=>'afii57806',202=>'.notdef',203=>'afii57796',204=>'afii57807',205=>'afii57839',206=>'afii57645',207=>'afii57841', +208=>'afii57842',209=>'afii57804',210=>'afii57803',211=>'afii57658',212=>'afii57716',213=>'afii57717',214=>'afii57718',215=>'gereshhebrew', +216=>'gershayimhebrew',217=>'.notdef',218=>'.notdef',219=>'.notdef',220=>'.notdef',221=>'.notdef',222=>'.notdef',223=>'.notdef', +224=>'afii57664',225=>'afii57665',226=>'afii57666',227=>'afii57667',228=>'afii57668',229=>'afii57669',230=>'afii57670',231=>'afii57671', +232=>'afii57672',233=>'afii57673',234=>'afii57674',235=>'afii57675',236=>'afii57676',237=>'afii57677',238=>'afii57678',239=>'afii57679', +240=>'afii57680',241=>'afii57681',242=>'afii57682',243=>'afii57683',244=>'afii57684',245=>'afii57685',246=>'afii57686',247=>'afii57687', +248=>'afii57688',249=>'afii57689',250=>'afii57690',251=>'.notdef',252=>'.notdef',253=>'afii299',254=>'afii300',255=>'.notdef'), + +// encoding map for: iso-8859-11 +'iso-8859-11' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'kokaithai',162=>'khokhaithai',163=>'khokhuatthai',164=>'khokhwaithai',165=>'khokhonthai',166=>'khorakhangthai',167=>'ngonguthai', +168=>'chochanthai',169=>'chochingthai',170=>'chochangthai',171=>'sosothai',172=>'chochoethai',173=>'yoyingthai',174=>'dochadathai',175=>'topatakthai', +176=>'thothanthai',177=>'thonangmonthothai',178=>'thophuthaothai',179=>'nonenthai',180=>'dodekthai',181=>'totaothai',182=>'thothungthai',183=>'thothahanthai', +184=>'thothongthai',185=>'nonuthai',186=>'bobaimaithai',187=>'poplathai',188=>'phophungthai',189=>'fofathai',190=>'phophanthai',191=>'fofanthai', +192=>'phosamphaothai',193=>'momathai',194=>'yoyakthai',195=>'roruathai',196=>'ruthai',197=>'lolingthai',198=>'luthai',199=>'wowaenthai', +200=>'sosalathai',201=>'sorusithai',202=>'sosuathai',203=>'hohipthai',204=>'lochulathai',205=>'oangthai',206=>'honokhukthai',207=>'paiyannoithai', +208=>'saraathai',209=>'maihanakatthai',210=>'saraaathai',211=>'saraamthai',212=>'saraithai',213=>'saraiithai',214=>'sarauethai',215=>'saraueethai', +216=>'sarauthai',217=>'sarauuthai',218=>'phinthuthai',219=>'.notdef',220=>'.notdef',221=>'.notdef',222=>'.notdef',223=>'bahtthai', +224=>'saraethai',225=>'saraaethai',226=>'saraothai',227=>'saraaimaimuanthai',228=>'saraaimaimalaithai',229=>'lakkhangyaothai',230=>'maiyamokthai',231=>'maitaikhuthai', +232=>'maiekthai',233=>'maithothai',234=>'maitrithai',235=>'maichattawathai',236=>'thanthakhatthai',237=>'nikhahitthai',238=>'yamakkanthai',239=>'fongmanthai', +240=>'zerothai',241=>'onethai',242=>'twothai',243=>'threethai',244=>'fourthai',245=>'fivethai',246=>'sixthai',247=>'seventhai', +248=>'eightthai',249=>'ninethai',250=>'angkhankhuthai',251=>'khomutthai',252=>'.notdef',253=>'.notdef',254=>'.notdef',255=>'.notdef'), + +// encoding map for: cp1257 +'cp1257' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'.notdef',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'.notdef',137=>'perthousand',138=>'.notdef',139=>'guilsinglleft',140=>'.notdef',141=>'dieresis',142=>'caron',143=>'cedilla', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'trademark',154=>'.notdef',155=>'guilsinglright',156=>'.notdef',157=>'macron',158=>'ogonek',159=>'.notdef', +160=>'space',161=>'.notdef',162=>'cent',163=>'sterling',164=>'currency',165=>'.notdef',166=>'brokenbar',167=>'section', +168=>'Oslash',169=>'copyright',170=>'Rcommaaccent',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'AE', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'oslash',185=>'onesuperior',186=>'rcommaaccent',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'ae', +192=>'Aogonek',193=>'Iogonek',194=>'Amacron',195=>'Cacute',196=>'Adieresis',197=>'Aring',198=>'Eogonek',199=>'Emacron', +200=>'Ccaron',201=>'Eacute',202=>'Zacute',203=>'Edotaccent',204=>'Gcommaaccent',205=>'Kcommaaccent',206=>'Imacron',207=>'Lcommaaccent', +208=>'Scaron',209=>'Nacute',210=>'Ncommaaccent',211=>'Oacute',212=>'Omacron',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Uogonek',217=>'Lslash',218=>'Sacute',219=>'Umacron',220=>'Udieresis',221=>'Zdotaccent',222=>'Zcaron',223=>'germandbls', +224=>'aogonek',225=>'iogonek',226=>'amacron',227=>'cacute',228=>'adieresis',229=>'aring',230=>'eogonek',231=>'emacron', +232=>'ccaron',233=>'eacute',234=>'zacute',235=>'edotaccent',236=>'gcommaaccent',237=>'kcommaaccent',238=>'imacron',239=>'lcommaaccent', +240=>'scaron',241=>'nacute',242=>'ncommaaccent',243=>'oacute',244=>'omacron',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'uogonek',249=>'lslash',250=>'sacute',251=>'umacron',252=>'udieresis',253=>'zdotaccent',254=>'zcaron',255=>'dotaccent'), + +// encoding map for: cp1258 +'cp1258' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'circumflex',137=>'perthousand',138=>'.notdef',139=>'guilsinglleft',140=>'OE',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'tilde',153=>'trademark',154=>'.notdef',155=>'guilsinglright',156=>'oe',157=>'.notdef',158=>'.notdef',159=>'Ydieresis', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Abreve',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'gravecomb',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Dcroat',209=>'Ntilde',210=>'hookabovecomb',211=>'Oacute',212=>'Ocircumflex',213=>'Ohorn',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Uhorn',222=>'tildecomb',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'abreve',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'acutecomb',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'dcroat',241=>'ntilde',242=>'dotbelowcomb',243=>'oacute',244=>'ocircumflex',245=>'ohorn',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'uhorn',254=>'dong',255=>'ydieresis'), + +// encoding map for: cp1253 +'cp1253' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'.notdef',137=>'perthousand',138=>'.notdef',139=>'guilsinglleft',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'trademark',154=>'.notdef',155=>'guilsinglright',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'dieresistonos',162=>'Alphatonos',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'.notdef',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'afii00208', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'tonos',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'Epsilontonos',185=>'Etatonos',186=>'Iotatonos',187=>'guillemotright',188=>'Omicrontonos',189=>'onehalf',190=>'Upsilontonos',191=>'Omegatonos', +192=>'iotadieresistonos',193=>'Alpha',194=>'Beta',195=>'Gamma',196=>'Delta',197=>'Epsilon',198=>'Zeta',199=>'Eta', +200=>'Theta',201=>'Iota',202=>'Kappa',203=>'Lambda',204=>'Mu',205=>'Nu',206=>'Xi',207=>'Omicron', +208=>'Pi',209=>'Rho',210=>'.notdef',211=>'Sigma',212=>'Tau',213=>'Upsilon',214=>'Phi',215=>'Chi', +216=>'Psi',217=>'Omega',218=>'Iotadieresis',219=>'Upsilondieresis',220=>'alphatonos',221=>'epsilontonos',222=>'etatonos',223=>'iotatonos', +224=>'upsilondieresistonos',225=>'alpha',226=>'beta',227=>'gamma',228=>'delta',229=>'epsilon',230=>'zeta',231=>'eta', +232=>'theta',233=>'iota',234=>'kappa',235=>'lambda',236=>'mu',237=>'nu',238=>'xi',239=>'omicron', +240=>'pi',241=>'rho',242=>'sigma1',243=>'sigma',244=>'tau',245=>'upsilon',246=>'phi',247=>'chi', +248=>'psi',249=>'omega',250=>'iotadieresis',251=>'upsilondieresis',252=>'omicrontonos',253=>'upsilontonos',254=>'omegatonos',255=>'.notdef'), + +// encoding map for: cp874 +'cp874' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'ellipsis',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'kokaithai',162=>'khokhaithai',163=>'khokhuatthai',164=>'khokhwaithai',165=>'khokhonthai',166=>'khorakhangthai',167=>'ngonguthai', +168=>'chochanthai',169=>'chochingthai',170=>'chochangthai',171=>'sosothai',172=>'chochoethai',173=>'yoyingthai',174=>'dochadathai',175=>'topatakthai', +176=>'thothanthai',177=>'thonangmonthothai',178=>'thophuthaothai',179=>'nonenthai',180=>'dodekthai',181=>'totaothai',182=>'thothungthai',183=>'thothahanthai', +184=>'thothongthai',185=>'nonuthai',186=>'bobaimaithai',187=>'poplathai',188=>'phophungthai',189=>'fofathai',190=>'phophanthai',191=>'fofanthai', +192=>'phosamphaothai',193=>'momathai',194=>'yoyakthai',195=>'roruathai',196=>'ruthai',197=>'lolingthai',198=>'luthai',199=>'wowaenthai', +200=>'sosalathai',201=>'sorusithai',202=>'sosuathai',203=>'hohipthai',204=>'lochulathai',205=>'oangthai',206=>'honokhukthai',207=>'paiyannoithai', +208=>'saraathai',209=>'maihanakatthai',210=>'saraaathai',211=>'saraamthai',212=>'saraithai',213=>'saraiithai',214=>'sarauethai',215=>'saraueethai', +216=>'sarauthai',217=>'sarauuthai',218=>'phinthuthai',219=>'.notdef',220=>'.notdef',221=>'.notdef',222=>'.notdef',223=>'bahtthai', +224=>'saraethai',225=>'saraaethai',226=>'saraothai',227=>'saraaimaimuanthai',228=>'saraaimaimalaithai',229=>'lakkhangyaothai',230=>'maiyamokthai',231=>'maitaikhuthai', +232=>'maiekthai',233=>'maithothai',234=>'maitrithai',235=>'maichattawathai',236=>'thanthakhatthai',237=>'nikhahitthai',238=>'yamakkanthai',239=>'fongmanthai', +240=>'zerothai',241=>'onethai',242=>'twothai',243=>'threethai',244=>'fourthai',245=>'fivethai',246=>'sixthai',247=>'seventhai', +248=>'eightthai',249=>'ninethai',250=>'angkhankhuthai',251=>'khomutthai',252=>'.notdef',253=>'.notdef',254=>'.notdef',255=>'.notdef'), + +// encoding map for: iso-8859-2 +'iso-8859-2' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'Aogonek',162=>'breve',163=>'Lslash',164=>'currency',165=>'Lcaron',166=>'Sacute',167=>'section', +168=>'dieresis',169=>'Scaron',170=>'Scedilla',171=>'Tcaron',172=>'Zacute',173=>'hyphen',174=>'Zcaron',175=>'Zdotaccent', +176=>'degree',177=>'aogonek',178=>'ogonek',179=>'lslash',180=>'acute',181=>'lcaron',182=>'sacute',183=>'caron', +184=>'cedilla',185=>'scaron',186=>'scedilla',187=>'tcaron',188=>'zacute',189=>'hungarumlaut',190=>'zcaron',191=>'zdotaccent', +192=>'Racute',193=>'Aacute',194=>'Acircumflex',195=>'Abreve',196=>'Adieresis',197=>'Lacute',198=>'Cacute',199=>'Ccedilla', +200=>'Ccaron',201=>'Eacute',202=>'Eogonek',203=>'Edieresis',204=>'Ecaron',205=>'Iacute',206=>'Icircumflex',207=>'Dcaron', +208=>'Dcroat',209=>'Nacute',210=>'Ncaron',211=>'Oacute',212=>'Ocircumflex',213=>'Ohungarumlaut',214=>'Odieresis',215=>'multiply', +216=>'Rcaron',217=>'Uring',218=>'Uacute',219=>'Uhungarumlaut',220=>'Udieresis',221=>'Yacute',222=>'Tcommaaccent',223=>'germandbls', +224=>'racute',225=>'aacute',226=>'acircumflex',227=>'abreve',228=>'adieresis',229=>'lacute',230=>'cacute',231=>'ccedilla', +232=>'ccaron',233=>'eacute',234=>'eogonek',235=>'edieresis',236=>'ecaron',237=>'iacute',238=>'icircumflex',239=>'dcaron', +240=>'dcroat',241=>'nacute',242=>'ncaron',243=>'oacute',244=>'ocircumflex',245=>'ohungarumlaut',246=>'odieresis',247=>'divide', +248=>'rcaron',249=>'uring',250=>'uacute',251=>'uhungarumlaut',252=>'udieresis',253=>'yacute',254=>'tcommaaccent',255=>'dotaccent'), + +// encoding map for: cp1250 +'cp1250' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'.notdef',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'.notdef',137=>'perthousand',138=>'Scaron',139=>'guilsinglleft',140=>'Sacute',141=>'Tcaron',142=>'Zcaron',143=>'Zacute', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'.notdef',153=>'trademark',154=>'scaron',155=>'guilsinglright',156=>'sacute',157=>'tcaron',158=>'zcaron',159=>'zacute', +160=>'space',161=>'caron',162=>'breve',163=>'Lslash',164=>'currency',165=>'Aogonek',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'Scedilla',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'Zdotaccent', +176=>'degree',177=>'plusminus',178=>'ogonek',179=>'lslash',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'aogonek',186=>'scedilla',187=>'guillemotright',188=>'Lcaron',189=>'hungarumlaut',190=>'lcaron',191=>'zdotaccent', +192=>'Racute',193=>'Aacute',194=>'Acircumflex',195=>'Abreve',196=>'Adieresis',197=>'Lacute',198=>'Cacute',199=>'Ccedilla', +200=>'Ccaron',201=>'Eacute',202=>'Eogonek',203=>'Edieresis',204=>'Ecaron',205=>'Iacute',206=>'Icircumflex',207=>'Dcaron', +208=>'Dcroat',209=>'Nacute',210=>'Ncaron',211=>'Oacute',212=>'Ocircumflex',213=>'Ohungarumlaut',214=>'Odieresis',215=>'multiply', +216=>'Rcaron',217=>'Uring',218=>'Uacute',219=>'Uhungarumlaut',220=>'Udieresis',221=>'Yacute',222=>'Tcommaaccent',223=>'germandbls', +224=>'racute',225=>'aacute',226=>'acircumflex',227=>'abreve',228=>'adieresis',229=>'lacute',230=>'cacute',231=>'ccedilla', +232=>'ccaron',233=>'eacute',234=>'eogonek',235=>'edieresis',236=>'ecaron',237=>'iacute',238=>'icircumflex',239=>'dcaron', +240=>'dcroat',241=>'nacute',242=>'ncaron',243=>'oacute',244=>'ocircumflex',245=>'ohungarumlaut',246=>'odieresis',247=>'divide', +248=>'rcaron',249=>'uring',250=>'uacute',251=>'uhungarumlaut',252=>'udieresis',253=>'yacute',254=>'tcommaaccent',255=>'dotaccent'), + +// encoding map for: iso-8859-7 +'iso-8859-7' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'quoteleft',162=>'quoteright',163=>'sterling',164=>'.notdef',165=>'.notdef',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'.notdef',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'.notdef',175=>'afii00208', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'tonos',181=>'dieresistonos',182=>'Alphatonos',183=>'periodcentered', +184=>'Epsilontonos',185=>'Etatonos',186=>'Iotatonos',187=>'guillemotright',188=>'Omicrontonos',189=>'onehalf',190=>'Upsilontonos',191=>'Omegatonos', +192=>'iotadieresistonos',193=>'Alpha',194=>'Beta',195=>'Gamma',196=>'Delta',197=>'Epsilon',198=>'Zeta',199=>'Eta', +200=>'Theta',201=>'Iota',202=>'Kappa',203=>'Lambda',204=>'Mu',205=>'Nu',206=>'Xi',207=>'Omicron', +208=>'Pi',209=>'Rho',210=>'.notdef',211=>'Sigma',212=>'Tau',213=>'Upsilon',214=>'Phi',215=>'Chi', +216=>'Psi',217=>'Omega',218=>'Iotadieresis',219=>'Upsilondieresis',220=>'alphatonos',221=>'epsilontonos',222=>'etatonos',223=>'iotatonos', +224=>'upsilondieresistonos',225=>'alpha',226=>'beta',227=>'gamma',228=>'delta',229=>'epsilon',230=>'zeta',231=>'eta', +232=>'theta',233=>'iota',234=>'kappa',235=>'lambda',236=>'mu',237=>'nu',238=>'xi',239=>'omicron', +240=>'pi',241=>'rho',242=>'sigma1',243=>'sigma',244=>'tau',245=>'upsilon',246=>'phi',247=>'chi', +248=>'psi',249=>'omega',250=>'iotadieresis',251=>'upsilondieresis',252=>'omicrontonos',253=>'upsilontonos',254=>'omegatonos',255=>'.notdef'), + +// encoding map for: iso-8859-9 +'iso-8859-9' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Gbreve',209=>'Ntilde',210=>'Ograve',211=>'Oacute',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Idotaccent',222=>'Scedilla',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'igrave',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'gbreve',241=>'ntilde',242=>'ograve',243=>'oacute',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'dotlessi',254=>'scedilla',255=>'ydieresis'), + +// encoding map for: cp1252 +'cp1252' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'circumflex',137=>'perthousand',138=>'Scaron',139=>'guilsinglleft',140=>'OE',141=>'.notdef',142=>'Zcaron',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'tilde',153=>'trademark',154=>'scaron',155=>'guilsinglright',156=>'oe',157=>'.notdef',158=>'zcaron',159=>'Ydieresis', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Eth',209=>'Ntilde',210=>'Ograve',211=>'Oacute',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Yacute',222=>'Thorn',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'igrave',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'eth',241=>'ntilde',242=>'ograve',243=>'oacute',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'yacute',254=>'thorn',255=>'ydieresis'), + +// encoding map for: cp1254 +'cp1254' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'Euro',129=>'.notdef',130=>'quotesinglbase',131=>'florin',132=>'quotedblbase',133=>'ellipsis',134=>'dagger',135=>'daggerdbl', +136=>'circumflex',137=>'perthousand',138=>'Scaron',139=>'guilsinglleft',140=>'OE',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'quoteleft',146=>'quoteright',147=>'quotedblleft',148=>'quotedblright',149=>'bullet',150=>'endash',151=>'emdash', +152=>'tilde',153=>'trademark',154=>'scaron',155=>'guilsinglright',156=>'oe',157=>'.notdef',158=>'.notdef',159=>'Ydieresis', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Gbreve',209=>'Ntilde',210=>'Ograve',211=>'Oacute',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Idotaccent',222=>'Scedilla',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'igrave',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'gbreve',241=>'ntilde',242=>'ograve',243=>'oacute',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'dotlessi',254=>'scedilla',255=>'ydieresis'), + +// encoding map for: iso-8859-1 +'iso-8859-1' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'currency',165=>'yen',166=>'brokenbar',167=>'section', +168=>'dieresis',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'acute',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'cedilla',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'onequarter',189=>'onehalf',190=>'threequarters',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave',205=>'Iacute',206=>'Icircumflex',207=>'Idieresis', +208=>'Eth',209=>'Ntilde',210=>'Ograve',211=>'Oacute',212=>'Ocircumflex',213=>'Otilde',214=>'Odieresis',215=>'multiply', +216=>'Oslash',217=>'Ugrave',218=>'Uacute',219=>'Ucircumflex',220=>'Udieresis',221=>'Yacute',222=>'Thorn',223=>'germandbls', +224=>'agrave',225=>'aacute',226=>'acircumflex',227=>'atilde',228=>'adieresis',229=>'aring',230=>'ae',231=>'ccedilla', +232=>'egrave',233=>'eacute',234=>'ecircumflex',235=>'edieresis',236=>'igrave',237=>'iacute',238=>'icircumflex',239=>'idieresis', +240=>'eth',241=>'ntilde',242=>'ograve',243=>'oacute',244=>'ocircumflex',245=>'otilde',246=>'odieresis',247=>'divide', +248=>'oslash',249=>'ugrave',250=>'uacute',251=>'ucircumflex',252=>'udieresis',253=>'yacute',254=>'thorn',255=>'ydieresis'), + +// encoding map for: iso-8859-15 +'iso-8859-15' => array(0=>'.notdef',1=>'.notdef',2=>'.notdef',3=>'.notdef',4=>'.notdef',5=>'.notdef',6=>'.notdef',7=>'.notdef', +8=>'.notdef',9=>'.notdef',10=>'.notdef',11=>'.notdef',12=>'.notdef',13=>'.notdef',14=>'.notdef',15=>'.notdef', +16=>'.notdef',17=>'.notdef',18=>'.notdef',19=>'.notdef',20=>'.notdef',21=>'.notdef',22=>'.notdef',23=>'.notdef', +24=>'.notdef',25=>'.notdef',26=>'.notdef',27=>'.notdef',28=>'.notdef',29=>'.notdef',30=>'.notdef',31=>'.notdef', +32=>'space',33=>'exclam',34=>'quotedbl',35=>'numbersign',36=>'dollar',37=>'percent',38=>'ampersand',39=>'quotesingle', +40=>'parenleft',41=>'parenright',42=>'asterisk',43=>'plus',44=>'comma',45=>'hyphen',46=>'period',47=>'slash', +48=>'zero',49=>'one',50=>'two',51=>'three',52=>'four',53=>'five',54=>'six',55=>'seven', +56=>'eight',57=>'nine',58=>'colon',59=>'semicolon',60=>'less',61=>'equal',62=>'greater',63=>'question', +64=>'at',65=>'A',66=>'B',67=>'C',68=>'D',69=>'E',70=>'F',71=>'G', +72=>'H',73=>'I',74=>'J',75=>'K',76=>'L',77=>'M',78=>'N',79=>'O', +80=>'P',81=>'Q',82=>'R',83=>'S',84=>'T',85=>'U',86=>'V',87=>'W', +88=>'X',89=>'Y',90=>'Z',91=>'bracketleft',92=>'backslash',93=>'bracketright',94=>'asciicircum',95=>'underscore', +96=>'grave',97=>'a',98=>'b',99=>'c',100=>'d',101=>'e',102=>'f',103=>'g', +104=>'h',105=>'i',106=>'j',107=>'k',108=>'l',109=>'m',110=>'n',111=>'o', +112=>'p',113=>'q',114=>'r',115=>'s',116=>'t',117=>'u',118=>'v',119=>'w', +120=>'x',121=>'y',122=>'z',123=>'braceleft',124=>'bar',125=>'braceright',126=>'asciitilde',127=>'.notdef', +128=>'.notdef',129=>'.notdef',130=>'.notdef',131=>'.notdef',132=>'.notdef',133=>'.notdef',134=>'.notdef',135=>'.notdef', +136=>'.notdef',137=>'.notdef',138=>'.notdef',139=>'.notdef',140=>'.notdef',141=>'.notdef',142=>'.notdef',143=>'.notdef', +144=>'.notdef',145=>'.notdef',146=>'.notdef',147=>'.notdef',148=>'.notdef',149=>'.notdef',150=>'.notdef',151=>'.notdef', +152=>'.notdef',153=>'.notdef',154=>'.notdef',155=>'.notdef',156=>'.notdef',157=>'.notdef',158=>'.notdef',159=>'.notdef', +160=>'space',161=>'exclamdown',162=>'cent',163=>'sterling',164=>'Euro',165=>'yen',166=>'Scaron',167=>'section', +168=>'scaron',169=>'copyright',170=>'ordfeminine',171=>'guillemotleft',172=>'logicalnot',173=>'hyphen',174=>'registered',175=>'macron', +176=>'degree',177=>'plusminus',178=>'twosuperior',179=>'threesuperior',180=>'Zcaron',181=>'mu',182=>'paragraph',183=>'periodcentered', +184=>'zcaron',185=>'onesuperior',186=>'ordmasculine',187=>'guillemotright',188=>'OE',189=>'oe',190=>'Ydieresis',191=>'questiondown', +192=>'Agrave',193=>'Aacute',194=>'Acircumflex',195=>'Atilde',196=>'Adieresis',197=>'Aring',198=>'AE',199=>'Ccedilla', +200=>'Egrave',201=>'Eacute',202=>'Ecircumflex',203=>'Edieresis',204=>'Igrave... [truncated message content] |
From: <vv...@us...> - 2012-03-11 22:25:06
|
Revision: 5065 http://web-erp.svn.sourceforge.net/web-erp/?rev=5065&view=rev Author: vvs2012 Date: 2012-03-11 22:24:58 +0000 (Sun, 11 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/DailyBankTransactions.php trunk/DailySalesInquiry.php trunk/DebtorsAtPeriodEnd.php trunk/DeliveryDetails.php trunk/Departments.php trunk/DiscountCategories.php trunk/DiscountMatrix.php trunk/ExchangeRateTrend.php trunk/FixedAssetTransfer.php trunk/GLBudgets.php trunk/GLJournal.php trunk/GoodsReceived.php trunk/PDFPrintLabel.php trunk/PO_Header.php trunk/Payments.php trunk/SalesByTypePeriodInquiry.php trunk/SalesCategoryPeriodInquiry.php trunk/SalesTopItemsInquiry.php trunk/SelectCreditItems.php trunk/StockCategories.php trunk/StockLocTransferReceive.php trunk/Stocks.php trunk/SupplierCredit.php trunk/SupplierInvoice.php trunk/SupplierTenderCreate.php trunk/WorkOrderEntry.php trunk/reportwriter/install/ReportListForm.php Modified: trunk/DailyBankTransactions.php =================================================================== --- trunk/DailyBankTransactions.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DailyBankTransactions.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -12,7 +12,8 @@ </p>'; if (!isset($_POST['Show'])) { - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; @@ -54,18 +55,19 @@ } echo '<tr> <td>' . _('Transactions Dated From') . ':</td> - <td><input type="text" name="FromTransDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . + <td><input type="text" name="FromTransDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . date($_SESSION['DefaultDateFormat']) . '" /></td> </tr> <tr> <td>' . _('Transactions Dated To') . ':</td> - <td><input type="text" name="ToTransDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . date($_SESSION['DefaultDateFormat']) . '" /></td> + <td><input type="text" name="ToTransDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . date($_SESSION['DefaultDateFormat']) . '" /></td> </tr> </table> <br /> <div class="centre"> <input type="submit" name="Show" value="' . _('Show transactions'). '" /> </div> + </div> </form>'; } else { $SQL = "SELECT bankaccountname, @@ -104,7 +106,7 @@ $BankDetailRow = DB_fetch_array($BankResult); echo '<table class="selection"> <tr> - <th colspan="8"><font size="3" color="blue">' . _('Account Transactions For').' '.$BankDetailRow['bankaccountname'].' '._('Between').' '.$_POST['FromTransDate'] . ' ' . _('and') . ' ' . $_POST['ToTransDate'] . '</font></th> + <th colspan="8"><h3>' . _('Account Transactions For').' '.$BankDetailRow['bankaccountname'].' '._('Between').' '.$_POST['FromTransDate'] . ' ' . _('and') . ' ' . $_POST['ToTransDate'] . '</h3></th> </tr> <tr> <th>' . ('Date') . '</th> @@ -139,9 +141,11 @@ echo '</table>'; } //end if no bank trans in the range to show - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; 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 '</div>'; echo '</form>'; } include('includes/footer.inc'); Modified: trunk/DailySalesInquiry.php =================================================================== --- trunk/DailySalesInquiry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DailySalesInquiry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -11,6 +11,7 @@ <br />'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (!isset($_POST['MonthToShow'])){ @@ -62,6 +63,7 @@ <div class="centre"> <input tabindex="4" type="submit" name="ShowResults" value="' . _('Show Daily Sales For The Selected Month') . '" /> </div> + </div> </form> <br />'; /*Now get and display the sales data returned */ Modified: trunk/DebtorsAtPeriodEnd.php =================================================================== --- trunk/DebtorsAtPeriodEnd.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DebtorsAtPeriodEnd.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -130,11 +130,12 @@ /*if $FromCriteria is not set then show a form to allow input */ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> - <table class="selection">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + <div>'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<table class="selection">'; echo '<tr> - <td>' . _('From Customer Code') .':</font></td> + <td>' . _('From Customer Code') .':</td> <td><input tabindex="1" type="text" maxlength="6" size="7" name="FromCriteria" value="1" /></td> </tr> <tr> @@ -162,6 +163,7 @@ <div class="centre"> <input tabindex="5" type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /> </div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DeliveryDetails.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -255,8 +255,8 @@ if(isset($_POST['MakeRecurringOrder']) AND ! $InputErrors){ - echo '<meta http-equiv="Refresh" content="0; url=' . $rootpath . '/RecurringSalesOrders.php?identifier='.$identifier . '&NewRecurringOrder=Yes">'; - prnMsg(_('You should automatically be forwarded to the entry of recurring order details page') . '. ' . _('If this does not happen') . '(' . _('if the browser does not support META Refresh') . ') ' . '<a href="' . $rootpath . '/RecurringOrders.php?identifier='.$identifier . '&NewRecurringOrder=Yes">'. _('click here') .'</a> '. _('to continue'),'info'); + echo '<meta http-equiv="Refresh" content="0; url=' . $rootpath . '/RecurringSalesOrders.php?identifier='.$identifier . '&NewRecurringOrder=Yes">'; + prnMsg(_('You should automatically be forwarded to the entry of recurring order details page') . '. ' . _('If this does not happen') . '(' . _('if the browser does not support META Refresh') . ') ' . '<a href="' . $rootpath . '/RecurringOrders.php?identifier='.$identifier . '&NewRecurringOrder=Yes">'. _('click here') .'</a> '. _('to continue'),'info'); include('includes/footer.inc'); exit; } @@ -276,7 +276,7 @@ if ($InputErrors ==0) { $OK_to_PROCESS = 1; } - If ($_POST['FreightCost'] != $OldFreightCost && $_SESSION['DoFreightCalc']==True){ + If ($_POST['FreightCost'] != $OldFreightCost AND $_SESSION['DoFreightCalc']==True){ $OK_to_PROCESS = 0; prnMsg(_('The freight charge has been updated') . '. ' . _('Please reconfirm that the order and the freight charges are acceptable and then confirm the order again if OK') .' <br /> '. _('The new freight cost is') .' ' . $_POST['FreightCost'] . ' ' . _('and the previously calculated freight cost was') .' '. $OldFreightCost,'warn'); } else { @@ -295,7 +295,7 @@ $myrow = DB_fetch_array($TermsResult); - if ($myrow['daysbeforedue']==0 && $myrow['dayinfollowingmonth']==0){ + if ($myrow['daysbeforedue']==0 AND $myrow['dayinfollowingmonth']==0){ /* THIS IS A CASH SALE NEED TO GO OFF TO 3RD PARTY SITE SENDING MERCHANT ACCOUNT DETAILS AND CHECK FOR APPROVAL FROM 3RD PARTY SITE BEFORE CONTINUING TO PROCESS THE ORDER @@ -311,7 +311,7 @@ } #end if else freight charge not altered } #end if process order -if (isset($OK_to_PROCESS) AND $OK_to_PROCESS == 1 && $_SESSION['ExistingOrder'.$identifier]==0){ +if (isset($OK_to_PROCESS) AND $OK_to_PROCESS == 1 AND $_SESSION['ExistingOrder'.$identifier]==0){ /* finally write the order header to the database and then the order line details */ @@ -572,16 +572,16 @@ echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" /></td> - <td>' . ' ' . '<a target="_blank" href="' . $rootpath . '/PrintCustOrder.php?identifier='.$identifier . '&TransNo=' . $OrderNo . '">'. _('Print packing slip') . ' (' . _('Preprinted stationery') . ')' .'</a></td> + <td>' . ' ' . '<a target="_blank" href="' . $rootpath . '/PrintCustOrder.php?identifier='.$identifier . '&TransNo=' . $OrderNo . '">'. _('Print packing slip') . ' (' . _('Preprinted stationery') . ')' .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" /></td> - <td>' . ' ' . '<a target="_blank" href="' . $rootpath . '/PrintCustOrder_generic.php?identifier='.$identifier . '&TransNo=' . $OrderNo . '">'. _('Print packing slip') . ' (' . _('Laser') . ')' .'</a></td> + <td>' . ' ' . '<a target="_blank" href="' . $rootpath . '/PrintCustOrder_generic.php?identifier='.$identifier . '&TransNo=' . $OrderNo . '">'. _('Print packing slip') . ' (' . _('Laser') . ')' .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Invoice') . '" alt="" /></td> - <td>' . ' ' . '<a href="' . $rootpath . '/ConfirmDispatch_Invoice.php?identifier='.$identifier . '&OrderNumber=' . $OrderNo .'">'. _('Confirm Dispatch and Produce Invoice') .'</a></td> + <td>' . ' ' . '<a href="' . $rootpath . '/ConfirmDispatch_Invoice.php?identifier='.$identifier . '&OrderNumber=' . $OrderNo .'">'. _('Confirm Dispatch and Produce Invoice') .'</a></td> </tr>'; echo '</table>'; @@ -591,20 +591,20 @@ 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> + <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotation.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Landscape)') .'</a></td> </tr> </table>'; 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> + <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotationPortrait.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Portrait)') .'</a></td> </tr> </table>'; } 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> + <td>' . ' ' . '<a href="'. $rootpath .'/SelectOrderItems.php?identifier='.$identifier . '&NewOrder=Yes">'. _('Add Another Sales Order') .'</a></td> </tr> </table>'; } else { @@ -617,7 +617,7 @@ include('includes/footer.inc'); exit; -} elseif (isset($OK_to_PROCESS) and $OK_to_PROCESS == 1 && $_SESSION['ExistingOrder'.$identifier]!=0){ +} elseif (isset($OK_to_PROCESS) AND ($OK_to_PROCESS == 1 AND $_SESSION['ExistingOrder'.$identifier]!=0)){ /* update the order header then update the old order line details and insert the new lines */ @@ -787,15 +787,15 @@ <table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" /></td> - <td><a target="_blank" href="' . $rootpath . '/PrintCustOrder.php?identifier='.$identifier . '&TransNo=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Print packing slip - pre-printed stationery') .'</a></td> + <td><a target="_blank" href="' . $rootpath . '/PrintCustOrder.php?identifier='.$identifier . '&TransNo=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Print packing slip - pre-printed stationery') .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" /></td> - <td><a target="_blank" href="' . $rootpath . '/PrintCustOrder_generic.php?identifier='.$identifier . '&TransNo=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Print packing slip') . ' (' . _('Laser') . ')' .'</a></td> + <td><a target="_blank" href="' . $rootpath . '/PrintCustOrder_generic.php?identifier='.$identifier . '&TransNo=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Print packing slip') . ' (' . _('Laser') . ')' .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Invoice') . '" alt="" /></td> - <td><a href="' . $rootpath .'/ConfirmDispatch_Invoice.php?identifier='.$identifier . '&OrderNumber=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Confirm Order Delivery Quantities and Produce Invoice') .'</a></td> + <td><a href="' . $rootpath .'/ConfirmDispatch_Invoice.php?identifier='.$identifier . '&OrderNumber=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Confirm Order Delivery Quantities and Produce Invoice') .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Order') . '" alt="" /></td> @@ -811,20 +811,21 @@ if (isset($_SESSION['Items'.$identifier]->SpecialInstructions) and mb_strlen($_SESSION['Items'.$identifier]->SpecialInstructions)>0) { prnMsg($_SESSION['Items'.$identifier]->SpecialInstructions,'info'); } -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Delivery') . '" alt="" />' . ' ' . _('Delivery Details'); +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Delivery') . '" alt="" />' . ' ' . _('Delivery Details') . '</p>'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Customer Code') . ' :<b> ' . $_SESSION['Items'.$identifier]->DebtorNo . '<br />'; echo '</b> ' . _('Customer Name') . ' :<b> ' . $_SESSION['Items'.$identifier]->CustomerName . '</b></p>'; echo '<form action="' . $_SERVER['PHP_SELF'] . '?identifier='.$identifier . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*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>'; if ($_SESSION['Items'.$identifier]->Quotation==1){ echo '<tr><th colspan="7">'._('Quotation Summary').'</th></tr>'; @@ -1082,7 +1083,7 @@ echo '<option selected="selected" value="1">' . _('No') . '</option>'; echo '</select> '. _('Last printed') .': ' . ConvertSQLDate($_SESSION['DatePackingSlipPrinted']) . '</td></tr>'; } else { - echo '<input type="hidden" name="ReprintPackingSlip" value="0" />'; + echo '<tr><td><input type="hidden" name="ReprintPackingSlip" value="0" /></td></tr>'; } echo '<tr> @@ -1090,9 +1091,9 @@ <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> - </tr>'; + echo '<td><input type="submit" name="Update" value="' . _('Recalc Freight Cost') . '" /></td>'; } +echo '</tr>'; if ((!isset($_POST['ShipVia']) OR $_POST['ShipVia']=='') AND isset($_SESSION['Items'.$identifier]->ShipVia)){ $_POST['ShipVia'] = $_SESSION['Items'.$identifier]->ShipVia; @@ -1141,6 +1142,8 @@ echo '<br /><input type="submit" name="ProcessOrder" value="' . _('Commit Order Changes') . '" />'; } -echo '</div></form>'; +echo '</div> + </div> + </form>'; include('includes/footer.inc'); ?> Modified: trunk/Departments.php =================================================================== --- trunk/Departments.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/Departments.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -27,7 +27,7 @@ if (ContainsIllegalCharacters($_POST['DepartmentName'])) { $InputError = 1; - prnMsg( _('The description of the department must not contain the character') . " '&' " . _('or the character') ." '",'error'); + prnMsg( _('The description of the department must not contain the character') . " '&' " . _('or the character') ." '",'error'); } if (trim($_POST['DepartmentName']) == '') { $InputError = 1; @@ -111,6 +111,7 @@ $result = DB_query($sql,$db); } prnMsg($msg,'success'); + echo '<br />'; } unset ($SelectedDepartmentID); unset ($_POST['SelectedDepartmentID']); @@ -183,7 +184,7 @@ echo '<td>' . $myrow['description'] . '</td> <td>' . $myrow['authoriser'] . '</td> <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?SelectedDepartmentID=' . $myrow['departmentid'] . '">' . _('Edit') . '</a></td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?SelectedDepartmentID=' . $myrow['departmentid'] . '&delete=1">' . _('Delete') .'</a></td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?SelectedDepartmentID=' . $myrow['departmentid'] . '&delete=1">' . _('Delete') .'</a></td> </tr>'; } //END WHILE LIST LOOP @@ -200,6 +201,7 @@ if (! isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedDepartmentID)) { @@ -252,6 +254,7 @@ echo '<div class="centre"> <input type="submit" name="Submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; } //end if record deleted no point displaying form to add record Modified: trunk/DiscountCategories.php =================================================================== --- trunk/DiscountCategories.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DiscountCategories.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -65,7 +65,8 @@ } if (isset($_POST['selectchoice'])) { - echo '<form name="update" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form id="update" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $sql = "SELECT DISTINCT discountcategory FROM stockmaster WHERE discountcategory <>''"; @@ -73,7 +74,7 @@ if (DB_num_rows($result) > 0) { echo '<table class="selection"><tr><td>'. _('Discount Category Code') .': </td>'; - echo '<td><select name="DiscCat" onChange="ReloadForm(update.select)">'; + echo '<td><select name="DiscCat" onchange="ReloadForm(update.select)">'; while ($myrow = DB_fetch_array($result)){ if ($myrow['discountcategory']==$_POST['DiscCat']){ @@ -81,7 +82,6 @@ } else { echo '<option value="' . $myrow['discountcategory'] . '">' . $myrow['discountcategory'] . '</option>'; } - echo '</option>'; } echo '</select></td>'; @@ -90,8 +90,11 @@ </table> <br />'; } + echo '</div> + </form>'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; 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'].'" />'; @@ -171,7 +174,8 @@ echo '</select></td></tr></table>'; echo '<br /><div class="centre"><input type="submit" name="SubmitCategory" value="'. _('Update Items') .'" /></div>'; } - echo '</form>'; + echo '</div> + </form>'; if (! isset($_POST['DiscCat'])){ /*set DiscCat to something to show results for first cat defined */ @@ -212,11 +216,11 @@ echo '<tr class="OddTableRows">'; $k=1; } - $DeleteURL = htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=yes&StockID=' . $myrow['stockid'] . '&DiscountCategory=' . $myrow['discountcategory']; + $DeleteURL = htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=yes&StockID=' . $myrow['stockid'] . '&DiscountCategory=' . $myrow['discountcategory']; printf('<td>%s</td> <td>%s - %s</td> - <td><a href="%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this discount category?') . '\');">'. _('Delete') .'</td> + <td><a href="%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this discount category?') . '\');">'. _('Delete') .'</a></td> </tr>', $myrow['discountcategory'], $myrow['stockid'], @@ -235,17 +239,20 @@ } if (!isset($_POST['selectchoice'])) { - echo '<form method="post" name="choose" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form method="post" id="choose" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; echo '<tr><td>'._('Update discount category for').'</td>'; - echo '<td><select name="ChooseOption" onChange="ReloadForm(choose.selectchoice)">'; + echo '<td><select name="ChooseOption" onchange="ReloadForm(choose.selectchoice)">'; echo '<option value="1">'._('a single stock item').'</option>'; echo '<option value="2">'._('a complete stock category').'</option>'; echo '</select></td></tr> </table> <br />'; echo '<div class="centre"><input type="submit" name="selectchoice" value="'._('Select').'" /></div>'; + echo '</div> + </form>'; } include('includes/footer.inc'); Modified: trunk/DiscountMatrix.php =================================================================== --- trunk/DiscountMatrix.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DiscountMatrix.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -82,6 +82,7 @@ } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -105,7 +106,7 @@ } } -echo '</select>'; +echo '</select></td></tr>'; $sql = "SELECT DISTINCT discountcategory FROM stockmaster WHERE discountcategory <>''"; @@ -122,9 +123,9 @@ echo '<option value="' . $myrow['discountcategory'] . '">' . $myrow['discountcategory'] . '</option>'; } } - echo '</select></td>'; + echo '</select></td></tr>'; } else { - echo '<input type="hidden" name="DiscountCategory" value="" />'; + echo '<tr><td><input type="hidden" name="DiscountCategory" value="" /></td></tr>'; } echo '<tr> @@ -173,13 +174,13 @@ echo '<tr class="OddTableRows">'; $k=1; } - $DeleteURL = htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=yes&SalesType=' . $myrow['salestype'] . '&DiscountCategory=' . $myrow['discountcategory'] . '&QuantityBreak=' . $myrow['quantitybreak']; + $DeleteURL = htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=yes&SalesType=' . $myrow['salestype'] . '&DiscountCategory=' . $myrow['discountcategory'] . '&QuantityBreak=' . $myrow['quantitybreak']; printf('<td>%s</td> <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><a href="%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this discount matrix record?') . '\');">' . _('Delete') . '</td> + <td><a href="%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this discount matrix record?') . '\');">' . _('Delete') . '</a></td> </tr>', $myrow['sales_type'], $myrow['discountcategory'], @@ -190,7 +191,8 @@ } echo '</table> - </form>'; + </div> + </form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/ExchangeRateTrend.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -32,7 +32,7 @@ // CurrencyToShow Currency Picker - echo '<tr><td><select name="CurrencyToShow" onChange="ReloadForm(update.submit)">'; + echo '<tr><td><select name="CurrencyToShow" onchange="ReloadForm(update.submit)">'; DB_data_seek($result,0); while ($myrow=DB_fetch_array($result)) { Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/FixedAssetTransfer.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -129,7 +129,7 @@ <td class="number">'.locale_number_format($myrow['cost'],$_SESSION['CompanyRecord']['decimalplaces']).'</td> <td class="number">'.locale_number_format($myrow['accumdepn'],$_SESSION['CompanyRecord']['decimalplaces']).'</td> <td>'.$myrow['locationdescription'].'</td>'; - echo '<td><select name="Location'.$myrow['assetid'].'" onChange="ReloadForm(Move'.$myrow['assetid'].')">'; + echo '<td><select name="Location'.$myrow['assetid'].'" onchange="ReloadForm(Move'.$myrow['assetid'].')">'; echo '<option></option>'; while ($LocationRow=DB_fetch_array($LocationResult)) { if ($LocationRow['locationid']==$myrow['location']) { Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/GLBudgets.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -35,7 +35,7 @@ echo '<br /> <tr> <td>'. _('Select GL Account'). ':</td> - <td><select name="SelectedAccount" onChange="ReloadForm(selectaccount.Select)">'; + <td><select name="SelectedAccount" onchange="ReloadForm(selectaccount.Select)">'; $SQL = "SELECT accountcode, accountname @@ -221,7 +221,7 @@ <td></td> <td><input class="number" type="text" size="14" name="AnnualAmountTY" value="0.00" /></td> <td></td> - <td><input onChange="numberFormat(this,2)" class="number" type="text" size="14" name="AnnualAmount" value="0.00" /></td> + <td><input onchange="numberFormat(this,2)" class="number" type="text" size="14" name="AnnualAmount" value="0.00" /></td> <td><input type="submit" name="Apportion" value="' . _('Apportion Budget') . '" /></td> </tr> </table>'; Modified: trunk/GLJournal.php =================================================================== --- trunk/GLJournal.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/GLJournal.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -318,7 +318,7 @@ if (!isset($_POST['GLManualCode'])) { $_POST['GLManualCode']=''; } -echo '<td><input class="number" type="text" name="GLManualCode" maxlength="12" size="12" onChange="inArray(this.value, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" value="'. $_POST['GLManualCode'] .'" /></td>'; +echo '<td><input class="number" type="text" name="GLManualCode" maxlength="12" size="12" onchange="inArray(this.value, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" value="'. $_POST['GLManualCode'] .'" /></td>'; $sql="SELECT accountcode, accountname @@ -326,7 +326,7 @@ ORDER BY accountcode"; $result=DB_query($sql, $db); -echo '<td><select name="GLCode" onChange="return assignComboToInput(this,'.'GLManualCode'.')">'; +echo '<td><select name="GLCode" onchange="return assignComboToInput(this,'.'GLManualCode'.')">'; echo '<option value="">' . _('Select a general ledger account code') . '</option>'; while ($myrow=DB_fetch_array($result)){ if (isset($_POST['tag']) and $_POST['tag']==$myrow['accountcode']){ @@ -350,11 +350,11 @@ echo '</tr> <tr> <th>' . _('Debit') . '</th> - <td><input type="text" class="number" name = "Debit" onChange="eitherOr(this, '.'Credit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Debit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> + <td><input type="text" class="number" name = "Debit" onchange="eitherOr(this, '.'Credit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Debit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> </tr> <tr> <th>' . _('Credit') . '</th> - <td><input type="text" class="number" Name = "Credit" onChange="eitherOr(this, '.'Debit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Credit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> + <td><input type="text" class="number" Name = "Credit" onchange="eitherOr(this, '.'Debit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Credit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> </tr> <tr> <td></td> Modified: trunk/GoodsReceived.php =================================================================== --- trunk/GoodsReceived.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/GoodsReceived.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -83,7 +83,7 @@ echo '<table class="selection"> <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, '."'". + <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> </tr> </table> Modified: trunk/PDFPrintLabel.php =================================================================== --- trunk/PDFPrintLabel.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/PDFPrintLabel.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -155,18 +155,18 @@ </tr>'; echo '<tr> <td class="number">'.$txt[$iTxt++].':</td> - <td><select name="SalesType" onChange="ReloadForm(form1.refresh)"> + <td><select name="SalesType" onchange="ReloadForm(form1.refresh)"> '.$OptionSales.' </select></td> </tr>'; echo '<td class="number">'.$txt[$iTxt++].':</td> - <td><select name="Currency" onChange="ReloadForm(form1.refresh)"> + <td><select name="Currency" onchange="ReloadForm(form1.refresh)"> '.$OptionCurrency.' </select></td> </tr>'; echo '<tr> <td class="number">'.$txt[$iTxt++].':</td> - <td><select name="Category" onChange="ReloadForm(form1.refresh)"> + <td><select name="Category" onchange="ReloadForm(form1.refresh)"> '.$OptionsCategory.' </select> </td> </tr>'; Modified: trunk/PO_Header.php =================================================================== --- trunk/PO_Header.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/PO_Header.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -778,7 +778,7 @@ if ($_SESSION['PO'.$identifier]->AllowPrintPO==0 AND empty($_POST['RePrint'])){ echo '<tr><td>' . _('Allow Reprint') . ':</td> - <td><select name="RePrint" onChange="ReloadForm(form1.AllowRePrint)"> + <td><select name="RePrint" onchange="ReloadForm(form1.AllowRePrint)"> <option selected="selected" value="0">' . _('No') . '</option> <option value="1">' . _('Yes') . '</option> </select></td>'; @@ -802,7 +802,7 @@ echo '<tr><td>' . _('New Purchase Order') . '</td></tr>'; } else { echo '<tr><td>' . _('Status') . ' : </td> - <td><select name="Status" onChange="ReloadForm(form1.UpdateStatus)">'; + <td><select name="Status" onchange="ReloadForm(form1.UpdateStatus)">'; switch ($_SESSION['PO'.$identifier]->Status) { case 'Pending': @@ -862,7 +862,7 @@ echo '<table class="selection" width="100%"> <tr> <td>' . _('Warehouse') . ':</td> - <td><select name="StkLocation" onChange="ReloadForm(form1.LookupDeliveryAddress)">'; + <td><select name="StkLocation" onchange="ReloadForm(form1.LookupDeliveryAddress)">'; $sql = "SELECT loccode, locationname @@ -1012,7 +1012,7 @@ echo '<table class="selection" width="100%"> <tr> <td>' . _('Supplier Selection') . ':</td> - <td><select name="Keywords" onChange="ReloadForm(form1.SearchSuppliers)">'; + <td><select name="Keywords" onchange="ReloadForm(form1.SearchSuppliers)">'; $SuppCoResult = DB_query("SELECT supplierid, suppname FROM suppliers ORDER BY suppname",$db); Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/Payments.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -756,7 +756,7 @@ echo '<tr> <td>' . _('Bank Account') . ':</td> - <td><select name="BankAccount" onChange="ReloadForm(UpdateHeader)">'; + <td><select name="BankAccount" onchange="ReloadForm(UpdateHeader)">'; if (DB_num_rows($AccountsResults)==0){ echo '</select></td> @@ -782,13 +782,13 @@ echo '<tr> <td>' . _('Date Paid') . ':</td> - <td><input type="text" name="DatePaid" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['PaymentDetail' . $identifier]->DatePaid . '" /></td> + <td><input type="text" name="DatePaid" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['PaymentDetail' . $identifier]->DatePaid . '" /></td> </tr>'; if ($_SESSION['PaymentDetail' . $identifier]->SupplierID==''){ echo '<tr><td>' . _('Currency of Payment') . ':</td> - <td><select name="Currency" onChange="ReloadForm(UpdateHeader)">'; + <td><select name="Currency" onchange="ReloadForm(UpdateHeader)">'; $SQL = "SELECT currency, currabrev, rate FROM currencies"; $result=DB_query($SQL,$db); @@ -939,17 +939,17 @@ if (isset($_POST['GLManualCode'])) { echo '<tr> <td>' . _('Enter GL Account Manually') . ':</td> - <td><input type="text" class="number" name="GLManualCode" maxlength="12" size="12" onChange="return inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')"' . ' value="'. $_POST['GLManualCode'] .'" /></td> + <td><input type="text" class="number" name="GLManualCode" maxlength="12" size="12" onchange="return inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')"' . ' value="'. $_POST['GLManualCode'] .'" /></td> </tr>'; } else { echo '<tr> <td>' . _('Enter GL Account Manually') . ':</td> - <td><input type="text" class="number" Name="GLManualCode" maxlength="12" size="12" onChange="return inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" /></td></tr>'; + <td><input type="text" class="number" Name="GLManualCode" maxlength="12" size="12" onchange="return inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" /></td></tr>'; } echo '<tr> <td>' . _('Select GL Group') . ':</td> - <td><select name="GLGroup" onChange="return ReloadForm(UpdateCodes)">'; + <td><select name="GLGroup" onchange="return ReloadForm(UpdateCodes)">'; $SQL = "SELECT groupname FROM accountgroups @@ -990,7 +990,7 @@ echo '<tr> <td>' . _('Select GL Account') . ':</td> - <td><select name="GLCode" onChange="return assignComboToInput(this,'.'GLManualCode'.')">'; + <td><select name="GLCode" onchange="return assignComboToInput(this,'.'GLManualCode'.')">'; $result=DB_query($SQL,$db); if (DB_num_rows($result)==0){ Modified: trunk/SalesByTypePeriodInquiry.php =================================================================== --- trunk/SalesByTypePeriodInquiry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SalesByTypePeriodInquiry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -34,7 +34,7 @@ if ($_POST['DateRange']=='Custom'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)"/></td> +echo ' onchange="ReloadForm(Form1.ShowSales)"/></td> </tr> <tr> <td>' . _('This Week') . ':</td> @@ -42,7 +42,7 @@ if ($_POST['DateRange']=='ThisWeek'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Month') . ':</td> @@ -50,7 +50,7 @@ if ($_POST['DateRange']=='ThisMonth'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Quarter') . ':</td> @@ -58,7 +58,7 @@ if ($_POST['DateRange']=='ThisQuarter'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr>'; if ($_POST['DateRange']=='Custom'){ if (!isset($_POST['ToDate'])){ @@ -86,7 +86,7 @@ if ($_POST['DisplayData']=='Daily'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('Weekly') . ':</td> @@ -94,7 +94,7 @@ if ($_POST['DisplayData']=='Weekly'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('Monthly') . ':</td> @@ -102,7 +102,7 @@ if ($_POST['DisplayData']=='Monthly'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('Quarterly') . ':</td> @@ -110,7 +110,7 @@ if ($_POST['DisplayData']=='Quarterly'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr>'; echo '</table> </td></tr> Modified: trunk/SalesCategoryPeriodInquiry.php =================================================================== --- trunk/SalesCategoryPeriodInquiry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SalesCategoryPeriodInquiry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -27,7 +27,7 @@ if ($_POST['DateRange']=='Custom'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Week') . ':</td> @@ -35,7 +35,7 @@ if ($_POST['DateRange']=='ThisWeek'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Month') . ':</td> @@ -43,7 +43,7 @@ if ($_POST['DateRange']=='ThisMonth'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Quarter') . ':</td> @@ -51,7 +51,7 @@ if ($_POST['DateRange']=='ThisQuarter'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr>'; if ($_POST['DateRange']=='Custom'){ if (!isset($_POST['FromDate'])){ Modified: trunk/SalesTopItemsInquiry.php =================================================================== --- trunk/SalesTopItemsInquiry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SalesTopItemsInquiry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -30,7 +30,7 @@ if ($_POST['DateRange']=='Custom'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Week') . ':</td> @@ -38,7 +38,7 @@ if ($_POST['DateRange']=='ThisWeek'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Month') . ':</td> @@ -46,7 +46,7 @@ if ($_POST['DateRange']=='ThisMonth'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Quarter') . ':</td> @@ -54,7 +54,7 @@ if ($_POST['DateRange']=='ThisQuarter'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr>'; if ($_POST['DateRange']=='Custom'){ if (!isset($_POST['FromDate'])){ Modified: trunk/SelectCreditItems.php =================================================================== --- trunk/SelectCreditItems.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SelectCreditItems.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -841,7 +841,7 @@ <table class="selection"> <tr> <td>' . _('Credit Note Type') . ' :</td> - <td><select name="CreditType" onChange="ReloadForm(MainForm.Update)" >'; + <td><select name="CreditType" onchange="ReloadForm(MainForm.Update)" >'; if (!isset($_POST['CreditType']) OR $_POST['CreditType']=='Return'){ echo '<option selected="selected" value="Return">' . _('Goods returned to store') . '</option> Modified: trunk/StockCategories.php =================================================================== --- trunk/StockCategories.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/StockCategories.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -374,7 +374,7 @@ echo '<tr> <td>' . _('Stock Type') . ':</td> - <td><select name="StockType" onChange="ReloadForm(CategoryForm.UpdateTypes)" >'; + <td><select name="StockType" onchange="ReloadForm(CategoryForm.UpdateTypes)" >'; if (isset($_POST['StockType']) and $_POST['StockType']=='F') { echo '<option selected="selected" value="F">' . _('Finished Goods') . '</option>'; } else { Modified: trunk/StockLocTransferReceive.php =================================================================== --- trunk/StockLocTransferReceive.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/StockLocTransferReceive.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -511,7 +511,7 @@ echo '<tr> <td>'. _('Select Location Receiving Into'). ':</td> <td>'; - echo '<select name="RecLocation" onChange="ReloadForm(form1.RefreshTransferList)">'; + echo '<select name="RecLocation" onchange="ReloadForm(form1.RefreshTransferList)">'; if (!isset($_POST['RecLocation'])){ $_POST['RecLocation'] = $_SESSION['UserStockLocation']; } Modified: trunk/Stocks.php =================================================================== --- trunk/Stocks.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/Stocks.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -843,7 +843,7 @@ echo '<tr> <td>' . _('Category') . ':</td> - <td><select name="CategoryID" onChange="ReloadForm(ItemForm.UpdateCategories)">'; + <td><select name="CategoryID" onchange="ReloadForm(ItemForm.UpdateCategories)">'; $sql = "SELECT categoryid, categorydescription FROM stockcategory"; $ErrMsg = _('The stock categories could not be retrieved because'); Modified: trunk/SupplierCredit.php =================================================================== --- trunk/SupplierCredit.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SupplierCredit.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -521,7 +521,7 @@ echo '<tr> <td colspan="2"><input type="submit" name="ToggleTaxMethod" value="' . _('Change Tax Calculation Method') . '" /></td> - <td><select name="OverRideTax" onChange="ReloadForm(form1.ToggleTaxMethod)">'; + <td><select name="OverRideTax" onchange="ReloadForm(form1.ToggleTaxMethod)">'; if ($_POST['OverRideTax']=='Man'){ echo '<option value="Auto">' . _('Automatic') . '</option> Modified: trunk/SupplierInvoice.php =================================================================== --- trunk/SupplierInvoice.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SupplierInvoice.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -498,7 +498,7 @@ echo '<tr> <td colspan="2"><input type="submit" name="ToggleTaxMethod" value="' . _('Update Tax Calculation') . '" /></td> - <td><select name="OverRideTax" onChange="ReloadForm(form1.ToggleTaxMethod)">'; + <td><select name="OverRideTax" onchange="ReloadForm(form1.ToggleTaxMethod)">'; if ($_POST['OverRideTax']=='Man'){ echo '<option value="Auto">' . _('Automatic') . '</option> Modified: trunk/SupplierTenderCreate.php =================================================================== --- trunk/SupplierTenderCreate.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SupplierTenderCreate.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -320,7 +320,7 @@ } echo '<tr> <td>' . _('Warehouse') . ':</td> - <td><select name="StkLocation" onChange="ReloadForm(form1.LookupDeliveryAddress)">'; + <td><select name="StkLocation" onchange="ReloadForm(form1.LookupDeliveryAddress)">'; $sql = "SELECT loccode, locationname Modified: trunk/WorkOrderEntry.php =================================================================== --- trunk/WorkOrderEntry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/WorkOrderEntry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -467,7 +467,7 @@ </tr>'; echo '<tr> <td class="label">' . _('Factory Location') .':</td> - <td><select name="StockLocation" onChange="ReloadForm(form1.submit)">'; + <td><select name="StockLocation" onchange="ReloadForm(form1.submit)">'; $LocResult = DB_query("SELECT loccode,locationname FROM locations",$db); while ($LocRow = DB_fetch_array($LocResult)){ if ($_POST['StockLocation']==$LocRow['loccode']){ Modified: trunk/reportwriter/install/ReportListForm.php =================================================================== --- trunk/reportwriter/install/ReportListForm.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/reportwriter/install/ReportListForm.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -22,7 +22,7 @@ ORDER BY reportname"; $Result=DB_query($sql,$db,'','',false,true); if (DB_num_rows($Result)>0) { - $RptForm .= '<tr><td><select name="ReportID" size="10" onChange="submit()">'; + $RptForm .= '<tr><td><select name="ReportID" size="10" onchange="submit()">'; while ($Temp = DB_fetch_array($Result)) { $RptForm .= '<option value="'.$Temp['id'].'">'.$Temp['reportname'].'</option>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-03-11 22:25:06
|
Revision: 5065 http://web-erp.svn.sourceforge.net/web-erp/?rev=5065&view=rev Author: vvs2012 Date: 2012-03-11 22:24:58 +0000 (Sun, 11 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/DailyBankTransactions.php trunk/DailySalesInquiry.php trunk/DebtorsAtPeriodEnd.php trunk/DeliveryDetails.php trunk/Departments.php trunk/DiscountCategories.php trunk/DiscountMatrix.php trunk/ExchangeRateTrend.php trunk/FixedAssetTransfer.php trunk/GLBudgets.php trunk/GLJournal.php trunk/GoodsReceived.php trunk/PDFPrintLabel.php trunk/PO_Header.php trunk/Payments.php trunk/SalesByTypePeriodInquiry.php trunk/SalesCategoryPeriodInquiry.php trunk/SalesTopItemsInquiry.php trunk/SelectCreditItems.php trunk/StockCategories.php trunk/StockLocTransferReceive.php trunk/Stocks.php trunk/SupplierCredit.php trunk/SupplierInvoice.php trunk/SupplierTenderCreate.php trunk/WorkOrderEntry.php trunk/reportwriter/install/ReportListForm.php Modified: trunk/DailyBankTransactions.php =================================================================== --- trunk/DailyBankTransactions.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DailyBankTransactions.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -12,7 +12,8 @@ </p>'; if (!isset($_POST['Show'])) { - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; @@ -54,18 +55,19 @@ } echo '<tr> <td>' . _('Transactions Dated From') . ':</td> - <td><input type="text" name="FromTransDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . + <td><input type="text" name="FromTransDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . date($_SESSION['DefaultDateFormat']) . '" /></td> </tr> <tr> <td>' . _('Transactions Dated To') . ':</td> - <td><input type="text" name="ToTransDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . date($_SESSION['DefaultDateFormat']) . '" /></td> + <td><input type="text" name="ToTransDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . date($_SESSION['DefaultDateFormat']) . '" /></td> </tr> </table> <br /> <div class="centre"> <input type="submit" name="Show" value="' . _('Show transactions'). '" /> </div> + </div> </form>'; } else { $SQL = "SELECT bankaccountname, @@ -104,7 +106,7 @@ $BankDetailRow = DB_fetch_array($BankResult); echo '<table class="selection"> <tr> - <th colspan="8"><font size="3" color="blue">' . _('Account Transactions For').' '.$BankDetailRow['bankaccountname'].' '._('Between').' '.$_POST['FromTransDate'] . ' ' . _('and') . ' ' . $_POST['ToTransDate'] . '</font></th> + <th colspan="8"><h3>' . _('Account Transactions For').' '.$BankDetailRow['bankaccountname'].' '._('Between').' '.$_POST['FromTransDate'] . ' ' . _('and') . ' ' . $_POST['ToTransDate'] . '</h3></th> </tr> <tr> <th>' . ('Date') . '</th> @@ -139,9 +141,11 @@ echo '</table>'; } //end if no bank trans in the range to show - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; 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 '</div>'; echo '</form>'; } include('includes/footer.inc'); Modified: trunk/DailySalesInquiry.php =================================================================== --- trunk/DailySalesInquiry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DailySalesInquiry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -11,6 +11,7 @@ <br />'; echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (!isset($_POST['MonthToShow'])){ @@ -62,6 +63,7 @@ <div class="centre"> <input tabindex="4" type="submit" name="ShowResults" value="' . _('Show Daily Sales For The Selected Month') . '" /> </div> + </div> </form> <br />'; /*Now get and display the sales data returned */ Modified: trunk/DebtorsAtPeriodEnd.php =================================================================== --- trunk/DebtorsAtPeriodEnd.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DebtorsAtPeriodEnd.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -130,11 +130,12 @@ /*if $FromCriteria is not set then show a form to allow input */ echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> - <table class="selection">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + <div>'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<table class="selection">'; echo '<tr> - <td>' . _('From Customer Code') .':</font></td> + <td>' . _('From Customer Code') .':</td> <td><input tabindex="1" type="text" maxlength="6" size="7" name="FromCriteria" value="1" /></td> </tr> <tr> @@ -162,6 +163,7 @@ <div class="centre"> <input tabindex="5" type="submit" name="PrintPDF" value="' . _('Print PDF') . '" /> </div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DeliveryDetails.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -255,8 +255,8 @@ if(isset($_POST['MakeRecurringOrder']) AND ! $InputErrors){ - echo '<meta http-equiv="Refresh" content="0; url=' . $rootpath . '/RecurringSalesOrders.php?identifier='.$identifier . '&NewRecurringOrder=Yes">'; - prnMsg(_('You should automatically be forwarded to the entry of recurring order details page') . '. ' . _('If this does not happen') . '(' . _('if the browser does not support META Refresh') . ') ' . '<a href="' . $rootpath . '/RecurringOrders.php?identifier='.$identifier . '&NewRecurringOrder=Yes">'. _('click here') .'</a> '. _('to continue'),'info'); + echo '<meta http-equiv="Refresh" content="0; url=' . $rootpath . '/RecurringSalesOrders.php?identifier='.$identifier . '&NewRecurringOrder=Yes">'; + prnMsg(_('You should automatically be forwarded to the entry of recurring order details page') . '. ' . _('If this does not happen') . '(' . _('if the browser does not support META Refresh') . ') ' . '<a href="' . $rootpath . '/RecurringOrders.php?identifier='.$identifier . '&NewRecurringOrder=Yes">'. _('click here') .'</a> '. _('to continue'),'info'); include('includes/footer.inc'); exit; } @@ -276,7 +276,7 @@ if ($InputErrors ==0) { $OK_to_PROCESS = 1; } - If ($_POST['FreightCost'] != $OldFreightCost && $_SESSION['DoFreightCalc']==True){ + If ($_POST['FreightCost'] != $OldFreightCost AND $_SESSION['DoFreightCalc']==True){ $OK_to_PROCESS = 0; prnMsg(_('The freight charge has been updated') . '. ' . _('Please reconfirm that the order and the freight charges are acceptable and then confirm the order again if OK') .' <br /> '. _('The new freight cost is') .' ' . $_POST['FreightCost'] . ' ' . _('and the previously calculated freight cost was') .' '. $OldFreightCost,'warn'); } else { @@ -295,7 +295,7 @@ $myrow = DB_fetch_array($TermsResult); - if ($myrow['daysbeforedue']==0 && $myrow['dayinfollowingmonth']==0){ + if ($myrow['daysbeforedue']==0 AND $myrow['dayinfollowingmonth']==0){ /* THIS IS A CASH SALE NEED TO GO OFF TO 3RD PARTY SITE SENDING MERCHANT ACCOUNT DETAILS AND CHECK FOR APPROVAL FROM 3RD PARTY SITE BEFORE CONTINUING TO PROCESS THE ORDER @@ -311,7 +311,7 @@ } #end if else freight charge not altered } #end if process order -if (isset($OK_to_PROCESS) AND $OK_to_PROCESS == 1 && $_SESSION['ExistingOrder'.$identifier]==0){ +if (isset($OK_to_PROCESS) AND $OK_to_PROCESS == 1 AND $_SESSION['ExistingOrder'.$identifier]==0){ /* finally write the order header to the database and then the order line details */ @@ -572,16 +572,16 @@ echo '<br /><table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" /></td> - <td>' . ' ' . '<a target="_blank" href="' . $rootpath . '/PrintCustOrder.php?identifier='.$identifier . '&TransNo=' . $OrderNo . '">'. _('Print packing slip') . ' (' . _('Preprinted stationery') . ')' .'</a></td> + <td>' . ' ' . '<a target="_blank" href="' . $rootpath . '/PrintCustOrder.php?identifier='.$identifier . '&TransNo=' . $OrderNo . '">'. _('Print packing slip') . ' (' . _('Preprinted stationery') . ')' .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" /></td> - <td>' . ' ' . '<a target="_blank" href="' . $rootpath . '/PrintCustOrder_generic.php?identifier='.$identifier . '&TransNo=' . $OrderNo . '">'. _('Print packing slip') . ' (' . _('Laser') . ')' .'</a></td> + <td>' . ' ' . '<a target="_blank" href="' . $rootpath . '/PrintCustOrder_generic.php?identifier='.$identifier . '&TransNo=' . $OrderNo . '">'. _('Print packing slip') . ' (' . _('Laser') . ')' .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Invoice') . '" alt="" /></td> - <td>' . ' ' . '<a href="' . $rootpath . '/ConfirmDispatch_Invoice.php?identifier='.$identifier . '&OrderNumber=' . $OrderNo .'">'. _('Confirm Dispatch and Produce Invoice') .'</a></td> + <td>' . ' ' . '<a href="' . $rootpath . '/ConfirmDispatch_Invoice.php?identifier='.$identifier . '&OrderNumber=' . $OrderNo .'">'. _('Confirm Dispatch and Produce Invoice') .'</a></td> </tr>'; echo '</table>'; @@ -591,20 +591,20 @@ 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> + <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotation.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Landscape)') .'</a></td> </tr> </table>'; 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> + <td>' . ' ' . '<a href="' . $rootpath . '/PDFQuotationPortrait.php?identifier='.$identifier . '&QuotationNo=' . $OrderNo . '">'. _('Print Quotation (Portrait)') .'</a></td> </tr> </table>'; } 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> + <td>' . ' ' . '<a href="'. $rootpath .'/SelectOrderItems.php?identifier='.$identifier . '&NewOrder=Yes">'. _('Add Another Sales Order') .'</a></td> </tr> </table>'; } else { @@ -617,7 +617,7 @@ include('includes/footer.inc'); exit; -} elseif (isset($OK_to_PROCESS) and $OK_to_PROCESS == 1 && $_SESSION['ExistingOrder'.$identifier]!=0){ +} elseif (isset($OK_to_PROCESS) AND ($OK_to_PROCESS == 1 AND $_SESSION['ExistingOrder'.$identifier]!=0)){ /* update the order header then update the old order line details and insert the new lines */ @@ -787,15 +787,15 @@ <table class="selection"> <tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" /></td> - <td><a target="_blank" href="' . $rootpath . '/PrintCustOrder.php?identifier='.$identifier . '&TransNo=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Print packing slip - pre-printed stationery') .'</a></td> + <td><a target="_blank" href="' . $rootpath . '/PrintCustOrder.php?identifier='.$identifier . '&TransNo=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Print packing slip - pre-printed stationery') .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" /></td> - <td><a target="_blank" href="' . $rootpath . '/PrintCustOrder_generic.php?identifier='.$identifier . '&TransNo=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Print packing slip') . ' (' . _('Laser') . ')' .'</a></td> + <td><a target="_blank" href="' . $rootpath . '/PrintCustOrder_generic.php?identifier='.$identifier . '&TransNo=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Print packing slip') . ' (' . _('Laser') . ')' .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Invoice') . '" alt="" /></td> - <td><a href="' . $rootpath .'/ConfirmDispatch_Invoice.php?identifier='.$identifier . '&OrderNumber=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Confirm Order Delivery Quantities and Produce Invoice') .'</a></td> + <td><a href="' . $rootpath .'/ConfirmDispatch_Invoice.php?identifier='.$identifier . '&OrderNumber=' . $_SESSION['ExistingOrder'.$identifier] . '">'. _('Confirm Order Delivery Quantities and Produce Invoice') .'</a></td> </tr>'; echo '<tr> <td><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Order') . '" alt="" /></td> @@ -811,20 +811,21 @@ if (isset($_SESSION['Items'.$identifier]->SpecialInstructions) and mb_strlen($_SESSION['Items'.$identifier]->SpecialInstructions)>0) { prnMsg($_SESSION['Items'.$identifier]->SpecialInstructions,'info'); } -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Delivery') . '" alt="" />' . ' ' . _('Delivery Details'); +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Delivery') . '" alt="" />' . ' ' . _('Delivery Details') . '</p>'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Customer Code') . ' :<b> ' . $_SESSION['Items'.$identifier]->DebtorNo . '<br />'; echo '</b> ' . _('Customer Name') . ' :<b> ' . $_SESSION['Items'.$identifier]->CustomerName . '</b></p>'; echo '<form action="' . $_SERVER['PHP_SELF'] . '?identifier='.$identifier . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*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>'; if ($_SESSION['Items'.$identifier]->Quotation==1){ echo '<tr><th colspan="7">'._('Quotation Summary').'</th></tr>'; @@ -1082,7 +1083,7 @@ echo '<option selected="selected" value="1">' . _('No') . '</option>'; echo '</select> '. _('Last printed') .': ' . ConvertSQLDate($_SESSION['DatePackingSlipPrinted']) . '</td></tr>'; } else { - echo '<input type="hidden" name="ReprintPackingSlip" value="0" />'; + echo '<tr><td><input type="hidden" name="ReprintPackingSlip" value="0" /></td></tr>'; } echo '<tr> @@ -1090,9 +1091,9 @@ <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> - </tr>'; + echo '<td><input type="submit" name="Update" value="' . _('Recalc Freight Cost') . '" /></td>'; } +echo '</tr>'; if ((!isset($_POST['ShipVia']) OR $_POST['ShipVia']=='') AND isset($_SESSION['Items'.$identifier]->ShipVia)){ $_POST['ShipVia'] = $_SESSION['Items'.$identifier]->ShipVia; @@ -1141,6 +1142,8 @@ echo '<br /><input type="submit" name="ProcessOrder" value="' . _('Commit Order Changes') . '" />'; } -echo '</div></form>'; +echo '</div> + </div> + </form>'; include('includes/footer.inc'); ?> Modified: trunk/Departments.php =================================================================== --- trunk/Departments.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/Departments.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -27,7 +27,7 @@ if (ContainsIllegalCharacters($_POST['DepartmentName'])) { $InputError = 1; - prnMsg( _('The description of the department must not contain the character') . " '&' " . _('or the character') ." '",'error'); + prnMsg( _('The description of the department must not contain the character') . " '&' " . _('or the character') ." '",'error'); } if (trim($_POST['DepartmentName']) == '') { $InputError = 1; @@ -111,6 +111,7 @@ $result = DB_query($sql,$db); } prnMsg($msg,'success'); + echo '<br />'; } unset ($SelectedDepartmentID); unset ($_POST['SelectedDepartmentID']); @@ -183,7 +184,7 @@ echo '<td>' . $myrow['description'] . '</td> <td>' . $myrow['authoriser'] . '</td> <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?SelectedDepartmentID=' . $myrow['departmentid'] . '">' . _('Edit') . '</a></td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?SelectedDepartmentID=' . $myrow['departmentid'] . '&delete=1">' . _('Delete') .'</a></td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?SelectedDepartmentID=' . $myrow['departmentid'] . '&delete=1">' . _('Delete') .'</a></td> </tr>'; } //END WHILE LIST LOOP @@ -200,6 +201,7 @@ if (! isset($_GET['delete'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedDepartmentID)) { @@ -252,6 +254,7 @@ echo '<div class="centre"> <input type="submit" name="Submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; } //end if record deleted no point displaying form to add record Modified: trunk/DiscountCategories.php =================================================================== --- trunk/DiscountCategories.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DiscountCategories.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -65,7 +65,8 @@ } if (isset($_POST['selectchoice'])) { - echo '<form name="update" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form id="update" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $sql = "SELECT DISTINCT discountcategory FROM stockmaster WHERE discountcategory <>''"; @@ -73,7 +74,7 @@ if (DB_num_rows($result) > 0) { echo '<table class="selection"><tr><td>'. _('Discount Category Code') .': </td>'; - echo '<td><select name="DiscCat" onChange="ReloadForm(update.select)">'; + echo '<td><select name="DiscCat" onchange="ReloadForm(update.select)">'; while ($myrow = DB_fetch_array($result)){ if ($myrow['discountcategory']==$_POST['DiscCat']){ @@ -81,7 +82,6 @@ } else { echo '<option value="' . $myrow['discountcategory'] . '">' . $myrow['discountcategory'] . '</option>'; } - echo '</option>'; } echo '</select></td>'; @@ -90,8 +90,11 @@ </table> <br />'; } + echo '</div> + </form>'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; 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'].'" />'; @@ -171,7 +174,8 @@ echo '</select></td></tr></table>'; echo '<br /><div class="centre"><input type="submit" name="SubmitCategory" value="'. _('Update Items') .'" /></div>'; } - echo '</form>'; + echo '</div> + </form>'; if (! isset($_POST['DiscCat'])){ /*set DiscCat to something to show results for first cat defined */ @@ -212,11 +216,11 @@ echo '<tr class="OddTableRows">'; $k=1; } - $DeleteURL = htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=yes&StockID=' . $myrow['stockid'] . '&DiscountCategory=' . $myrow['discountcategory']; + $DeleteURL = htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=yes&StockID=' . $myrow['stockid'] . '&DiscountCategory=' . $myrow['discountcategory']; printf('<td>%s</td> <td>%s - %s</td> - <td><a href="%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this discount category?') . '\');">'. _('Delete') .'</td> + <td><a href="%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this discount category?') . '\');">'. _('Delete') .'</a></td> </tr>', $myrow['discountcategory'], $myrow['stockid'], @@ -235,17 +239,20 @@ } if (!isset($_POST['selectchoice'])) { - echo '<form method="post" name="choose" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form method="post" id="choose" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; echo '<tr><td>'._('Update discount category for').'</td>'; - echo '<td><select name="ChooseOption" onChange="ReloadForm(choose.selectchoice)">'; + echo '<td><select name="ChooseOption" onchange="ReloadForm(choose.selectchoice)">'; echo '<option value="1">'._('a single stock item').'</option>'; echo '<option value="2">'._('a complete stock category').'</option>'; echo '</select></td></tr> </table> <br />'; echo '<div class="centre"><input type="submit" name="selectchoice" value="'._('Select').'" /></div>'; + echo '</div> + </form>'; } include('includes/footer.inc'); Modified: trunk/DiscountMatrix.php =================================================================== --- trunk/DiscountMatrix.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/DiscountMatrix.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -82,6 +82,7 @@ } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; @@ -105,7 +106,7 @@ } } -echo '</select>'; +echo '</select></td></tr>'; $sql = "SELECT DISTINCT discountcategory FROM stockmaster WHERE discountcategory <>''"; @@ -122,9 +123,9 @@ echo '<option value="' . $myrow['discountcategory'] . '">' . $myrow['discountcategory'] . '</option>'; } } - echo '</select></td>'; + echo '</select></td></tr>'; } else { - echo '<input type="hidden" name="DiscountCategory" value="" />'; + echo '<tr><td><input type="hidden" name="DiscountCategory" value="" /></td></tr>'; } echo '<tr> @@ -173,13 +174,13 @@ echo '<tr class="OddTableRows">'; $k=1; } - $DeleteURL = htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=yes&SalesType=' . $myrow['salestype'] . '&DiscountCategory=' . $myrow['discountcategory'] . '&QuantityBreak=' . $myrow['quantitybreak']; + $DeleteURL = htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?Delete=yes&SalesType=' . $myrow['salestype'] . '&DiscountCategory=' . $myrow['discountcategory'] . '&QuantityBreak=' . $myrow['quantitybreak']; printf('<td>%s</td> <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><a href="%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this discount matrix record?') . '\');">' . _('Delete') . '</td> + <td><a href="%s" onclick="return confirm(\'' . _('Are you sure you wish to delete this discount matrix record?') . '\');">' . _('Delete') . '</a></td> </tr>', $myrow['sales_type'], $myrow['discountcategory'], @@ -190,7 +191,8 @@ } echo '</table> - </form>'; + </div> + </form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/ExchangeRateTrend.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -32,7 +32,7 @@ // CurrencyToShow Currency Picker - echo '<tr><td><select name="CurrencyToShow" onChange="ReloadForm(update.submit)">'; + echo '<tr><td><select name="CurrencyToShow" onchange="ReloadForm(update.submit)">'; DB_data_seek($result,0); while ($myrow=DB_fetch_array($result)) { Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/FixedAssetTransfer.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -129,7 +129,7 @@ <td class="number">'.locale_number_format($myrow['cost'],$_SESSION['CompanyRecord']['decimalplaces']).'</td> <td class="number">'.locale_number_format($myrow['accumdepn'],$_SESSION['CompanyRecord']['decimalplaces']).'</td> <td>'.$myrow['locationdescription'].'</td>'; - echo '<td><select name="Location'.$myrow['assetid'].'" onChange="ReloadForm(Move'.$myrow['assetid'].')">'; + echo '<td><select name="Location'.$myrow['assetid'].'" onchange="ReloadForm(Move'.$myrow['assetid'].')">'; echo '<option></option>'; while ($LocationRow=DB_fetch_array($LocationResult)) { if ($LocationRow['locationid']==$myrow['location']) { Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/GLBudgets.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -35,7 +35,7 @@ echo '<br /> <tr> <td>'. _('Select GL Account'). ':</td> - <td><select name="SelectedAccount" onChange="ReloadForm(selectaccount.Select)">'; + <td><select name="SelectedAccount" onchange="ReloadForm(selectaccount.Select)">'; $SQL = "SELECT accountcode, accountname @@ -221,7 +221,7 @@ <td></td> <td><input class="number" type="text" size="14" name="AnnualAmountTY" value="0.00" /></td> <td></td> - <td><input onChange="numberFormat(this,2)" class="number" type="text" size="14" name="AnnualAmount" value="0.00" /></td> + <td><input onchange="numberFormat(this,2)" class="number" type="text" size="14" name="AnnualAmount" value="0.00" /></td> <td><input type="submit" name="Apportion" value="' . _('Apportion Budget') . '" /></td> </tr> </table>'; Modified: trunk/GLJournal.php =================================================================== --- trunk/GLJournal.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/GLJournal.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -318,7 +318,7 @@ if (!isset($_POST['GLManualCode'])) { $_POST['GLManualCode']=''; } -echo '<td><input class="number" type="text" name="GLManualCode" maxlength="12" size="12" onChange="inArray(this.value, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" value="'. $_POST['GLManualCode'] .'" /></td>'; +echo '<td><input class="number" type="text" name="GLManualCode" maxlength="12" size="12" onchange="inArray(this.value, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" value="'. $_POST['GLManualCode'] .'" /></td>'; $sql="SELECT accountcode, accountname @@ -326,7 +326,7 @@ ORDER BY accountcode"; $result=DB_query($sql, $db); -echo '<td><select name="GLCode" onChange="return assignComboToInput(this,'.'GLManualCode'.')">'; +echo '<td><select name="GLCode" onchange="return assignComboToInput(this,'.'GLManualCode'.')">'; echo '<option value="">' . _('Select a general ledger account code') . '</option>'; while ($myrow=DB_fetch_array($result)){ if (isset($_POST['tag']) and $_POST['tag']==$myrow['accountcode']){ @@ -350,11 +350,11 @@ echo '</tr> <tr> <th>' . _('Debit') . '</th> - <td><input type="text" class="number" name = "Debit" onChange="eitherOr(this, '.'Credit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Debit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> + <td><input type="text" class="number" name = "Debit" onchange="eitherOr(this, '.'Credit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Debit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> </tr> <tr> <th>' . _('Credit') . '</th> - <td><input type="text" class="number" Name = "Credit" onChange="eitherOr(this, '.'Debit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Credit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> + <td><input type="text" class="number" Name = "Credit" onchange="eitherOr(this, '.'Debit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Credit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> </tr> <tr> <td></td> Modified: trunk/GoodsReceived.php =================================================================== --- trunk/GoodsReceived.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/GoodsReceived.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -83,7 +83,7 @@ echo '<table class="selection"> <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, '."'". + <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> </tr> </table> Modified: trunk/PDFPrintLabel.php =================================================================== --- trunk/PDFPrintLabel.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/PDFPrintLabel.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -155,18 +155,18 @@ </tr>'; echo '<tr> <td class="number">'.$txt[$iTxt++].':</td> - <td><select name="SalesType" onChange="ReloadForm(form1.refresh)"> + <td><select name="SalesType" onchange="ReloadForm(form1.refresh)"> '.$OptionSales.' </select></td> </tr>'; echo '<td class="number">'.$txt[$iTxt++].':</td> - <td><select name="Currency" onChange="ReloadForm(form1.refresh)"> + <td><select name="Currency" onchange="ReloadForm(form1.refresh)"> '.$OptionCurrency.' </select></td> </tr>'; echo '<tr> <td class="number">'.$txt[$iTxt++].':</td> - <td><select name="Category" onChange="ReloadForm(form1.refresh)"> + <td><select name="Category" onchange="ReloadForm(form1.refresh)"> '.$OptionsCategory.' </select> </td> </tr>'; Modified: trunk/PO_Header.php =================================================================== --- trunk/PO_Header.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/PO_Header.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -778,7 +778,7 @@ if ($_SESSION['PO'.$identifier]->AllowPrintPO==0 AND empty($_POST['RePrint'])){ echo '<tr><td>' . _('Allow Reprint') . ':</td> - <td><select name="RePrint" onChange="ReloadForm(form1.AllowRePrint)"> + <td><select name="RePrint" onchange="ReloadForm(form1.AllowRePrint)"> <option selected="selected" value="0">' . _('No') . '</option> <option value="1">' . _('Yes') . '</option> </select></td>'; @@ -802,7 +802,7 @@ echo '<tr><td>' . _('New Purchase Order') . '</td></tr>'; } else { echo '<tr><td>' . _('Status') . ' : </td> - <td><select name="Status" onChange="ReloadForm(form1.UpdateStatus)">'; + <td><select name="Status" onchange="ReloadForm(form1.UpdateStatus)">'; switch ($_SESSION['PO'.$identifier]->Status) { case 'Pending': @@ -862,7 +862,7 @@ echo '<table class="selection" width="100%"> <tr> <td>' . _('Warehouse') . ':</td> - <td><select name="StkLocation" onChange="ReloadForm(form1.LookupDeliveryAddress)">'; + <td><select name="StkLocation" onchange="ReloadForm(form1.LookupDeliveryAddress)">'; $sql = "SELECT loccode, locationname @@ -1012,7 +1012,7 @@ echo '<table class="selection" width="100%"> <tr> <td>' . _('Supplier Selection') . ':</td> - <td><select name="Keywords" onChange="ReloadForm(form1.SearchSuppliers)">'; + <td><select name="Keywords" onchange="ReloadForm(form1.SearchSuppliers)">'; $SuppCoResult = DB_query("SELECT supplierid, suppname FROM suppliers ORDER BY suppname",$db); Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/Payments.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -756,7 +756,7 @@ echo '<tr> <td>' . _('Bank Account') . ':</td> - <td><select name="BankAccount" onChange="ReloadForm(UpdateHeader)">'; + <td><select name="BankAccount" onchange="ReloadForm(UpdateHeader)">'; if (DB_num_rows($AccountsResults)==0){ echo '</select></td> @@ -782,13 +782,13 @@ echo '<tr> <td>' . _('Date Paid') . ':</td> - <td><input type="text" name="DatePaid" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onChange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['PaymentDetail' . $identifier]->DatePaid . '" /></td> + <td><input type="text" name="DatePaid" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" maxlength="10" size="11" onchange="isDate(this, this.value, '."'".$_SESSION['DefaultDateFormat']."'".')" value="' . $_SESSION['PaymentDetail' . $identifier]->DatePaid . '" /></td> </tr>'; if ($_SESSION['PaymentDetail' . $identifier]->SupplierID==''){ echo '<tr><td>' . _('Currency of Payment') . ':</td> - <td><select name="Currency" onChange="ReloadForm(UpdateHeader)">'; + <td><select name="Currency" onchange="ReloadForm(UpdateHeader)">'; $SQL = "SELECT currency, currabrev, rate FROM currencies"; $result=DB_query($SQL,$db); @@ -939,17 +939,17 @@ if (isset($_POST['GLManualCode'])) { echo '<tr> <td>' . _('Enter GL Account Manually') . ':</td> - <td><input type="text" class="number" name="GLManualCode" maxlength="12" size="12" onChange="return inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')"' . ' value="'. $_POST['GLManualCode'] .'" /></td> + <td><input type="text" class="number" name="GLManualCode" maxlength="12" size="12" onchange="return inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')"' . ' value="'. $_POST['GLManualCode'] .'" /></td> </tr>'; } else { echo '<tr> <td>' . _('Enter GL Account Manually') . ':</td> - <td><input type="text" class="number" Name="GLManualCode" maxlength="12" size="12" onChange="return inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" /></td></tr>'; + <td><input type="text" class="number" Name="GLManualCode" maxlength="12" size="12" onchange="return inArray(this, GLCode.options,'. "'".'The account code '."'".'+ this.value+ '."'".' doesnt exist'."'".')" /></td></tr>'; } echo '<tr> <td>' . _('Select GL Group') . ':</td> - <td><select name="GLGroup" onChange="return ReloadForm(UpdateCodes)">'; + <td><select name="GLGroup" onchange="return ReloadForm(UpdateCodes)">'; $SQL = "SELECT groupname FROM accountgroups @@ -990,7 +990,7 @@ echo '<tr> <td>' . _('Select GL Account') . ':</td> - <td><select name="GLCode" onChange="return assignComboToInput(this,'.'GLManualCode'.')">'; + <td><select name="GLCode" onchange="return assignComboToInput(this,'.'GLManualCode'.')">'; $result=DB_query($SQL,$db); if (DB_num_rows($result)==0){ Modified: trunk/SalesByTypePeriodInquiry.php =================================================================== --- trunk/SalesByTypePeriodInquiry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SalesByTypePeriodInquiry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -34,7 +34,7 @@ if ($_POST['DateRange']=='Custom'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)"/></td> +echo ' onchange="ReloadForm(Form1.ShowSales)"/></td> </tr> <tr> <td>' . _('This Week') . ':</td> @@ -42,7 +42,7 @@ if ($_POST['DateRange']=='ThisWeek'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Month') . ':</td> @@ -50,7 +50,7 @@ if ($_POST['DateRange']=='ThisMonth'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Quarter') . ':</td> @@ -58,7 +58,7 @@ if ($_POST['DateRange']=='ThisQuarter'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr>'; if ($_POST['DateRange']=='Custom'){ if (!isset($_POST['ToDate'])){ @@ -86,7 +86,7 @@ if ($_POST['DisplayData']=='Daily'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('Weekly') . ':</td> @@ -94,7 +94,7 @@ if ($_POST['DisplayData']=='Weekly'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('Monthly') . ':</td> @@ -102,7 +102,7 @@ if ($_POST['DisplayData']=='Monthly'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr> <tr> <td>' . _('Quarterly') . ':</td> @@ -110,7 +110,7 @@ if ($_POST['DisplayData']=='Quarterly'){ echo 'checked'; } -echo ' onChange="ReloadForm(Form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(Form1.ShowSales)" /></td> </tr>'; echo '</table> </td></tr> Modified: trunk/SalesCategoryPeriodInquiry.php =================================================================== --- trunk/SalesCategoryPeriodInquiry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SalesCategoryPeriodInquiry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -27,7 +27,7 @@ if ($_POST['DateRange']=='Custom'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Week') . ':</td> @@ -35,7 +35,7 @@ if ($_POST['DateRange']=='ThisWeek'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Month') . ':</td> @@ -43,7 +43,7 @@ if ($_POST['DateRange']=='ThisMonth'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Quarter') . ':</td> @@ -51,7 +51,7 @@ if ($_POST['DateRange']=='ThisQuarter'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr>'; if ($_POST['DateRange']=='Custom'){ if (!isset($_POST['FromDate'])){ Modified: trunk/SalesTopItemsInquiry.php =================================================================== --- trunk/SalesTopItemsInquiry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SalesTopItemsInquiry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -30,7 +30,7 @@ if ($_POST['DateRange']=='Custom'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Week') . ':</td> @@ -38,7 +38,7 @@ if ($_POST['DateRange']=='ThisWeek'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Month') . ':</td> @@ -46,7 +46,7 @@ if ($_POST['DateRange']=='ThisMonth'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr> <tr> <td>' . _('This Quarter') . ':</td> @@ -54,7 +54,7 @@ if ($_POST['DateRange']=='ThisQuarter'){ echo 'checked'; } -echo ' onChange="ReloadForm(form1.ShowSales)" /></td> +echo ' onchange="ReloadForm(form1.ShowSales)" /></td> </tr>'; if ($_POST['DateRange']=='Custom'){ if (!isset($_POST['FromDate'])){ Modified: trunk/SelectCreditItems.php =================================================================== --- trunk/SelectCreditItems.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SelectCreditItems.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -841,7 +841,7 @@ <table class="selection"> <tr> <td>' . _('Credit Note Type') . ' :</td> - <td><select name="CreditType" onChange="ReloadForm(MainForm.Update)" >'; + <td><select name="CreditType" onchange="ReloadForm(MainForm.Update)" >'; if (!isset($_POST['CreditType']) OR $_POST['CreditType']=='Return'){ echo '<option selected="selected" value="Return">' . _('Goods returned to store') . '</option> Modified: trunk/StockCategories.php =================================================================== --- trunk/StockCategories.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/StockCategories.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -374,7 +374,7 @@ echo '<tr> <td>' . _('Stock Type') . ':</td> - <td><select name="StockType" onChange="ReloadForm(CategoryForm.UpdateTypes)" >'; + <td><select name="StockType" onchange="ReloadForm(CategoryForm.UpdateTypes)" >'; if (isset($_POST['StockType']) and $_POST['StockType']=='F') { echo '<option selected="selected" value="F">' . _('Finished Goods') . '</option>'; } else { Modified: trunk/StockLocTransferReceive.php =================================================================== --- trunk/StockLocTransferReceive.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/StockLocTransferReceive.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -511,7 +511,7 @@ echo '<tr> <td>'. _('Select Location Receiving Into'). ':</td> <td>'; - echo '<select name="RecLocation" onChange="ReloadForm(form1.RefreshTransferList)">'; + echo '<select name="RecLocation" onchange="ReloadForm(form1.RefreshTransferList)">'; if (!isset($_POST['RecLocation'])){ $_POST['RecLocation'] = $_SESSION['UserStockLocation']; } Modified: trunk/Stocks.php =================================================================== --- trunk/Stocks.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/Stocks.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -843,7 +843,7 @@ echo '<tr> <td>' . _('Category') . ':</td> - <td><select name="CategoryID" onChange="ReloadForm(ItemForm.UpdateCategories)">'; + <td><select name="CategoryID" onchange="ReloadForm(ItemForm.UpdateCategories)">'; $sql = "SELECT categoryid, categorydescription FROM stockcategory"; $ErrMsg = _('The stock categories could not be retrieved because'); Modified: trunk/SupplierCredit.php =================================================================== --- trunk/SupplierCredit.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SupplierCredit.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -521,7 +521,7 @@ echo '<tr> <td colspan="2"><input type="submit" name="ToggleTaxMethod" value="' . _('Change Tax Calculation Method') . '" /></td> - <td><select name="OverRideTax" onChange="ReloadForm(form1.ToggleTaxMethod)">'; + <td><select name="OverRideTax" onchange="ReloadForm(form1.ToggleTaxMethod)">'; if ($_POST['OverRideTax']=='Man'){ echo '<option value="Auto">' . _('Automatic') . '</option> Modified: trunk/SupplierInvoice.php =================================================================== --- trunk/SupplierInvoice.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SupplierInvoice.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -498,7 +498,7 @@ echo '<tr> <td colspan="2"><input type="submit" name="ToggleTaxMethod" value="' . _('Update Tax Calculation') . '" /></td> - <td><select name="OverRideTax" onChange="ReloadForm(form1.ToggleTaxMethod)">'; + <td><select name="OverRideTax" onchange="ReloadForm(form1.ToggleTaxMethod)">'; if ($_POST['OverRideTax']=='Man'){ echo '<option value="Auto">' . _('Automatic') . '</option> Modified: trunk/SupplierTenderCreate.php =================================================================== --- trunk/SupplierTenderCreate.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/SupplierTenderCreate.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -320,7 +320,7 @@ } echo '<tr> <td>' . _('Warehouse') . ':</td> - <td><select name="StkLocation" onChange="ReloadForm(form1.LookupDeliveryAddress)">'; + <td><select name="StkLocation" onchange="ReloadForm(form1.LookupDeliveryAddress)">'; $sql = "SELECT loccode, locationname Modified: trunk/WorkOrderEntry.php =================================================================== --- trunk/WorkOrderEntry.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/WorkOrderEntry.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -467,7 +467,7 @@ </tr>'; echo '<tr> <td class="label">' . _('Factory Location') .':</td> - <td><select name="StockLocation" onChange="ReloadForm(form1.submit)">'; + <td><select name="StockLocation" onchange="ReloadForm(form1.submit)">'; $LocResult = DB_query("SELECT loccode,locationname FROM locations",$db); while ($LocRow = DB_fetch_array($LocResult)){ if ($_POST['StockLocation']==$LocRow['loccode']){ Modified: trunk/reportwriter/install/ReportListForm.php =================================================================== --- trunk/reportwriter/install/ReportListForm.php 2012-03-11 21:29:58 UTC (rev 5064) +++ trunk/reportwriter/install/ReportListForm.php 2012-03-11 22:24:58 UTC (rev 5065) @@ -22,7 +22,7 @@ ORDER BY reportname"; $Result=DB_query($sql,$db,'','',false,true); if (DB_num_rows($Result)>0) { - $RptForm .= '<tr><td><select name="ReportID" size="10" onChange="submit()">'; + $RptForm .= '<tr><td><select name="ReportID" size="10" onchange="submit()">'; while ($Temp = DB_fetch_array($Result)) { $RptForm .= '<option value="'.$Temp['id'].'">'.$Temp['reportname'].'</option>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-03-16 22:34:11
|
Revision: 5105 http://web-erp.svn.sourceforge.net/web-erp/?rev=5105&view=rev Author: vvs2012 Date: 2012-03-16 22:34:02 +0000 (Fri, 16 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/EDIMessageFormat.php trunk/EmailCustTrans.php trunk/ExchangeRateTrend.php trunk/FTP_RadioBeacon.php trunk/Factors.php trunk/FixedAssetCategories.php trunk/FixedAssetDepreciation.php trunk/FixedAssetItems.php trunk/FixedAssetLocations.php trunk/FixedAssetRegister.php trunk/FixedAssetTransfer.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLBudgets.php trunk/POReport.php trunk/PO_AuthoriseMyOrders.php trunk/PO_Items.php trunk/Payments.php trunk/RecurringSalesOrders.php trunk/ReprintGRN.php trunk/ReverseGRN.php trunk/SalesInquiry.php trunk/SelectAsset.php trunk/SelectOrderItems.php trunk/SelectRecurringSalesOrder.php trunk/SelectSalesOrder.php trunk/StockAdjustments.php trunk/StockCounts.php trunk/StockLocStatus.php trunk/StockLocTransferReceive.php trunk/Z_ImportStocks.php trunk/Z_UploadForm.php Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/EDIMessageFormat.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -98,11 +98,11 @@ } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -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>'; +echo '<br /> + <p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p>'; if (!isset($SelectedMessageLine)) { @@ -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"><h3>' . _('Definition of') . ' ' . $MessageType . ' ' . _('for') . ' ' . $PartnerCode.'</h3></th></tr>'; $TableHeader = '<tr> <th>' . _('Section') . '</th> <th>' . _('Sequence') . '</th> @@ -147,8 +147,8 @@ printf('<td>%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> + <td><a href="%s&SelectedMessageLine=%s">' . _('Edit') . '</a></td> + <td><a href="%s&delete=%s">' . _('Delete') . '</a></td> </tr>', $myrow[1], $myrow[2], @@ -159,7 +159,7 @@ $myrow[0]); } //END WHILE LIST LOOP - echo '</table><p>'; + echo '</table><br />'; 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') . '" /> @@ -189,7 +189,7 @@ $_POST['SequenceNo'] = $myrow['sequenceno']; $_POST['LineText'] = $myrow['linetext']; - echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?MessageType=INVOIC&PartnerCode=' . $myrow['partnercode'] . '">' . _('Review Message Lines') . '</a></div>'; + echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?MessageType=INVOIC&PartnerCode=' . $myrow['partnercode'] . '">' . _('Review Message Lines') . '</a></div>'; echo '<input type="hidden" name="SelectedMessageLine" value="' . $SelectedMessageLine . '" />'; echo '<input type="hidden" name="MessageType" value="' . $myrow['messagetype'] . '" />'; @@ -247,7 +247,7 @@ } else { echo '<div class="centre"><input tabindex="5" type="submit" name="submit" value="'. _('Enter Information'). '" /></div>'; } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/EmailCustTrans.php =================================================================== --- trunk/EmailCustTrans.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/EmailCustTrans.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -35,7 +35,8 @@ include ('includes/header.inc'); -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="TransNo" value="' . $_GET['FromTransNo'] . '" />'; @@ -62,9 +63,12 @@ echo '<tr><td>' . _('Email') . ' ' . $_GET['InvOrCredit'] . ' ' . _('number') . ' ' . $_GET['FromTransNo'] . ' ' . _('to') . ':</td> <td><input type="text" name="EmailAddr" maxlength="60" size="60" value="' . $EmailAddress . '" /></td> + </tr> </table>'; echo '<br /><div class="centre"><input type="submit" name="DoIt" value="' . _('OK') . '" />'; -echo '</div></form>'; +echo '</div> + </div> + </form>'; include ('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/ExchangeRateTrend.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -21,10 +21,11 @@ // SHOW OUR MAIN INPUT FORM // ************************ - echo '<form method="post" name="update" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form method="post" id="update" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; 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>'; + _('View Currency Trend') . '" alt="" />' . ' ' . _('View Currency Trend') . '</p></div>'; echo '<table>'; // First column $SQL = "SELECT * FROM currencies"; @@ -48,7 +49,8 @@ echo '</table>'; /*close off the table in the third column */ - echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>'; + echo '<br /><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>'; + echo '</div>'; echo '</form>'; // ************** @@ -59,9 +61,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"><b><U>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></U></th></tr>'; - echo '<tr><td><img src=' . $image . ' alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; + echo '<br /><table class="selection">'; + echo '<tr><th><div class="centre"><b>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></div></th></tr>'; + echo '<tr><td><img src="' . $image . '" alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; echo '</table>'; Modified: trunk/FTP_RadioBeacon.php =================================================================== --- trunk/FTP_RadioBeacon.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FTP_RadioBeacon.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -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" 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-03-13 08:29:08 UTC (rev 5104) +++ trunk/Factors.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -198,10 +198,11 @@ // its a new factor being added echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="FactorID" value="' . $FactorID .'" /> + <input type="hidden" name="New" value="Yes" /> <table class="selection"> - <input type="hidden" name="New" value="Yes" /> <tr> <td>' . _('Factor company Name') . ':</td> <td><input tabindex="1" type="text" name="FactorName" size="42" maxlength="40" value="' .$_POST['FactorName'].'" /></td> @@ -239,7 +240,7 @@ </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" size="20" maxlength="25" value="' . $_POST['Fax'] .'" /></td> </tr> <tr> <td>' . _('Email') . ':</td> @@ -250,20 +251,23 @@ if (isset($_POST['Create'])) { - echo '<p> + echo '<br /> <div class="centre"> <input tabindex="12" type="submit" name="Submit" value="' . _('Insert New Factor') . '" /> </div> + </div> </form>'; } else if (isset($_POST['Amend'])) { - echo '<p> + echo '<br /> <div class="centre"> <input tabindex="13" type="submit" name="Update" value="' . _('Update Factor') . '" /> - <p>'; + <br /> + <br />'; prnMsg ( _('There is no second warning if you hit the delete button below') . '. ' . _('However checks will be made to ensure there are no suppliers are using this factor before the deletion is processed'), 'warn'); - echo '<p> + echo '<br /> <input tabindex="14" type="submit" name="Delete" value="' . _('Delete Factor') . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this factoring company?') . '\');" /> </div> + </div> </form>'; } @@ -273,6 +277,7 @@ if (empty($FactorID) AND !isset($_POST['Create']) AND !isset($_POST['Amend'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="New" value="No" />'; @@ -330,11 +335,12 @@ </tr>'; } //end while loop echo '</table> - <p> + <br /> <div class="centre"> <br /> <input tabindex="3" type="submit" name="Create" value="' . _('Create New Factor') . '" /> </div> + </div> </form>'; } Modified: trunk/FixedAssetCategories.php =================================================================== --- trunk/FixedAssetCategories.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetCategories.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -11,7 +11,8 @@ echo '<div class="centre"> <p class="page_title_text"> <img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Fixed Asset Categories') . '" alt="" />' . ' ' . $title . ' - </p>'; + </p> + </div>'; if (isset($_GET['SelectedCategory'])){ $SelectedCategory = mb_strtoupper($_GET['SelectedCategory']); @@ -162,7 +163,7 @@ <th>' . _('Cat Code') . '</th> <th>' . _('Description') . '</th> <th>' . _('Cost GL') . '</th> - <th>' . _('P & L Depn GL') . '</th> + <th>' . _('P & L Depn GL') . '</th> <th>' . _('Disposal GL') . '</th> <th>' . _('Accum Depn GL') . '</th> </tr>'; @@ -183,8 +184,8 @@ <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><a href="%sSelectedCategory=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCategory=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this fixed asset category? Additional checks will be performed before actual deletion to ensure data integrity is not compromised.') . '\');">' . _('Delete') . '</td> + <td><a href="%sSelectedCategory=%s">' . _('Edit') . '</a></td> + <td><a href="%sSelectedCategory=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this fixed asset category? Additional checks will be performed before actual deletion to ensure data integrity is not compromised.') . '\');">' . _('Delete') . '</a></td> </tr>', $myrow['categoryid'], $myrow['categorydescription'], @@ -198,7 +199,8 @@ $myrow['categoryid']); } //END WHILE LIST LOOP - echo '</table>'; + echo '</table> + <br />'; } //end of ifs and buts! @@ -207,7 +209,8 @@ echo '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' ._('Show All Fixed Asset Categories') . '</a></div>'; } -echo '<form name="CategoryForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<form id="CategoryForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedCategory) and !isset($_POST['submit'])) { @@ -284,9 +287,9 @@ while ($myrow = DB_fetch_array($BSAccountsResult)){ if (isset($_POST['CostAct']) and $myrow['accountcode']==$_POST['CostAct']) { - echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')</option>'; + echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')</option>'; } else { - echo '<option value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')</option>'; + echo '<option value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')</option>'; } } //end while loop echo '</select></td> @@ -297,9 +300,9 @@ while ($myrow = DB_fetch_array($PnLAccountsResult)) { if (isset($_POST['DepnAct']) and $myrow['accountcode']==$_POST['DepnAct']) { - echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')</option>'; + echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')</option>'; } else { - echo '<option value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')</option>'; + echo '<option value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')</option>'; } } //end while loop echo '</select></td> @@ -311,9 +314,9 @@ <td><select name="DisposalAct">'; while ($myrow = DB_fetch_array($PnLAccountsResult)) { if (isset($_POST['DisposalAct']) and $myrow['accountcode']==$_POST['DisposalAct']) { - echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')' . '</option>'; + echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')' . '</option>'; } else { - echo '<option value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')' . '</option>'; + echo '<option value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')' . '</option>'; } } //end while loop echo '</select></td> @@ -327,9 +330,9 @@ while ($myrow = DB_fetch_array($BSAccountsResult)) { if (isset($_POST['AccumDepnAct']) and $myrow['accountcode']==$_POST['AccumDepnAct']) { - echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')' . '</option>'; + echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')' . '</option>'; } else { - echo '<option value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')' . '</option>'; + echo '<option value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')' . '</option>'; } } //end while loop @@ -343,6 +346,7 @@ echo '<div class="centre"> <input type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/FixedAssetDepreciation.php =================================================================== --- trunk/FixedAssetDepreciation.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetDepreciation.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -80,7 +80,7 @@ $PeriodNo = GetPeriod($_POST['ProcessDate'],$db); } -echo '<p></p><table>'; +echo '<br /><table>'; $Heading = '<tr> <th>' . _('Asset ID') . '</th> <th>' . _('Description') . '</th> @@ -257,7 +257,7 @@ echo '</table> <hr /> - <p />'; + <br />'; if (isset($_POST['CommitDepreciation']) AND $InputError==false){ $result = DB_Txn_Commit($db); @@ -267,11 +267,11 @@ /*And post the journal too */ include ('includes/GLPostings.inc'); } else { - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" name="form">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" id="form">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p /> + echo '<br /> <table class="selection" width="30%"> - <tr></tr> <tr>'; if ($AllowUserEnteredProcessDate){ echo '<td>'._('Date to Process Depreciation'). ':</td> @@ -284,6 +284,7 @@ </tr> </table> <br /> + </div> </form>'; } include('includes/footer.inc'); Modified: trunk/FixedAssetItems.php =================================================================== --- trunk/FixedAssetItems.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetItems.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -380,9 +380,10 @@ } /* end if delete asset */ $result = DB_Txn_Commit($db); -echo '<form name="AssetForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"> - <table class="selection">'; +echo '<form id="AssetForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"> + <div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; +echo '<table class="selection">'; if (!isset($AssetID) OR $AssetID=='') { @@ -390,7 +391,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="" /><br />'; + echo '<tr><td><input type="hidden" name="New" value="" /></td></tr>'; $_POST['LongDescription'] = ''; $_POST['Description'] = ''; @@ -434,14 +435,14 @@ <td>' . _('Asset Code') . ':</td> <td>' . $AssetID . '</td> </tr>'; - echo '<input type="Hidden" name="AssetID" value="'.$AssetID.'"/>'; + echo '<tr><td><input type="hidden" name="AssetID" value="'.$AssetID.'"/></td></tr>'; } else { // some changes were made to the data so don't re-set form variables to DB ie the code above echo '<tr> <td>' . _('Asset Code') . ':</td> <td>' . $AssetID . '</td> </tr>'; - echo '<input type="Hidden" name="AssetID" value="' . $AssetID . '"/>'; + echo '<tr><td><input type="hidden" name="AssetID" value="' . $AssetID . '"/></td></tr>'; } if (isset($_POST['Description'])) { @@ -631,6 +632,7 @@ } echo '</div> + </div> </form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/FixedAssetLocations.php =================================================================== --- trunk/FixedAssetLocations.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetLocations.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -104,14 +104,15 @@ $ParentResult=DB_query($ParentSql, $db); $ParentRow=DB_fetch_array($ParentResult); echo '<td>' . $ParentRow['locationdescription'] . '</td> - <td><a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedLocation='.$myrow['locationid'].'">' . _('Edit') . '</td>'; + <td><a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedLocation='.$myrow['locationid'].'">' . _('Edit') . '</a></td></tr>'; } echo '</table> <br />'; -echo '<form name="LocationForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"> +echo '<form id="LocationForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"> + <div> + <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" /> <table class="selection"> - <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" /> <tr> <th style="text-align:left">'._('Location ID').'</th>'; if (isset($_GET['SelectedLocation'])) { @@ -156,6 +157,7 @@ echo '<input type="submit" name="submit" value="' . _('Enter Information') . '" />'; } echo '</div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/FixedAssetRegister.php =================================================================== --- trunk/FixedAssetRegister.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetRegister.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -73,8 +73,9 @@ } elseif (isset($_POST['csv'])) { $csv_output = "'Asset ID','Description','Serial Number','Location','Date Acquired','Cost B/Fwd','Period Additions','Depn B/Fwd','Period Depreciation','Cost C/Fwd', 'Accum Depn C/Fwd','NBV','Disposal Value'\n"; } else { - echo '<form name="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '"><table class="selection">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<form id="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '"> + <div>'; + 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"> @@ -219,11 +220,6 @@ header('Location: ' .$_SESSION['reports_dir'] . '/FixedAssetRegister_' . Date('Y-m-d') .'.csv'); } else { - echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" />'; - 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'] . '" />'; //Total Values echo '<tr><th style="vertical-align:top" colspan="5">' . _('TOTAL') . '</th>'; echo '<th style="text-align:right">' . locale_number_format($TotalCostBfwd, $_SESSION['CompanyRecord']['decimalplaces']) . '</th>'; @@ -235,16 +231,28 @@ echo '<th style="text-align:right">' . locale_number_format($TotalNBV, $_SESSION['CompanyRecord']['decimalplaces']) . '</th>'; echo '<th style="text-align:right">' . locale_number_format($TotalDisposals, $_SESSION['CompanyRecord']['decimalplaces']) . '</th></tr>'; echo '</table>'; + + echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" />'; + 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'] . '" />'; + echo '<br /><div class="centre"><input type="submit" name="pdf" value="' . _('Print as a pdf') . '" /> '; - echo '<input type="submit" name="csv" value="' . _('Print as CSV') . '" /></div></form>'; + echo '<input type="submit" name="csv" value="' . _('Print as CSV') . '" /> + </div> + </div> + </form>'; } } else { include ('includes/header.inc'); - echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="">' . ' ' . $title; + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $title . '</p>'; $result = DB_query('SELECT categoryid,categorydescription FROM fixedassetcategories', $db); - echo '<form name="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"><table class="selection">'; + echo '<form id="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<table class="selection">'; echo '<tr> <th>' . _('Asset Category') . '</th> <td><select name="AssetCategory"> @@ -310,6 +318,7 @@ <input type="submit" name="pdf" value="' . _('Print as a pdf') . '" /> <input type="submit" name = "csv" value="' . _('Print as CSV') . '" /> </div> + </div> </form>'; } include ('includes/footer.inc'); Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetTransfer.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -27,6 +27,7 @@ $sql="SELECT categoryid, categorydescription FROM fixedassetcategories"; $result=DB_query($sql, $db); echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; 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>'; @@ -46,7 +47,7 @@ } } - echo '</select>'; + echo '</select></td>'; echo '<td>'. _('Enter partial') . '<b> ' . _('Description') . '</b>:</td><td>'; @@ -69,7 +70,10 @@ 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> + </div> + </form> + <br />'; } if (isset($_POST['Search'])) { @@ -105,8 +109,9 @@ AND fixedassets.serialno " . LIKE . "'".$_POST['SerialNumber']."'"; $Result=DB_query($sql, $db); echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> - <table class="selection">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + <div>'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<table class="selection">'; echo '<tr> <th>'._('Asset ID') . '</th> <th>' . _('Description') . '</th> @@ -147,7 +152,9 @@ echo '<td><input type="submit" name="Move'.$myrow['assetid'].'" value="Move" /></td>'; echo '</tr>'; } - echo '</table></form>'; + echo '</table> + </div> + </form>'; } include('includes/footer.inc'); Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FormDesigner.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -128,6 +128,7 @@ if (empty($_POST['FormName'])) { echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p><br />'; echo '<form method="post" id="ChooseForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table><tr>'; echo '<td>'. _('Select the form to edit') .'</td><td><select name="FormName">'; @@ -144,6 +145,7 @@ } echo '</select></td></tr></table>'; echo '<br /><div class="centre"><input tabindex="6" type="submit" name="submit" value="' . _('Edit Form Layout') . '" /></div>'; + echo '</div>'; echo '</form>'; include('includes/footer.inc'); exit; @@ -153,16 +155,17 @@ if (empty($_POST['preview'])) { $FormDesign = simplexml_load_file($PathPrefix.'companies/'.$_SESSION['DatabaseName'].'/FormDesigns/'.$_POST['FormName']); } -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Form Design') . '" alt="" />' . ' ' . _('Form Design').'<br />'. $FormDesign['name'] . ''; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Form Design') . '" alt="" />' . ' ' . _('Form Design').'<br />'. $FormDesign['name'] . '</p>'; echo '<div class="page_help_text">' . _('Enter the changes that you want in the form layout below.') .'<br /> '. _('All measurements are in millimetres') . '.</div><br />'; $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'],ENT_QUOTES,'UTF-8') . '?' . SID . '">'; +echo '<div>'; 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 '<tr><th style="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 style="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,28 +180,34 @@ } 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 style="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 '<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 '</tr>'; 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 '<tr>'; SimpleTextLine($key); + echo '</tr>'; 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 '<tr>'; MultiTextLine($key); + echo '</tr>'; echo '</table></td>'; $counter=$counter+1; break; @@ -231,29 +240,35 @@ break; case 'CurvedRectangle': echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<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 '</tr>'; 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 '<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 '</tr>'; 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 '<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 '</tr>'; echo '</table></td>'; $counter=$counter+1; break; @@ -266,6 +281,7 @@ echo '</tr></table>'; //End of outer table echo '<br /><div class="centre"><input tabindex="6" type="submit" name="preview" value="' . _('Preview the Form Layout') . '" /></div>'; echo '<br /><div class="centre"><input tabindex="6" type="submit" name="save" value="' . _('Save the Form Layout') . '" /></div>'; +echo '</div>'; echo '</form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/FreightCosts.php =================================================================== --- trunk/FreightCosts.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FreightCosts.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -23,11 +23,12 @@ } echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . - _('Freight Costs') . '" alt="" />' . ' ' . $title . '</p>'; + _('Freight Costs') . '" alt="" />' . ' ' . $title . '</p></div>'; if (!isset($LocationFrom) OR !isset($ShipperID)) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $sql = "SELECT shippername, shipper_id FROM shippers"; $ShipperResults = DB_query($sql,$db); @@ -57,6 +58,7 @@ echo '</select></td></tr> </table> <br /><div class="centre"><input type="submit" value="' . _('Accept') . '" name="Accept" /></div> + </div> </form>'; } else { @@ -237,8 +239,8 @@ <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><a href="%s&SelectedFreightCost=%s&LocationFrom=%s&ShipperID=%s">' . _('Edit') . '</td> - <td><a href="%s&SelectedFreightCost=%s&LocationFrom=%s&ShipperID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this freight cost') . '\');">' . _('Delete') . '</td></tr>', + <td><a href="%s&SelectedFreightCost=%s&LocationFrom=%s&ShipperID=%s">' . _('Edit') . '</a></td> + <td><a href="%s&SelectedFreightCost=%s&LocationFrom=%s&ShipperID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this freight cost') . '\');">' . _('Delete') . '</a></td></tr>', $myrow[1], $myrow[2], $myrow[3], @@ -264,12 +266,13 @@ //end of ifs and buts! if (isset($SelectedFreightCost)) { - echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?LocationFrom=' . $LocationFrom . '&ShipperID=' . $ShipperID . '">' . _('Show all freight costs for') . ' ' . $ShipperName . ' ' . _('from') . ' ' . $LocationName . '</a></div>'; + echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?LocationFrom=' . $LocationFrom . '&ShipperID=' . $ShipperID . '">' . _('Show all freight costs for') . ' ' . $ShipperName . ' ' . _('from') . ' ' . $LocationName . '</a></div>'; } if (isset($LocationFrom) AND isset($ShipperID)) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedFreightCost)) { @@ -325,19 +328,19 @@ <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>'; - echo '<tr><td>' . _('Maximum Weight Per Package (KGs)') . ':</a></td> + echo '<tr><td>' . _('Maximum Weight Per Package (KGs)') . ':</td> <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> + echo '<tr><td>' . _('Maximum Volume Per Package (cubic metres)') . ':</td> <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> + echo '<tr><td>' . _('Fixed Price (zero if rate per KG or Cubic)') . ':</td> <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> + echo '<tr><td>' . _('Minimum Charge (0 is N/A)') . ':</td> <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>'; echo '</form>'; } //end if record deleted no point displaying form to add record Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/GLBudgets.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -157,7 +157,7 @@ // Table Headers - echo '<form name="form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form name="form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /> <table class="selection"> Modified: trunk/POReport.php =================================================================== --- trunk/POReport.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/POReport.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -1494,7 +1494,7 @@ // Display form fields. This function is called the first time // the page is called. - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; Modified: trunk/PO_AuthoriseMyOrders.php =================================================================== --- trunk/PO_AuthoriseMyOrders.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/PO_AuthoriseMyOrders.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -48,7 +48,7 @@ WHERE status='Pending'"; $result=DB_query($sql, $db); -echo '<form method=post action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; Modified: trunk/PO_Items.php =================================================================== --- trunk/PO_Items.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/PO_Items.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -641,7 +641,7 @@ /* This is where the order as selected should be displayed reflecting any deletions or insertions*/ -echo '<form name="form1" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method=post>'; +echo '<form name="form1" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*need to set up entry for item description where not a stock item and GL Codes */ Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/Payments.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -282,7 +282,7 @@ <br /> <br />'; - echo '<form method=post action="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?identifier=' . $identifier) . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?identifier=' . $identifier) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo _('Has the cheque been printed') . '? <br /> Modified: trunk/RecurringSalesOrders.php =================================================================== --- trunk/RecurringSalesOrders.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/RecurringSalesOrders.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -308,7 +308,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Search') . '" alt="" /><b>'.' '. _('Recurring Order for Customer') .' : ' . $_SESSION['Items'.$identifier]->CustomerName .'</b></p>'; -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/ReprintGRN.php =================================================================== --- trunk/ReprintGRN.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/ReprintGRN.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -11,7 +11,7 @@ $_POST['PONumber']=''; } -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> <tr> Modified: trunk/ReverseGRN.php =================================================================== --- trunk/ReverseGRN.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/ReverseGRN.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -339,7 +339,7 @@ /*end of Process Goods Received Reversal entry */ } else { - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (!isset($_POST['RecdAfterDate']) OR !Is_Date($_POST['RecdAfterDate'])) { Modified: trunk/SalesInquiry.php =================================================================== --- trunk/SalesInquiry.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SalesInquiry.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -1037,7 +1037,7 @@ // Display form fields. This function is called the first time // the page is called. - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post> + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> <br/> <br/>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/SelectAsset.php =================================================================== --- trunk/SelectAsset.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SelectAsset.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -40,7 +40,7 @@ } // end of showing search facilities -echo '<form action="SelectAsset.php?' . SID . '" method=post>'; +echo '<form action="SelectAsset.php?' . SID . '" 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>'; echo '<table class="selection"><tr>'; Modified: trunk/SelectOrderItems.php =================================================================== --- trunk/SelectOrderItems.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SelectOrderItems.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -1658,7 +1658,7 @@ echo '<div class="page_help_text">' . _('Select an item by entering the quantity required. Click Order when ready.') . '</div>'; echo '<br />'; $j = 1; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" method=post name="orderform">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" method="post" name="orderform">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="table1">'; echo '<tr><td colspan="1"><input type="hidden" name="previous" value="'.strval($Offset-1).'" /><input tabindex="'.strval($j+8).'" type="submit" name="Prev" value="'._('Prev').'" /></td>'; Modified: trunk/SelectRecurringSalesOrder.php =================================================================== --- trunk/SelectRecurringSalesOrder.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SelectRecurringSalesOrder.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -5,7 +5,7 @@ $title = _('Search Recurring Sales Orders'); include('includes/header.inc'); -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/customer.png" title="' . _('Inventory Items') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/SelectSalesOrder.php =================================================================== --- trunk/SelectSalesOrder.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SelectSalesOrder.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -382,7 +382,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Sales') . '" alt="" />' . ' ' . _('Outstanding Sales Orders') . '</p> '; -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/StockAdjustments.php =================================================================== --- trunk/StockAdjustments.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/StockAdjustments.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -352,7 +352,7 @@ }/* end if the user hit enter the adjustment */ -echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'" method=post>'; +echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (!isset($_SESSION['Adjustment' . $identifier])) { Modified: trunk/StockCounts.php =================================================================== --- trunk/StockCounts.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/StockCounts.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -9,7 +9,7 @@ include('includes/header.inc'); -echo "<form action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . "' method=post>"; +echo "<form action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . "' method="post">"; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . Modified: trunk/StockLocStatus.php =================================================================== --- trunk/StockLocStatus.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/StockLocStatus.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -15,7 +15,7 @@ } -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $sql = "SELECT loccode, Modified: trunk/StockLocTransferReceive.php =================================================================== --- trunk/StockLocTransferReceive.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/StockLocTransferReceive.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -410,7 +410,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Dispatch') . '" alt="" />' . ' ' . $title . '</p>'; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?'. SID . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?'. SID . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; prnMsg(_('Please Verify Shipment Quantities Received'),'info'); Modified: trunk/Z_ImportStocks.php =================================================================== --- trunk/Z_ImportStocks.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/Z_ImportStocks.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -290,7 +290,7 @@ <br /> <br /> '; - echo "<form ENCtype='multipart/form-data' action='Z_ImportStocks.php' method=post>"; + echo "<form ENCtype='multipart/form-data' action='Z_ImportStocks.php' method="post">"; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo "<input type='hidden' name='MAX_FILE_SIZE' value='1000000' />" . Modified: trunk/Z_UploadForm.php =================================================================== --- trunk/Z_UploadForm.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/Z_UploadForm.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -9,7 +9,7 @@ include('includes/header.inc'); -echo "<form ENCtype='multipart/form-data' action='Z_UploadResult.php' method=post>"; +echo "<form ENCtype='multipart/form-data' action='Z_UploadResult.php' method="post">"; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo "<input type='hidden' name='MAX_FILE_SIZE' value='1000000' />" . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-03-16 22:34:11
|
Revision: 5105 http://web-erp.svn.sourceforge.net/web-erp/?rev=5105&view=rev Author: vvs2012 Date: 2012-03-16 22:34:02 +0000 (Fri, 16 Mar 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/EDIMessageFormat.php trunk/EmailCustTrans.php trunk/ExchangeRateTrend.php trunk/FTP_RadioBeacon.php trunk/Factors.php trunk/FixedAssetCategories.php trunk/FixedAssetDepreciation.php trunk/FixedAssetItems.php trunk/FixedAssetLocations.php trunk/FixedAssetRegister.php trunk/FixedAssetTransfer.php trunk/FormDesigner.php trunk/FreightCosts.php trunk/GLBudgets.php trunk/POReport.php trunk/PO_AuthoriseMyOrders.php trunk/PO_Items.php trunk/Payments.php trunk/RecurringSalesOrders.php trunk/ReprintGRN.php trunk/ReverseGRN.php trunk/SalesInquiry.php trunk/SelectAsset.php trunk/SelectOrderItems.php trunk/SelectRecurringSalesOrder.php trunk/SelectSalesOrder.php trunk/StockAdjustments.php trunk/StockCounts.php trunk/StockLocStatus.php trunk/StockLocTransferReceive.php trunk/Z_ImportStocks.php trunk/Z_UploadForm.php Modified: trunk/EDIMessageFormat.php =================================================================== --- trunk/EDIMessageFormat.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/EDIMessageFormat.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -98,11 +98,11 @@ } echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -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>'; +echo '<br /> + <p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p>'; if (!isset($SelectedMessageLine)) { @@ -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"><h3>' . _('Definition of') . ' ' . $MessageType . ' ' . _('for') . ' ' . $PartnerCode.'</h3></th></tr>'; $TableHeader = '<tr> <th>' . _('Section') . '</th> <th>' . _('Sequence') . '</th> @@ -147,8 +147,8 @@ printf('<td>%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> + <td><a href="%s&SelectedMessageLine=%s">' . _('Edit') . '</a></td> + <td><a href="%s&delete=%s">' . _('Delete') . '</a></td> </tr>', $myrow[1], $myrow[2], @@ -159,7 +159,7 @@ $myrow[0]); } //END WHILE LIST LOOP - echo '</table><p>'; + echo '</table><br />'; 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') . '" /> @@ -189,7 +189,7 @@ $_POST['SequenceNo'] = $myrow['sequenceno']; $_POST['LineText'] = $myrow['linetext']; - echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?MessageType=INVOIC&PartnerCode=' . $myrow['partnercode'] . '">' . _('Review Message Lines') . '</a></div>'; + echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?MessageType=INVOIC&PartnerCode=' . $myrow['partnercode'] . '">' . _('Review Message Lines') . '</a></div>'; echo '<input type="hidden" name="SelectedMessageLine" value="' . $SelectedMessageLine . '" />'; echo '<input type="hidden" name="MessageType" value="' . $myrow['messagetype'] . '" />'; @@ -247,7 +247,7 @@ } else { echo '<div class="centre"><input tabindex="5" type="submit" name="submit" value="'. _('Enter Information'). '" /></div>'; } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/EmailCustTrans.php =================================================================== --- trunk/EmailCustTrans.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/EmailCustTrans.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -35,7 +35,8 @@ include ('includes/header.inc'); -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="TransNo" value="' . $_GET['FromTransNo'] . '" />'; @@ -62,9 +63,12 @@ echo '<tr><td>' . _('Email') . ' ' . $_GET['InvOrCredit'] . ' ' . _('number') . ' ' . $_GET['FromTransNo'] . ' ' . _('to') . ':</td> <td><input type="text" name="EmailAddr" maxlength="60" size="60" value="' . $EmailAddress . '" /></td> + </tr> </table>'; echo '<br /><div class="centre"><input type="submit" name="DoIt" value="' . _('OK') . '" />'; -echo '</div></form>'; +echo '</div> + </div> + </form>'; include ('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/ExchangeRateTrend.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -21,10 +21,11 @@ // SHOW OUR MAIN INPUT FORM // ************************ - echo '<form method="post" name="update" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form method="post" id="update" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; 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>'; + _('View Currency Trend') . '" alt="" />' . ' ' . _('View Currency Trend') . '</p></div>'; echo '<table>'; // First column $SQL = "SELECT * FROM currencies"; @@ -48,7 +49,8 @@ echo '</table>'; /*close off the table in the third column */ - echo '<p><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>'; + echo '<br /><div class="centre"><input type="submit" name="submit" value="' . _('Accept') . '" /></div>'; + echo '</div>'; echo '</form>'; // ************** @@ -59,9 +61,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"><b><U>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></U></th></tr>'; - echo '<tr><td><img src=' . $image . ' alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; + echo '<br /><table class="selection">'; + echo '<tr><th><div class="centre"><b>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></div></th></tr>'; + echo '<tr><td><img src="' . $image . '" alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; echo '</table>'; Modified: trunk/FTP_RadioBeacon.php =================================================================== --- trunk/FTP_RadioBeacon.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FTP_RadioBeacon.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -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" 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-03-13 08:29:08 UTC (rev 5104) +++ trunk/Factors.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -198,10 +198,11 @@ // its a new factor being added echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="FactorID" value="' . $FactorID .'" /> + <input type="hidden" name="New" value="Yes" /> <table class="selection"> - <input type="hidden" name="New" value="Yes" /> <tr> <td>' . _('Factor company Name') . ':</td> <td><input tabindex="1" type="text" name="FactorName" size="42" maxlength="40" value="' .$_POST['FactorName'].'" /></td> @@ -239,7 +240,7 @@ </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" size="20" maxlength="25" value="' . $_POST['Fax'] .'" /></td> </tr> <tr> <td>' . _('Email') . ':</td> @@ -250,20 +251,23 @@ if (isset($_POST['Create'])) { - echo '<p> + echo '<br /> <div class="centre"> <input tabindex="12" type="submit" name="Submit" value="' . _('Insert New Factor') . '" /> </div> + </div> </form>'; } else if (isset($_POST['Amend'])) { - echo '<p> + echo '<br /> <div class="centre"> <input tabindex="13" type="submit" name="Update" value="' . _('Update Factor') . '" /> - <p>'; + <br /> + <br />'; prnMsg ( _('There is no second warning if you hit the delete button below') . '. ' . _('However checks will be made to ensure there are no suppliers are using this factor before the deletion is processed'), 'warn'); - echo '<p> + echo '<br /> <input tabindex="14" type="submit" name="Delete" value="' . _('Delete Factor') . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this factoring company?') . '\');" /> </div> + </div> </form>'; } @@ -273,6 +277,7 @@ if (empty($FactorID) AND !isset($_POST['Create']) AND !isset($_POST['Amend'])) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<input type="hidden" name="New" value="No" />'; @@ -330,11 +335,12 @@ </tr>'; } //end while loop echo '</table> - <p> + <br /> <div class="centre"> <br /> <input tabindex="3" type="submit" name="Create" value="' . _('Create New Factor') . '" /> </div> + </div> </form>'; } Modified: trunk/FixedAssetCategories.php =================================================================== --- trunk/FixedAssetCategories.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetCategories.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -11,7 +11,8 @@ echo '<div class="centre"> <p class="page_title_text"> <img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Fixed Asset Categories') . '" alt="" />' . ' ' . $title . ' - </p>'; + </p> + </div>'; if (isset($_GET['SelectedCategory'])){ $SelectedCategory = mb_strtoupper($_GET['SelectedCategory']); @@ -162,7 +163,7 @@ <th>' . _('Cat Code') . '</th> <th>' . _('Description') . '</th> <th>' . _('Cost GL') . '</th> - <th>' . _('P & L Depn GL') . '</th> + <th>' . _('P & L Depn GL') . '</th> <th>' . _('Disposal GL') . '</th> <th>' . _('Accum Depn GL') . '</th> </tr>'; @@ -183,8 +184,8 @@ <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><a href="%sSelectedCategory=%s">' . _('Edit') . '</td> - <td><a href="%sSelectedCategory=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this fixed asset category? Additional checks will be performed before actual deletion to ensure data integrity is not compromised.') . '\');">' . _('Delete') . '</td> + <td><a href="%sSelectedCategory=%s">' . _('Edit') . '</a></td> + <td><a href="%sSelectedCategory=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this fixed asset category? Additional checks will be performed before actual deletion to ensure data integrity is not compromised.') . '\');">' . _('Delete') . '</a></td> </tr>', $myrow['categoryid'], $myrow['categorydescription'], @@ -198,7 +199,8 @@ $myrow['categoryid']); } //END WHILE LIST LOOP - echo '</table>'; + echo '</table> + <br />'; } //end of ifs and buts! @@ -207,7 +209,8 @@ echo '<br /><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' ._('Show All Fixed Asset Categories') . '</a></div>'; } -echo '<form name="CategoryForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<form id="CategoryForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedCategory) and !isset($_POST['submit'])) { @@ -284,9 +287,9 @@ while ($myrow = DB_fetch_array($BSAccountsResult)){ if (isset($_POST['CostAct']) and $myrow['accountcode']==$_POST['CostAct']) { - echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')</option>'; + echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')</option>'; } else { - echo '<option value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')</option>'; + echo '<option value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')</option>'; } } //end while loop echo '</select></td> @@ -297,9 +300,9 @@ while ($myrow = DB_fetch_array($PnLAccountsResult)) { if (isset($_POST['DepnAct']) and $myrow['accountcode']==$_POST['DepnAct']) { - echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')</option>'; + echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')</option>'; } else { - echo '<option value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')</option>'; + echo '<option value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')</option>'; } } //end while loop echo '</select></td> @@ -311,9 +314,9 @@ <td><select name="DisposalAct">'; while ($myrow = DB_fetch_array($PnLAccountsResult)) { if (isset($_POST['DisposalAct']) and $myrow['accountcode']==$_POST['DisposalAct']) { - echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')' . '</option>'; + echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')' . '</option>'; } else { - echo '<option value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')' . '</option>'; + echo '<option value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')' . '</option>'; } } //end while loop echo '</select></td> @@ -327,9 +330,9 @@ while ($myrow = DB_fetch_array($BSAccountsResult)) { if (isset($_POST['AccumDepnAct']) and $myrow['accountcode']==$_POST['AccumDepnAct']) { - echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')' . '</option>'; + echo '<option selected="selected" value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')' . '</option>'; } else { - echo '<option value="'.$myrow['accountcode'] . '">' . $myrow['accountname'] . ' ('.$myrow['accountcode'].')' . '</option>'; + echo '<option value="'.$myrow['accountcode'] . '">' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8',false) . ' ('.$myrow['accountcode'].')' . '</option>'; } } //end while loop @@ -343,6 +346,7 @@ echo '<div class="centre"> <input type="submit" name="submit" value="' . _('Enter Information') . '" /> </div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/FixedAssetDepreciation.php =================================================================== --- trunk/FixedAssetDepreciation.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetDepreciation.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -80,7 +80,7 @@ $PeriodNo = GetPeriod($_POST['ProcessDate'],$db); } -echo '<p></p><table>'; +echo '<br /><table>'; $Heading = '<tr> <th>' . _('Asset ID') . '</th> <th>' . _('Description') . '</th> @@ -257,7 +257,7 @@ echo '</table> <hr /> - <p />'; + <br />'; if (isset($_POST['CommitDepreciation']) AND $InputError==false){ $result = DB_Txn_Commit($db); @@ -267,11 +267,11 @@ /*And post the journal too */ include ('includes/GLPostings.inc'); } else { - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" name="form">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" id="form">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p /> + echo '<br /> <table class="selection" width="30%"> - <tr></tr> <tr>'; if ($AllowUserEnteredProcessDate){ echo '<td>'._('Date to Process Depreciation'). ':</td> @@ -284,6 +284,7 @@ </tr> </table> <br /> + </div> </form>'; } include('includes/footer.inc'); Modified: trunk/FixedAssetItems.php =================================================================== --- trunk/FixedAssetItems.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetItems.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -380,9 +380,10 @@ } /* end if delete asset */ $result = DB_Txn_Commit($db); -echo '<form name="AssetForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"> - <table class="selection">'; +echo '<form id="AssetForm" enctype="multipart/form-data" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"> + <div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; +echo '<table class="selection">'; if (!isset($AssetID) OR $AssetID=='') { @@ -390,7 +391,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="" /><br />'; + echo '<tr><td><input type="hidden" name="New" value="" /></td></tr>'; $_POST['LongDescription'] = ''; $_POST['Description'] = ''; @@ -434,14 +435,14 @@ <td>' . _('Asset Code') . ':</td> <td>' . $AssetID . '</td> </tr>'; - echo '<input type="Hidden" name="AssetID" value="'.$AssetID.'"/>'; + echo '<tr><td><input type="hidden" name="AssetID" value="'.$AssetID.'"/></td></tr>'; } else { // some changes were made to the data so don't re-set form variables to DB ie the code above echo '<tr> <td>' . _('Asset Code') . ':</td> <td>' . $AssetID . '</td> </tr>'; - echo '<input type="Hidden" name="AssetID" value="' . $AssetID . '"/>'; + echo '<tr><td><input type="hidden" name="AssetID" value="' . $AssetID . '"/></td></tr>'; } if (isset($_POST['Description'])) { @@ -631,6 +632,7 @@ } echo '</div> + </div> </form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/FixedAssetLocations.php =================================================================== --- trunk/FixedAssetLocations.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetLocations.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -104,14 +104,15 @@ $ParentResult=DB_query($ParentSql, $db); $ParentRow=DB_fetch_array($ParentResult); echo '<td>' . $ParentRow['locationdescription'] . '</td> - <td><a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedLocation='.$myrow['locationid'].'">' . _('Edit') . '</td>'; + <td><a href="'.htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedLocation='.$myrow['locationid'].'">' . _('Edit') . '</a></td></tr>'; } echo '</table> <br />'; -echo '<form name="LocationForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"> +echo '<form id="LocationForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"> + <div> + <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" /> <table class="selection"> - <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" /> <tr> <th style="text-align:left">'._('Location ID').'</th>'; if (isset($_GET['SelectedLocation'])) { @@ -156,6 +157,7 @@ echo '<input type="submit" name="submit" value="' . _('Enter Information') . '" />'; } echo '</div> + </div> </form>'; include('includes/footer.inc'); Modified: trunk/FixedAssetRegister.php =================================================================== --- trunk/FixedAssetRegister.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetRegister.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -73,8 +73,9 @@ } elseif (isset($_POST['csv'])) { $csv_output = "'Asset ID','Description','Serial Number','Location','Date Acquired','Cost B/Fwd','Period Additions','Depn B/Fwd','Period Depreciation','Cost C/Fwd', 'Accum Depn C/Fwd','NBV','Disposal Value'\n"; } else { - echo '<form name="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '"><table class="selection">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<form id="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '"> + <div>'; + 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"> @@ -219,11 +220,6 @@ header('Location: ' .$_SESSION['reports_dir'] . '/FixedAssetRegister_' . Date('Y-m-d') .'.csv'); } else { - echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" />'; - 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'] . '" />'; //Total Values echo '<tr><th style="vertical-align:top" colspan="5">' . _('TOTAL') . '</th>'; echo '<th style="text-align:right">' . locale_number_format($TotalCostBfwd, $_SESSION['CompanyRecord']['decimalplaces']) . '</th>'; @@ -235,16 +231,28 @@ echo '<th style="text-align:right">' . locale_number_format($TotalNBV, $_SESSION['CompanyRecord']['decimalplaces']) . '</th>'; echo '<th style="text-align:right">' . locale_number_format($TotalDisposals, $_SESSION['CompanyRecord']['decimalplaces']) . '</th></tr>'; echo '</table>'; + + echo '<input type="hidden" name="FromDate" value="' . $_POST['FromDate'] . '" />'; + 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'] . '" />'; + echo '<br /><div class="centre"><input type="submit" name="pdf" value="' . _('Print as a pdf') . '" /> '; - echo '<input type="submit" name="csv" value="' . _('Print as CSV') . '" /></div></form>'; + echo '<input type="submit" name="csv" value="' . _('Print as CSV') . '" /> + </div> + </div> + </form>'; } } else { include ('includes/header.inc'); - echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="">' . ' ' . $title; + echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/magnifier.png" title="' . _('Search') . '" alt="" />' . ' ' . $title . '</p>'; $result = DB_query('SELECT categoryid,categorydescription FROM fixedassetcategories', $db); - echo '<form name="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '"><table class="selection">'; + echo '<form id="RegisterForm" method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<table class="selection">'; echo '<tr> <th>' . _('Asset Category') . '</th> <td><select name="AssetCategory"> @@ -310,6 +318,7 @@ <input type="submit" name="pdf" value="' . _('Print as a pdf') . '" /> <input type="submit" name = "csv" value="' . _('Print as CSV') . '" /> </div> + </div> </form>'; } include ('includes/footer.inc'); Modified: trunk/FixedAssetTransfer.php =================================================================== --- trunk/FixedAssetTransfer.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FixedAssetTransfer.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -27,6 +27,7 @@ $sql="SELECT categoryid, categorydescription FROM fixedassetcategories"; $result=DB_query($sql, $db); echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; 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>'; @@ -46,7 +47,7 @@ } } - echo '</select>'; + echo '</select></td>'; echo '<td>'. _('Enter partial') . '<b> ' . _('Description') . '</b>:</td><td>'; @@ -69,7 +70,10 @@ 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> + </div> + </form> + <br />'; } if (isset($_POST['Search'])) { @@ -105,8 +109,9 @@ AND fixedassets.serialno " . LIKE . "'".$_POST['SerialNumber']."'"; $Result=DB_query($sql, $db); echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> - <table class="selection">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + <div>'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<table class="selection">'; echo '<tr> <th>'._('Asset ID') . '</th> <th>' . _('Description') . '</th> @@ -147,7 +152,9 @@ echo '<td><input type="submit" name="Move'.$myrow['assetid'].'" value="Move" /></td>'; echo '</tr>'; } - echo '</table></form>'; + echo '</table> + </div> + </form>'; } include('includes/footer.inc'); Modified: trunk/FormDesigner.php =================================================================== --- trunk/FormDesigner.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FormDesigner.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -128,6 +128,7 @@ if (empty($_POST['FormName'])) { echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.'</p><br />'; echo '<form method="post" id="ChooseForm" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?' . SID . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table><tr>'; echo '<td>'. _('Select the form to edit') .'</td><td><select name="FormName">'; @@ -144,6 +145,7 @@ } echo '</select></td></tr></table>'; echo '<br /><div class="centre"><input tabindex="6" type="submit" name="submit" value="' . _('Edit Form Layout') . '" /></div>'; + echo '</div>'; echo '</form>'; include('includes/footer.inc'); exit; @@ -153,16 +155,17 @@ if (empty($_POST['preview'])) { $FormDesign = simplexml_load_file($PathPrefix.'companies/'.$_SESSION['DatabaseName'].'/FormDesigns/'.$_POST['FormName']); } -echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Form Design') . '" alt="" />' . ' ' . _('Form Design').'<br />'. $FormDesign['name'] . ''; +echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/reports.png" title="' . _('Form Design') . '" alt="" />' . ' ' . _('Form Design').'<br />'. $FormDesign['name'] . '</p>'; echo '<div class="page_help_text">' . _('Enter the changes that you want in the form layout below.') .'<br /> '. _('All measurements are in millimetres') . '.</div><br />'; $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'],ENT_QUOTES,'UTF-8') . '?' . SID . '">'; +echo '<div>'; 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 '<tr><th style="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 style="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,28 +180,34 @@ } 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 style="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 '<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 '</tr>'; 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 '<tr>'; SimpleTextLine($key); + echo '</tr>'; 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 '<tr>'; MultiTextLine($key); + echo '</tr>'; echo '</table></td>'; $counter=$counter+1; break; @@ -231,29 +240,35 @@ break; case 'CurvedRectangle': echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">'.$key['name'].'</th></tr>'; + echo '<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 '</tr>'; 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 '<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 '</tr>'; 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 '<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 '</tr>'; echo '</table></td>'; $counter=$counter+1; break; @@ -266,6 +281,7 @@ echo '</tr></table>'; //End of outer table echo '<br /><div class="centre"><input tabindex="6" type="submit" name="preview" value="' . _('Preview the Form Layout') . '" /></div>'; echo '<br /><div class="centre"><input tabindex="6" type="submit" name="save" value="' . _('Save the Form Layout') . '" /></div>'; +echo '</div>'; echo '</form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/FreightCosts.php =================================================================== --- trunk/FreightCosts.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/FreightCosts.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -23,11 +23,12 @@ } echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . - _('Freight Costs') . '" alt="" />' . ' ' . $title . '</p>'; + _('Freight Costs') . '" alt="" />' . ' ' . $title . '</p></div>'; if (!isset($LocationFrom) OR !isset($ShipperID)) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $sql = "SELECT shippername, shipper_id FROM shippers"; $ShipperResults = DB_query($sql,$db); @@ -57,6 +58,7 @@ echo '</select></td></tr> </table> <br /><div class="centre"><input type="submit" value="' . _('Accept') . '" name="Accept" /></div> + </div> </form>'; } else { @@ -237,8 +239,8 @@ <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> - <td><a href="%s&SelectedFreightCost=%s&LocationFrom=%s&ShipperID=%s">' . _('Edit') . '</td> - <td><a href="%s&SelectedFreightCost=%s&LocationFrom=%s&ShipperID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this freight cost') . '\');">' . _('Delete') . '</td></tr>', + <td><a href="%s&SelectedFreightCost=%s&LocationFrom=%s&ShipperID=%s">' . _('Edit') . '</a></td> + <td><a href="%s&SelectedFreightCost=%s&LocationFrom=%s&ShipperID=%s&delete=yes" onclick="return confirm(\'' . _('Are you sure you wish to delete this freight cost') . '\');">' . _('Delete') . '</a></td></tr>', $myrow[1], $myrow[2], $myrow[3], @@ -264,12 +266,13 @@ //end of ifs and buts! if (isset($SelectedFreightCost)) { - echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?LocationFrom=' . $LocationFrom . '&ShipperID=' . $ShipperID . '">' . _('Show all freight costs for') . ' ' . $ShipperName . ' ' . _('from') . ' ' . $LocationName . '</a></div>'; + echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?LocationFrom=' . $LocationFrom . '&ShipperID=' . $ShipperID . '">' . _('Show all freight costs for') . ' ' . $ShipperName . ' ' . _('from') . ' ' . $LocationName . '</a></div>'; } if (isset($LocationFrom) AND isset($ShipperID)) { echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedFreightCost)) { @@ -325,19 +328,19 @@ <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>'; - echo '<tr><td>' . _('Maximum Weight Per Package (KGs)') . ':</a></td> + echo '<tr><td>' . _('Maximum Weight Per Package (KGs)') . ':</td> <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> + echo '<tr><td>' . _('Maximum Volume Per Package (cubic metres)') . ':</td> <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> + echo '<tr><td>' . _('Fixed Price (zero if rate per KG or Cubic)') . ':</td> <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> + echo '<tr><td>' . _('Minimum Charge (0 is N/A)') . ':</td> <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>'; echo '</form>'; } //end if record deleted no point displaying form to add record Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/GLBudgets.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -157,7 +157,7 @@ // Table Headers - echo '<form name="form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form name="form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /> <table class="selection"> Modified: trunk/POReport.php =================================================================== --- trunk/POReport.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/POReport.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -1494,7 +1494,7 @@ // Display form fields. This function is called the first time // the page is called. - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; Modified: trunk/PO_AuthoriseMyOrders.php =================================================================== --- trunk/PO_AuthoriseMyOrders.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/PO_AuthoriseMyOrders.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -48,7 +48,7 @@ WHERE status='Pending'"; $result=DB_query($sql, $db); -echo '<form method=post action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection">'; Modified: trunk/PO_Items.php =================================================================== --- trunk/PO_Items.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/PO_Items.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -641,7 +641,7 @@ /* This is where the order as selected should be displayed reflecting any deletions or insertions*/ -echo '<form name="form1" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method=post>'; +echo '<form name="form1" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*need to set up entry for item description where not a stock item and GL Codes */ Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/Payments.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -282,7 +282,7 @@ <br /> <br />'; - echo '<form method=post action="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?identifier=' . $identifier) . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'] . '?identifier=' . $identifier) . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo _('Has the cheque been printed') . '? <br /> Modified: trunk/RecurringSalesOrders.php =================================================================== --- trunk/RecurringSalesOrders.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/RecurringSalesOrders.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -308,7 +308,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/customer.png" title="' . _('Search') . '" alt="" /><b>'.' '. _('Recurring Order for Customer') .' : ' . $_SESSION['Items'.$identifier]->CustomerName .'</b></p>'; -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier. '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/ReprintGRN.php =================================================================== --- trunk/ReprintGRN.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/ReprintGRN.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -11,7 +11,7 @@ $_POST['PONumber']=''; } -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="selection"> <tr> Modified: trunk/ReverseGRN.php =================================================================== --- trunk/ReverseGRN.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/ReverseGRN.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -339,7 +339,7 @@ /*end of Process Goods Received Reversal entry */ } else { - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (!isset($_POST['RecdAfterDate']) OR !Is_Date($_POST['RecdAfterDate'])) { Modified: trunk/SalesInquiry.php =================================================================== --- trunk/SalesInquiry.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SalesInquiry.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -1037,7 +1037,7 @@ // Display form fields. This function is called the first time // the page is called. - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post> + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post"> <br/> <br/>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/SelectAsset.php =================================================================== --- trunk/SelectAsset.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SelectAsset.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -40,7 +40,7 @@ } // end of showing search facilities -echo '<form action="SelectAsset.php?' . SID . '" method=post>'; +echo '<form action="SelectAsset.php?' . SID . '" 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>'; echo '<table class="selection"><tr>'; Modified: trunk/SelectOrderItems.php =================================================================== --- trunk/SelectOrderItems.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SelectOrderItems.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -1658,7 +1658,7 @@ echo '<div class="page_help_text">' . _('Select an item by entering the quantity required. Click Order when ready.') . '</div>'; echo '<br />'; $j = 1; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" method=post name="orderform">'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier . '" method="post" name="orderform">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<table class="table1">'; echo '<tr><td colspan="1"><input type="hidden" name="previous" value="'.strval($Offset-1).'" /><input tabindex="'.strval($j+8).'" type="submit" name="Prev" value="'._('Prev').'" /></td>'; Modified: trunk/SelectRecurringSalesOrder.php =================================================================== --- trunk/SelectRecurringSalesOrder.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SelectRecurringSalesOrder.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -5,7 +5,7 @@ $title = _('Search Recurring Sales Orders'); include('includes/header.inc'); -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/customer.png" title="' . _('Inventory Items') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/SelectSalesOrder.php =================================================================== --- trunk/SelectSalesOrder.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/SelectSalesOrder.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -382,7 +382,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/sales.png" title="' . _('Sales') . '" alt="" />' . ' ' . _('Outstanding Sales Orders') . '</p> '; -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; Modified: trunk/StockAdjustments.php =================================================================== --- trunk/StockAdjustments.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/StockAdjustments.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -352,7 +352,7 @@ }/* end if the user hit enter the adjustment */ -echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'" method=post>'; +echo '<form action="'. htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier='.$identifier.'" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (!isset($_SESSION['Adjustment' . $identifier])) { Modified: trunk/StockCounts.php =================================================================== --- trunk/StockCounts.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/StockCounts.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -9,7 +9,7 @@ include('includes/header.inc'); -echo "<form action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . "' method=post>"; +echo "<form action='" . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . "' method="post">"; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . Modified: trunk/StockLocStatus.php =================================================================== --- trunk/StockLocStatus.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/StockLocStatus.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -15,7 +15,7 @@ } -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method=post>'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $sql = "SELECT loccode, Modified: trunk/StockLocTransferReceive.php =================================================================== --- trunk/StockLocTransferReceive.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/StockLocTransferReceive.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -410,7 +410,7 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Dispatch') . '" alt="" />' . ' ' . $title . '</p>'; - echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?'. SID . '" method=post>'; + echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?'. SID . '" method="post">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; prnMsg(_('Please Verify Shipment Quantities Received'),'info'); Modified: trunk/Z_ImportStocks.php =================================================================== --- trunk/Z_ImportStocks.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/Z_ImportStocks.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -290,7 +290,7 @@ <br /> <br /> '; - echo "<form ENCtype='multipart/form-data' action='Z_ImportStocks.php' method=post>"; + echo "<form ENCtype='multipart/form-data' action='Z_ImportStocks.php' method="post">"; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo "<input type='hidden' name='MAX_FILE_SIZE' value='1000000' />" . Modified: trunk/Z_UploadForm.php =================================================================== --- trunk/Z_UploadForm.php 2012-03-13 08:29:08 UTC (rev 5104) +++ trunk/Z_UploadForm.php 2012-03-16 22:34:02 UTC (rev 5105) @@ -9,7 +9,7 @@ include('includes/header.inc'); -echo "<form ENCtype='multipart/form-data' action='Z_UploadResult.php' method=post>"; +echo "<form ENCtype='multipart/form-data' action='Z_UploadResult.php' method="post">"; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo "<input type='hidden' name='MAX_FILE_SIZE' value='1000000' />" . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tim...@us...> - 2012-03-19 07:11:05
|
Revision: 5108 http://web-erp.svn.sourceforge.net/web-erp/?rev=5108&view=rev Author: tim_schofield Date: 2012-03-19 07:10:58 +0000 (Mon, 19 Mar 2012) Log Message: ----------- Remove illegal copyright assignments to prevent any legal problems Modified Paths: -------------- trunk/doc/Change.log trunk/includes/footer.inc Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-03-19 01:18:09 UTC (rev 5107) +++ trunk/doc/Change.log 2012-03-19 07:10:58 UTC (rev 5108) @@ -1,4 +1,5 @@ webERP Change Log +19/3/2012 Tim: Remove illegal copyright notices to prevent any legal problems.</p> 13/3/2012 Exson: Fixed that same parent and component but added in different Work Centers and Locations will display twice in BOMs.php. And fixed that to delete one line of same parents and component will delete all lines with same parents and components. Add ArrayUnique function to get unique array for multi-dimensional array. 13/3/2012 Exson: Correct mailing sending messages display error in PrintCustTransPortrait.php Reported by Thomas_lie 12/3/2012 Exson: Fixed freight cost over 1000 cannot be calculated correctly in ConfirmDispatch_Invoice.php reported by Craig Craven. Modified: trunk/includes/footer.inc =================================================================== --- trunk/includes/footer.inc 2012-03-19 01:18:09 UTC (rev 5107) +++ trunk/includes/footer.inc 2012-03-19 07:10:58 UTC (rev 5108) @@ -10,7 +10,6 @@ echo '<td class="footer" style="text-align: right;width:33%">'.(strftime('%A')).', '.(date($_SESSION['DefaultDateFormat']).' | '.(strftime(($DefaultClock==12) ? '%I:%M %p' : '%H:%M'))).'</td>'; echo '</tr>'; -echo '<tr><td colspan="3" class="footer">' ._('Copyright') . ' © weberp.org 2003 - ' . date('Y') . '</td></tr>'; echo '<tr><td colspan="3" class="footer">webERP ' ._('version') .' ' . $_SESSION['VersionNumber'] . '</td></tr>'; // if(http_file_exists('http://sflogo.sourceforge.net/sflogo.php')) { @@ -22,4 +21,4 @@ echo '</div>'; echo '</body>'; echo '</html>'; -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tim...@us...> - 2012-03-19 07:11:09
|
Revision: 5108 http://web-erp.svn.sourceforge.net/web-erp/?rev=5108&view=rev Author: tim_schofield Date: 2012-03-19 07:10:58 +0000 (Mon, 19 Mar 2012) Log Message: ----------- Remove illegal copyright assignments to prevent any legal problems Modified Paths: -------------- trunk/doc/Change.log trunk/includes/footer.inc Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-03-19 01:18:09 UTC (rev 5107) +++ trunk/doc/Change.log 2012-03-19 07:10:58 UTC (rev 5108) @@ -1,4 +1,5 @@ webERP Change Log +19/3/2012 Tim: Remove illegal copyright notices to prevent any legal problems.</p> 13/3/2012 Exson: Fixed that same parent and component but added in different Work Centers and Locations will display twice in BOMs.php. And fixed that to delete one line of same parents and component will delete all lines with same parents and components. Add ArrayUnique function to get unique array for multi-dimensional array. 13/3/2012 Exson: Correct mailing sending messages display error in PrintCustTransPortrait.php Reported by Thomas_lie 12/3/2012 Exson: Fixed freight cost over 1000 cannot be calculated correctly in ConfirmDispatch_Invoice.php reported by Craig Craven. Modified: trunk/includes/footer.inc =================================================================== --- trunk/includes/footer.inc 2012-03-19 01:18:09 UTC (rev 5107) +++ trunk/includes/footer.inc 2012-03-19 07:10:58 UTC (rev 5108) @@ -10,7 +10,6 @@ echo '<td class="footer" style="text-align: right;width:33%">'.(strftime('%A')).', '.(date($_SESSION['DefaultDateFormat']).' | '.(strftime(($DefaultClock==12) ? '%I:%M %p' : '%H:%M'))).'</td>'; echo '</tr>'; -echo '<tr><td colspan="3" class="footer">' ._('Copyright') . ' © weberp.org 2003 - ' . date('Y') . '</td></tr>'; echo '<tr><td colspan="3" class="footer">webERP ' ._('version') .' ' . $_SESSION['VersionNumber'] . '</td></tr>'; // if(http_file_exists('http://sflogo.sourceforge.net/sflogo.php')) { @@ -22,4 +21,4 @@ echo '</div>'; echo '</body>'; echo '</html>'; -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <Ex...@us...> - 2012-03-30 08:26:47
|
Revision: 5167 http://web-erp.svn.sourceforge.net/web-erp/?rev=5167&view=rev Author: ExsonQu Date: 2012-03-30 08:26:37 +0000 (Fri, 30 Mar 2012) Log Message: ----------- 30/3/2012 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php Modified Paths: -------------- trunk/WWW_Access.php trunk/WWW_Users.php Modified: trunk/WWW_Access.php =================================================================== --- trunk/WWW_Access.php 2012-03-29 10:34:06 UTC (rev 5166) +++ trunk/WWW_Access.php 2012-03-30 08:26:37 UTC (rev 5167) @@ -100,7 +100,7 @@ $sql = "SELECT secroleid, secrolename FROM securityroles - ORDER BY secroleid"; + ORDER BY secrolename"; $result = DB_query($sql,$db); echo '<table class="selection">'; Modified: trunk/WWW_Users.php =================================================================== --- trunk/WWW_Users.php 2012-03-29 10:34:06 UTC (rev 5166) +++ trunk/WWW_Users.php 2012-03-30 08:26:37 UTC (rev 5167) @@ -37,7 +37,7 @@ $sql = "SELECT secroleid, secrolename FROM securityroles - ORDER BY secroleid"; + ORDER BY secrolename"; $Sec_Result = DB_query($sql, $db); $SecurityRoles = array(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <Ex...@us...> - 2012-03-30 08:26:48
|
Revision: 5167 http://web-erp.svn.sourceforge.net/web-erp/?rev=5167&view=rev Author: ExsonQu Date: 2012-03-30 08:26:37 +0000 (Fri, 30 Mar 2012) Log Message: ----------- 30/3/2012 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php Modified Paths: -------------- trunk/WWW_Access.php trunk/WWW_Users.php Modified: trunk/WWW_Access.php =================================================================== --- trunk/WWW_Access.php 2012-03-29 10:34:06 UTC (rev 5166) +++ trunk/WWW_Access.php 2012-03-30 08:26:37 UTC (rev 5167) @@ -100,7 +100,7 @@ $sql = "SELECT secroleid, secrolename FROM securityroles - ORDER BY secroleid"; + ORDER BY secrolename"; $result = DB_query($sql,$db); echo '<table class="selection">'; Modified: trunk/WWW_Users.php =================================================================== --- trunk/WWW_Users.php 2012-03-29 10:34:06 UTC (rev 5166) +++ trunk/WWW_Users.php 2012-03-30 08:26:37 UTC (rev 5167) @@ -37,7 +37,7 @@ $sql = "SELECT secroleid, secrolename FROM securityroles - ORDER BY secroleid"; + ORDER BY secrolename"; $Sec_Result = DB_query($sql, $db); $SecurityRoles = array(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <Ex...@us...> - 2012-03-31 14:33:30
|
Revision: 5177 http://web-erp.svn.sourceforge.net/web-erp/?rev=5177&view=rev Author: ExsonQu Date: 2012-03-31 14:33:23 +0000 (Sat, 31 Mar 2012) Log Message: ----------- 31/3/2012: PakRichard: Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php Modified Paths: -------------- trunk/PcAssignCashToTab.php trunk/PcClaimExpensesFromTab.php Modified: trunk/PcAssignCashToTab.php =================================================================== --- trunk/PcAssignCashToTab.php 2012-03-31 09:24:30 UTC (rev 5176) +++ trunk/PcAssignCashToTab.php 2012-03-31 14:33:23 UTC (rev 5177) @@ -1,380 +1,391 @@ -<?php -/* $Id$*/ - -include('includes/session.inc'); -$title = _('Assignment of Cash to Petty Cash Tab'); -include('includes/header.inc'); - -if (isset($_POST['SelectedTabs'])){ - $SelectedTabs = mb_strtoupper($_POST['SelectedTabs']); -} elseif (isset($_GET['SelectedTabs'])){ - $SelectedTabs = mb_strtoupper($_GET['SelectedTabs']); -} - -if (isset($_POST['SelectedIndex'])){ - $SelectedIndex = $_POST['SelectedIndex']; -} elseif (isset($_GET['SelectedIndex'])){ - $SelectedIndex = $_GET['SelectedIndex']; -} - -if (isset($_POST['Days'])){ - $Days = $_POST['Days']; -} elseif (isset($_GET['Days'])){ - $Days = $_GET['Days']; -} - -if (isset($_POST['Cancel'])) { - unset($SelectedTabs); - unset($SelectedIndex); - unset($Days); - unset($_POST['Amount']); - unset($_POST['Notes']); - unset($_POST['Receipt']); -} - -if (isset($_POST['process'])) { - if ($SelectedTabs=='') { - prnMsg(_('You Must First Select a Petty Cash Tab To Assign Cash'),'error'); - unset($SelectedTabs); - } -} - -if (isset($_POST['Go'])) { - $InputError = 0; - if ($Days<=0) { - $InputError = 1; - prnMsg(_('The number of days must be a positive number'),'error'); - $Days=30; - } -} - -if (isset($_POST['submit'])) { - //initialise no input errors assumed initially before we test - $InputError = 0; - - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Search') . '" alt="" />' . ' ' . $title. '</p>'; - - /* actions to take once the user has clicked the submit button - ie the page has called itself with some user input */ - - $i=1; - - if ($_POST['Amount']==0) { - $InputError = 1; - prnMsg('<br />' . _('The Amount must be input'),'error'); - } - - $sqlLimit = "SELECT tablimit - FROM pctabs - WHERE tabcode='" . $SelectedTabs . "'"; - - $ResultLimit = DB_query($sqlLimit,$db); - $Limit=DB_fetch_array($ResultLimit); - - if (($_POST['CurrentAmount']+$_POST['Amount'])>$Limit['tablimit']){ - prnMsg(_('The balance after this assignment would be greater than the specified limit for this PC tab'),'warning'); - } - - if ($InputError !=1 AND isset($SelectedIndex) ) { - - $sql = "UPDATE pcashdetails - SET date = '".FormatDateForSQL($_POST['Date'])."', - amount = '" . filter_number_format($_POST['Amount']) . "', - authorized = '0000-00-00', - notes = '" . $_POST['Notes'] . "', - receipt = '" . $_POST['Receipt'] . "' - WHERE counterindex = '" . $SelectedIndex . "'"; - $msg = _('Assignment of cash to PC Tab ') . ' ' . $SelectedTabs . ' ' . _('has been updated'); - - } elseif ($InputError !=1 ) { - // Add new record on submit - $sql = "INSERT INTO pcashdetails - (counterindex, - tabcode, - date, - codeexpense, - amount, - authorized, - posted, - notes, - receipt) - VALUES ('', - '" . $_POST['SelectedTabs'] . "', - '".FormatDateForSQL($_POST['Date'])."', - 'ASSIGNCASH', - '" . filter_number_format($_POST['Amount']) . "', - authorized = '0000-00-00', - '0', - '" . $_POST['Notes'] . "', - '" . $_POST['Receipt'] . "' - )"; - $msg = _('Assignment of cash to PC Tab ') . ' ' . $_POST['SelectedTabs'] . ' ' . _('has been created'); - } - - if ( $InputError !=1) { - //run the SQL from either of the above possibilites - $result = DB_query($sql,$db); - prnMsg($msg,'success'); - unset($_POST['SelectedExpense']); - unset($_POST['Amount']); - unset($_POST['Notes']); - unset($_POST['Receipt']); - unset($_POST['SelectedTabs']); - unset($_POST['Date']); - } - -} elseif ( isset($_GET['delete']) ) { - - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Search') . '" alt="">' . ' ' . $title. '</p>'; - $sql="DELETE FROM pcashdetails - WHERE counterindex='" . $SelectedIndex . "'"; - $ErrMsg = _('The assignment of cash record could not be deleted because'); - $result = DB_query($sql,$db,$ErrMsg); - prnMsg(_('Assignment of cash to PC Tab ') . ' ' . $SelectedTabs . ' ' . _('has been deleted') ,'success'); - unset($_GET['delete']); -} - -if (!isset($SelectedTabs)){ - - /* It could still be the second time the page has been run and a record has been selected for modification - SelectedTabs will exist because it was sent with the new call. If its the first time the page has been displayed with no parameters - then none of the above are true and the list of sales types will be displayed with - links to delete or edit each. These will call the same page again and allow update/input - or deletion of the records*/ - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Search') . '" alt="" />' . ' ' . $title. '</p>'; - - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class="selection">'; //Main table - - echo '<tr><td>' . _('Petty Cash Tab To Assign Cash') . ':</td> - <td><select name="SelectedTabs">'; - - DB_free_result($result); - $SQL = "SELECT tabcode - FROM pctabs - WHERE assigner='" . $_SESSION['UserID'] . "' - ORDER BY tabcode"; - - $result = DB_query($SQL,$db); - - while ($myrow = DB_fetch_array($result)) { - if (isset($_POST['SelectTabs']) and $myrow['tabcode']==$_POST['SelectTabs']) { - echo '<option selected="selected" value="'; - } else { - echo '<option value="'; - } - echo $myrow['tabcode'] . '">' . $myrow['tabcode'] . '</option>'; - } - - 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 '</form>'; -} - -//end of ifs and buts! -if (isset($_POST['process']) OR isset($SelectedTabs)) { - - if (!isset($_POST['submit'])) { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Search') . '" alt="" />' . ' ' . $title. '</p>'; - } - echo '<p><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Details Of Petty Cash Tab ') . '' .$SelectedTabs. '<a/></div>'; - - if (! isset($_GET['edit']) OR isset ($_POST['GO'])){ - - if (isset($_POST['Cancel'])) { - unset($_POST['Amount']); - unset($_POST['Date']); - unset($_POST['Notes']); - unset($_POST['Receipt']); - } - - if(!isset ($Days)){ - $Days=30; - } - $sql = "SELECT * FROM pcashdetails - WHERE tabcode='" . $SelectedTabs . "' - AND date >=DATE_SUB(CURDATE(), INTERVAL " . $Days . " DAY) - ORDER BY date, counterindex ASC"; - - - $result = DB_query($sql,$db); - - echo '<table class="selection">'; - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - 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 '</th></tr></form>'; - echo '<tr> - <th>' . _('Date') . '</th> - <th>' . _('Expense Code') . '</th> - <th>' . _('Amount') . '</th> - <th>' . _('Authorised') . '</th> - <th>' . _('Notes') . '</th> - <th>' . _('Receipt') . '</th> - </tr>'; - - $k=0; //row colour counter - - while ($myrow = DB_fetch_array($result)) { - if ($k==1){ - echo '<tr class="EvenTableRows">'; - $k=0; - } else { - echo '<tr class="OddTableRows">'; - $k=1; - } - - $sqldes="SELECT description - FROM pcexpenses - WHERE codeexpense='". $myrow['3'] . "'"; - - $ResultDes = DB_query($sqldes,$db); - $Description=DB_fetch_array($ResultDes); - - if (!isset($Description['0'])){ - $Description['0']='ASSIGNCASH'; - } - - if (($myrow['authorized'] == '0000-00-00') and ($Description['0'] == 'ASSIGNCASH')){ - // only cash assignations NOT authorized can be modified or deleted - echo '<td>' . ConvertSQLDate($myrow['date']) . '</td> - <td>' . $Description['0'] . '</td> - <td class="number">' . locale_number_format($myrow['amount'],$_SESSION['CompanyRecord']['decimalplaces']) . '</td> - <td>' . ConvertSQLDate($myrow['authorized']) . '</td> - <td>' . $myrow['notes'] . '</td> - <td>' . $myrow['receipt'] . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedIndex=' . $myrow['counterindex'] . '&SelectedTabs=' . - $SelectedTabs . '&Days=' . $Days . '&edit=yes">' . _('Edit') . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedIndex=' . $myrow['counterindex'] . '&SelectedTabs=' . - $SelectedTabs . '&Days=' . $Days . '&delete=yes" onclick="return confirm("' . - _('Are you sure you wish to delete this code and the expense it may have set up?') . '");">' . - _('Delete') . '</td> - </tr>'; - }else{ - echo '<td>' . ConvertSQLDate($myrow['date']) . '</td> - <td>' . $Description['0'] . '</td> - <td class="number">' . locale_number_format($myrow['amount'],$_SESSION['CompanyRecord']['decimalplaces']).'</td> - <td>' . ConvertSQLDate($myrow['authorized']) . '</td> - <td>' . $myrow['notes'] . '</td> - <td>' . $myrow['receipt'] . '</td> - </tr>'; - } - } - //END WHILE LIST LOOP - - $sqlamount="SELECT sum(amount) - FROM pcashdetails - WHERE tabcode='".$SelectedTabs."'"; - - $ResultAmount = DB_query($sqlamount,$db); - $Amount=DB_fetch_array($ResultAmount); - - if (!isset($Amount['0'])) { - $Amount['0']=0; - } - - echo '<tr> - <td colspan="2" style="text-align:right"><b>' . _('Current balance') . ':</b></td> - <td>' . locale_number_format($Amount['0'],$_SESSION['CompanyRecord']['decimalplaces']) . '</td></tr>'; - - echo '</table>'; - - } - - if (! isset($_GET['delete'])) { - - if (!isset($Amount['0'])) { - $Amount['0']=0; - } - - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class="selection">'; //Main table - if (isset($_GET['SelectedIndex'])) { - echo '<tr><th colspan="2"><font color=blue size="3">'._('Update Cash Assignment').'</font></th></tr>'; - } else { - echo '<tr><th colspan="2"><font color=blue size="3">'._('New Cash Assignment').'</font></th></tr>'; - } - if ( isset($_GET['edit'])) { - - $sql = "SELECT * FROM pcashdetails - WHERE counterindex='".$SelectedIndex."'"; - - $result = DB_query($sql, $db); - $myrow = DB_fetch_array($result); - - $_POST['Date'] = ConvertSQLDate($myrow['date']); - $_POST['SelectedExpense'] = $myrow['codeexpense']; - $_POST['Amount'] = $myrow['amount']; - $_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="CurrentAmount" value="' . $Amount[0]. '" />'; - echo '<input type="hidden" name="Days" value="' . $Days . '" />'; - } - -/* Ricard: needs revision of this date initialization */ - if (!isset($_POST['Date'])) { - $_POST['Date']=Date('d/m/Y'); - } - - echo '<tr><td>' . _('Cash Assignation Date') . ':</td>'; - - echo '<td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="Date" size="10" maxlength="10" value="' . $_POST['Date'] . '" /></td></tr>'; - - - if (!isset($_POST['Amount'])) { - $_POST['Amount']=0; - } - - echo '<tr> - <td>' . _('Amount') . ':</td> - <td><input type="text" class="number" name="Amount" size="12" maxlength="11" value="' . locale_number_format($_POST['Amount'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></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>'; - - 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="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 - - 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 -} -include('includes/footer.inc'); +<?php +/* $Id$*/ + +include('includes/session.inc'); +$title = _('Assignment of Cash to Petty Cash Tab'); +include('includes/header.inc'); + +if (isset($_POST['SelectedTabs'])){ + $SelectedTabs = mb_strtoupper($_POST['SelectedTabs']); +} elseif (isset($_GET['SelectedTabs'])){ + $SelectedTabs = mb_strtoupper($_GET['SelectedTabs']); +} + +if (isset($_POST['SelectedIndex'])){ + $SelectedIndex = $_POST['SelectedIndex']; +} elseif (isset($_GET['SelectedIndex'])){ + $SelectedIndex = $_GET['SelectedIndex']; +} + +if (isset($_POST['Days'])){ + $Days = $_POST['Days']; +} elseif (isset($_GET['Days'])){ + $Days = $_GET['Days']; +} + +if (isset($_POST['Cancel'])) { + unset($SelectedTabs); + unset($SelectedIndex); + unset($Days); + unset($_POST['Amount']); + unset($_POST['Notes']); + unset($_POST['Receipt']); +} + +if (isset($_POST['process'])) { + if ($SelectedTabs=='') { + prnMsg(_('You Must First Select a Petty Cash Tab To Assign Cash'),'error'); + unset($SelectedTabs); + } +} + +if (isset($_POST['Go'])) { + $InputError = 0; + if ($Days<=0) { + $InputError = 1; + prnMsg(_('The number of days must be a positive number'),'error'); + $Days=30; + } +} + +if (isset($_POST['submit'])) { + //initialise no input errors assumed initially before we test + $InputError = 0; + + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('Search') . '" alt="" />' . ' ' . $title. '</p>'; + + /* actions to take once the user has clicked the submit button + ie the page has called itself with some user input */ + + $i=1; + + if ($_POST['Amount']==0) { + $InputError = 1; + prnMsg('<br />' . _('The Amount must be input'),'error'); + } + + $sqlLimit = "SELECT tablimit + FROM pctabs + WHERE tabcode='" . $SelectedTabs . "'"; + + $ResultLimit = DB_query($sqlLimit,$db); + $Limit=DB_fetch_array($ResultLimit); + + if (($_POST['CurrentAmount']+$_POST['Amount'])>$Limit['tablimit']){ + prnMsg(_('The balance after this assignment would be greater than the specified limit for this PC tab'),'warning'); + } + + if ($InputError !=1 AND isset($SelectedIndex) ) { + + $sql = "UPDATE pcashdetails + SET date = '".FormatDateForSQL($_POST['Date'])."', + amount = '" . filter_number_format($_POST['Amount']) . "', + authorized = '0000-00-00', + notes = '" . $_POST['Notes'] . "', + receipt = '" . $_POST['Receipt'] . "' + WHERE counterindex = '" . $SelectedIndex . "'"; + $msg = _('Assignment of cash to PC Tab ') . ' ' . $SelectedTabs . ' ' . _('has been updated'); + + } elseif ($InputError !=1 ) { + // Add new record on submit + $sql = "INSERT INTO pcashdetails + (counterindex, + tabcode, + date, + codeexpense, + amount, + authorized, + posted, + notes, + receipt) + VALUES ('', + '" . $_POST['SelectedTabs'] . "', + '".FormatDateForSQL($_POST['Date'])."', + 'ASSIGNCASH', + '" . filter_number_format($_POST['Amount']) . "', + authorized = '0000-00-00', + '0', + '" . $_POST['Notes'] . "', + '" . $_POST['Receipt'] . "' + )"; + $msg = _('Assignment of cash to PC Tab ') . ' ' . $_POST['SelectedTabs'] . ' ' . _('has been created'); + } + + if ( $InputError !=1) { + //run the SQL from either of the above possibilites + $result = DB_query($sql,$db); + prnMsg($msg,'success'); + unset($_POST['SelectedExpense']); + unset($_POST['Amount']); + unset($_POST['Notes']); + unset($_POST['Receipt']); + unset($_POST['SelectedTabs']); + unset($_POST['Date']); + } + +} elseif ( isset($_GET['delete']) ) { + + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('Search') . '" alt="">' . ' ' . $title. '</p>'; + $sql="DELETE FROM pcashdetails + WHERE counterindex='" . $SelectedIndex . "'"; + $ErrMsg = _('The assignment of cash record could not be deleted because'); + $result = DB_query($sql,$db,$ErrMsg); + prnMsg(_('Assignment of cash to PC Tab ') . ' ' . $SelectedTabs . ' ' . _('has been deleted') ,'success'); + unset($_GET['delete']); +} + +if (!isset($SelectedTabs)){ + + /* It could still be the second time the page has been run and a record has been selected for modification - SelectedTabs will exist because it was sent with the new call. If its the first time the page has been displayed with no parameters + then none of the above are true and the list of sales types will be displayed with + links to delete or edit each. These will call the same page again and allow update/input + or deletion of the records*/ + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('Search') . '" alt="" />' . ' ' . $title. '</p>'; + + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<p><table class="selection">'; //Main table + + echo '<tr><td>' . _('Petty Cash Tab To Assign Cash') . ':</td> + <td><select name="SelectedTabs">'; + + DB_free_result($result); + $SQL = "SELECT tabcode + FROM pctabs + WHERE assigner='" . $_SESSION['UserID'] . "' + ORDER BY tabcode"; + + $result = DB_query($SQL,$db); + + while ($myrow = DB_fetch_array($result)) { + if (isset($_POST['SelectTabs']) and $myrow['tabcode']==$_POST['SelectTabs']) { + echo '<option selected="selected" value="'; + } else { + echo '<option value="'; + } + echo $myrow['tabcode'] . '">' . $myrow['tabcode'] . '</option>'; + } + + 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 '</form>'; +} + +//end of ifs and buts! +if (isset($_POST['process']) OR isset($SelectedTabs)) { + + if (!isset($_POST['submit'])) { + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('Search') . '" alt="" />' . ' ' . $title. '</p>'; + } + echo '<p><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Select another tab') . '<a/></div></p>'; + + + + if (! isset($_GET['edit']) OR isset ($_POST['GO'])){ + + if (isset($_POST['Cancel'])) { + unset($_POST['Amount']); + unset($_POST['Date']); + unset($_POST['Notes']); + unset($_POST['Receipt']); + } + + if(!isset ($Days)){ + $Days=30; + } + + /* Retrieve decimal places to display */ + $SqlDecimalPlaces="SELECT decimalplaces + FROM currencies,pctabs + WHERE currencies.currabrev = pctabs.currency + AND tabcode='" . $SelectedTabs . "'"; + $result = DB_query($SqlDecimalPlaces,$db); + $myrow=DB_fetch_array($result); + $CurrDecimalPlaces = $myrow['decimalplaces']; + + $sql = "SELECT * FROM pcashdetails + WHERE tabcode='" . $SelectedTabs . "' + AND date >=DATE_SUB(CURDATE(), INTERVAL " . $Days . " DAY) + ORDER BY date, counterindex ASC"; + $result = DB_query($sql,$db); + + echo '<table class="selection">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + 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 '</th></tr></form>'; + echo '<tr> + <th>' . _('Date') . '</th> + <th>' . _('Expense Code') . '</th> + <th>' . _('Amount') . '</th> + <th>' . _('Authorised') . '</th> + <th>' . _('Notes') . '</th> + <th>' . _('Receipt') . '</th> + </tr>'; + + $k=0; //row colour counter + + while ($myrow = DB_fetch_array($result)) { + if ($k==1){ + echo '<tr class="EvenTableRows">'; + $k=0; + } else { + echo '<tr class="OddTableRows">'; + $k=1; + } + + $sqldes="SELECT description + FROM pcexpenses + WHERE codeexpense='". $myrow['3'] . "'"; + + $ResultDes = DB_query($sqldes,$db); + $Description=DB_fetch_array($ResultDes); + + if (!isset($Description['0'])){ + $Description['0']='ASSIGNCASH'; + } + + if (($myrow['authorized'] == '0000-00-00') and ($Description['0'] == 'ASSIGNCASH')){ + // only cash assignations NOT authorized can be modified or deleted + echo '<td>' . ConvertSQLDate($myrow['date']) . '</td> + <td>' . $Description['0'] . '</td> + <td class="number">' . locale_number_format($myrow['amount'],$CurrDecimalPlaces) . '</td> + <td>' . ConvertSQLDate($myrow['authorized']) . '</td> + <td>' . $myrow['notes'] . '</td> + <td>' . $myrow['receipt'] . '</td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedIndex=' . $myrow['counterindex'] . '&SelectedTabs=' . + $SelectedTabs . '&Days=' . $Days . '&edit=yes">' . _('Edit') . '</td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedIndex=' . $myrow['counterindex'] . '&SelectedTabs=' . + $SelectedTabs . '&Days=' . $Days . '&delete=yes" onclick="return confirm("' . + _('Are you sure you wish to delete this code and the expense it may have set up?') . '");">' . + _('Delete') . '</td> + </tr>'; + }else{ + echo '<td>' . ConvertSQLDate($myrow['date']) . '</td> + <td>' . $Description['0'] . '</td> + <td class="number">' . locale_number_format($myrow['amount'],$CurrDecimalPlaces).'</td> + <td>' . ConvertSQLDate($myrow['authorized']) . '</td> + <td>' . $myrow['notes'] . '</td> + <td>' . $myrow['receipt'] . '</td> + </tr>'; + } + } + //END WHILE LIST LOOP + + $sqlamount="SELECT sum(amount) + FROM pcashdetails + WHERE tabcode='".$SelectedTabs."'"; + + $ResultAmount = DB_query($sqlamount,$db); + $Amount=DB_fetch_array($ResultAmount); + + if (!isset($Amount['0'])) { + $Amount['0']=0; + } + + echo '<tr> + <td colspan="2" style="text-align:right"><b>' . _('Current balance') . ':</b></td> + <td>' . locale_number_format($Amount['0'],$CurrDecimalPlaces) . '</td></tr>'; + + echo '</table>'; + + } + + if (! isset($_GET['delete'])) { + + if (!isset($Amount['0'])) { + $Amount['0']=0; + } + + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'">'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<p><table class="selection">'; //Main table + if (isset($_GET['SelectedIndex'])) { + echo '<tr><th colspan="2"><font color=blue size="3">'._('Update Cash Assignment').'</font></th></tr>'; + } else { + echo '<tr><th colspan="2"><font color=blue size="3">'._('New Cash Assignment').'</font></th></tr>'; + } + if ( isset($_GET['edit'])) { + + $sql = "SELECT * FROM pcashdetails + WHERE counterindex='".$SelectedIndex."'"; + + $result = DB_query($sql, $db); + $myrow = DB_fetch_array($result); + + $_POST['Date'] = ConvertSQLDate($myrow['date']); + $_POST['SelectedExpense'] = $myrow['codeexpense']; + $_POST['Amount'] = $myrow['amount']; + $_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="CurrentAmount" value="' . $Amount[0]. '" />'; + echo '<input type="hidden" name="Days" value="' . $Days . '" />'; + } + +/* Ricard: needs revision of this date initialization */ + if (!isset($_POST['Date'])) { + $_POST['Date']=Date('d/m/Y'); + } + + echo '<tr><td>' . _('Cash Assignation Date') . ':</td>'; + + echo '<td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="Date" size="10" maxlength="10" value="' . $_POST['Date'] . '" /></td></tr>'; + + + if (!isset($_POST['Amount'])) { + $_POST['Amount']=0; + } + + echo '<tr> + <td>' . _('Amount') . ':</td> + <td><input type="text" class="number" name="Amount" size="12" maxlength="11" value="' . locale_number_format($_POST['Amount'],$CurrDecimalPlaces) . '" /></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>'; + + 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="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 + + 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 +} + +include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/PcClaimExpensesFromTab.php =================================================================== --- trunk/PcClaimExpensesFromTab.php 2012-03-31 09:24:30 UTC (rev 5176) +++ trunk/PcClaimExpensesFromTab.php 2012-03-31 14:33:23 UTC (rev 5177) @@ -186,6 +186,16 @@ if(!isset ($Days)){ $Days=30; } + + /* Retrieve decimal places to display */ + $SqlDecimalPlaces="SELECT decimalplaces + FROM currencies,pctabs + WHERE currencies.currabrev = pctabs.currency + AND tabcode='" . $SelectedTabs . "'"; + $result = DB_query($SqlDecimalPlaces,$db); + $myrow=DB_fetch_array($result); + $CurrDecimalPlaces = $myrow['decimalplaces']; + 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') . '" />'; @@ -254,7 +264,7 @@ </tr>', ConvertSQLDate($myrow['2']), $Description['0'], - locale_number_format($myrow['4'],$_SESSION['CompanyRecord']['decimalplaces']), + locale_number_format($myrow['4'],$CurrDecimalPlaces), $AuthorisedDate, $myrow['7'], $myrow['8'], @@ -270,7 +280,7 @@ </tr>', ConvertSQLDate($myrow['2']), $Description['0'], - locale_number_format($myrow['4'],$_SESSION['CompanyRecord']['decimalplaces']), + locale_number_format($myrow['4'],$CurrDecimalPlaces), $AuthorisedDate, $myrow['7'], $myrow['8']); @@ -292,7 +302,7 @@ } echo '<tr><td colspan="2" style="text-align:right" >' . _('Current balance') . ':</td> - <td class="number">'.locale_number_format($Amount['0'],$_SESSION['CompanyRecord']['decimalplaces']) . '</td></tr>'; + <td class="number">'.locale_number_format($Amount['0'],$CurrDecimalPlaces) . '</td></tr>'; echo '</table>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <Ex...@us...> - 2012-03-31 14:33:30
|
Revision: 5177 http://web-erp.svn.sourceforge.net/web-erp/?rev=5177&view=rev Author: ExsonQu Date: 2012-03-31 14:33:23 +0000 (Sat, 31 Mar 2012) Log Message: ----------- 31/3/2012: PakRichard: Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php Modified Paths: -------------- trunk/PcAssignCashToTab.php trunk/PcClaimExpensesFromTab.php Modified: trunk/PcAssignCashToTab.php =================================================================== --- trunk/PcAssignCashToTab.php 2012-03-31 09:24:30 UTC (rev 5176) +++ trunk/PcAssignCashToTab.php 2012-03-31 14:33:23 UTC (rev 5177) @@ -1,380 +1,391 @@ -<?php -/* $Id$*/ - -include('includes/session.inc'); -$title = _('Assignment of Cash to Petty Cash Tab'); -include('includes/header.inc'); - -if (isset($_POST['SelectedTabs'])){ - $SelectedTabs = mb_strtoupper($_POST['SelectedTabs']); -} elseif (isset($_GET['SelectedTabs'])){ - $SelectedTabs = mb_strtoupper($_GET['SelectedTabs']); -} - -if (isset($_POST['SelectedIndex'])){ - $SelectedIndex = $_POST['SelectedIndex']; -} elseif (isset($_GET['SelectedIndex'])){ - $SelectedIndex = $_GET['SelectedIndex']; -} - -if (isset($_POST['Days'])){ - $Days = $_POST['Days']; -} elseif (isset($_GET['Days'])){ - $Days = $_GET['Days']; -} - -if (isset($_POST['Cancel'])) { - unset($SelectedTabs); - unset($SelectedIndex); - unset($Days); - unset($_POST['Amount']); - unset($_POST['Notes']); - unset($_POST['Receipt']); -} - -if (isset($_POST['process'])) { - if ($SelectedTabs=='') { - prnMsg(_('You Must First Select a Petty Cash Tab To Assign Cash'),'error'); - unset($SelectedTabs); - } -} - -if (isset($_POST['Go'])) { - $InputError = 0; - if ($Days<=0) { - $InputError = 1; - prnMsg(_('The number of days must be a positive number'),'error'); - $Days=30; - } -} - -if (isset($_POST['submit'])) { - //initialise no input errors assumed initially before we test - $InputError = 0; - - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Search') . '" alt="" />' . ' ' . $title. '</p>'; - - /* actions to take once the user has clicked the submit button - ie the page has called itself with some user input */ - - $i=1; - - if ($_POST['Amount']==0) { - $InputError = 1; - prnMsg('<br />' . _('The Amount must be input'),'error'); - } - - $sqlLimit = "SELECT tablimit - FROM pctabs - WHERE tabcode='" . $SelectedTabs . "'"; - - $ResultLimit = DB_query($sqlLimit,$db); - $Limit=DB_fetch_array($ResultLimit); - - if (($_POST['CurrentAmount']+$_POST['Amount'])>$Limit['tablimit']){ - prnMsg(_('The balance after this assignment would be greater than the specified limit for this PC tab'),'warning'); - } - - if ($InputError !=1 AND isset($SelectedIndex) ) { - - $sql = "UPDATE pcashdetails - SET date = '".FormatDateForSQL($_POST['Date'])."', - amount = '" . filter_number_format($_POST['Amount']) . "', - authorized = '0000-00-00', - notes = '" . $_POST['Notes'] . "', - receipt = '" . $_POST['Receipt'] . "' - WHERE counterindex = '" . $SelectedIndex . "'"; - $msg = _('Assignment of cash to PC Tab ') . ' ' . $SelectedTabs . ' ' . _('has been updated'); - - } elseif ($InputError !=1 ) { - // Add new record on submit - $sql = "INSERT INTO pcashdetails - (counterindex, - tabcode, - date, - codeexpense, - amount, - authorized, - posted, - notes, - receipt) - VALUES ('', - '" . $_POST['SelectedTabs'] . "', - '".FormatDateForSQL($_POST['Date'])."', - 'ASSIGNCASH', - '" . filter_number_format($_POST['Amount']) . "', - authorized = '0000-00-00', - '0', - '" . $_POST['Notes'] . "', - '" . $_POST['Receipt'] . "' - )"; - $msg = _('Assignment of cash to PC Tab ') . ' ' . $_POST['SelectedTabs'] . ' ' . _('has been created'); - } - - if ( $InputError !=1) { - //run the SQL from either of the above possibilites - $result = DB_query($sql,$db); - prnMsg($msg,'success'); - unset($_POST['SelectedExpense']); - unset($_POST['Amount']); - unset($_POST['Notes']); - unset($_POST['Receipt']); - unset($_POST['SelectedTabs']); - unset($_POST['Date']); - } - -} elseif ( isset($_GET['delete']) ) { - - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Search') . '" alt="">' . ' ' . $title. '</p>'; - $sql="DELETE FROM pcashdetails - WHERE counterindex='" . $SelectedIndex . "'"; - $ErrMsg = _('The assignment of cash record could not be deleted because'); - $result = DB_query($sql,$db,$ErrMsg); - prnMsg(_('Assignment of cash to PC Tab ') . ' ' . $SelectedTabs . ' ' . _('has been deleted') ,'success'); - unset($_GET['delete']); -} - -if (!isset($SelectedTabs)){ - - /* It could still be the second time the page has been run and a record has been selected for modification - SelectedTabs will exist because it was sent with the new call. If its the first time the page has been displayed with no parameters - then none of the above are true and the list of sales types will be displayed with - links to delete or edit each. These will call the same page again and allow update/input - or deletion of the records*/ - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Search') . '" alt="" />' . ' ' . $title. '</p>'; - - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class="selection">'; //Main table - - echo '<tr><td>' . _('Petty Cash Tab To Assign Cash') . ':</td> - <td><select name="SelectedTabs">'; - - DB_free_result($result); - $SQL = "SELECT tabcode - FROM pctabs - WHERE assigner='" . $_SESSION['UserID'] . "' - ORDER BY tabcode"; - - $result = DB_query($SQL,$db); - - while ($myrow = DB_fetch_array($result)) { - if (isset($_POST['SelectTabs']) and $myrow['tabcode']==$_POST['SelectTabs']) { - echo '<option selected="selected" value="'; - } else { - echo '<option value="'; - } - echo $myrow['tabcode'] . '">' . $myrow['tabcode'] . '</option>'; - } - - 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 '</form>'; -} - -//end of ifs and buts! -if (isset($_POST['process']) OR isset($SelectedTabs)) { - - if (!isset($_POST['submit'])) { - echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . - _('Search') . '" alt="" />' . ' ' . $title. '</p>'; - } - echo '<p><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Details Of Petty Cash Tab ') . '' .$SelectedTabs. '<a/></div>'; - - if (! isset($_GET['edit']) OR isset ($_POST['GO'])){ - - if (isset($_POST['Cancel'])) { - unset($_POST['Amount']); - unset($_POST['Date']); - unset($_POST['Notes']); - unset($_POST['Receipt']); - } - - if(!isset ($Days)){ - $Days=30; - } - $sql = "SELECT * FROM pcashdetails - WHERE tabcode='" . $SelectedTabs . "' - AND date >=DATE_SUB(CURDATE(), INTERVAL " . $Days . " DAY) - ORDER BY date, counterindex ASC"; - - - $result = DB_query($sql,$db); - - echo '<table class="selection">'; - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - 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 '</th></tr></form>'; - echo '<tr> - <th>' . _('Date') . '</th> - <th>' . _('Expense Code') . '</th> - <th>' . _('Amount') . '</th> - <th>' . _('Authorised') . '</th> - <th>' . _('Notes') . '</th> - <th>' . _('Receipt') . '</th> - </tr>'; - - $k=0; //row colour counter - - while ($myrow = DB_fetch_array($result)) { - if ($k==1){ - echo '<tr class="EvenTableRows">'; - $k=0; - } else { - echo '<tr class="OddTableRows">'; - $k=1; - } - - $sqldes="SELECT description - FROM pcexpenses - WHERE codeexpense='". $myrow['3'] . "'"; - - $ResultDes = DB_query($sqldes,$db); - $Description=DB_fetch_array($ResultDes); - - if (!isset($Description['0'])){ - $Description['0']='ASSIGNCASH'; - } - - if (($myrow['authorized'] == '0000-00-00') and ($Description['0'] == 'ASSIGNCASH')){ - // only cash assignations NOT authorized can be modified or deleted - echo '<td>' . ConvertSQLDate($myrow['date']) . '</td> - <td>' . $Description['0'] . '</td> - <td class="number">' . locale_number_format($myrow['amount'],$_SESSION['CompanyRecord']['decimalplaces']) . '</td> - <td>' . ConvertSQLDate($myrow['authorized']) . '</td> - <td>' . $myrow['notes'] . '</td> - <td>' . $myrow['receipt'] . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedIndex=' . $myrow['counterindex'] . '&SelectedTabs=' . - $SelectedTabs . '&Days=' . $Days . '&edit=yes">' . _('Edit') . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedIndex=' . $myrow['counterindex'] . '&SelectedTabs=' . - $SelectedTabs . '&Days=' . $Days . '&delete=yes" onclick="return confirm("' . - _('Are you sure you wish to delete this code and the expense it may have set up?') . '");">' . - _('Delete') . '</td> - </tr>'; - }else{ - echo '<td>' . ConvertSQLDate($myrow['date']) . '</td> - <td>' . $Description['0'] . '</td> - <td class="number">' . locale_number_format($myrow['amount'],$_SESSION['CompanyRecord']['decimalplaces']).'</td> - <td>' . ConvertSQLDate($myrow['authorized']) . '</td> - <td>' . $myrow['notes'] . '</td> - <td>' . $myrow['receipt'] . '</td> - </tr>'; - } - } - //END WHILE LIST LOOP - - $sqlamount="SELECT sum(amount) - FROM pcashdetails - WHERE tabcode='".$SelectedTabs."'"; - - $ResultAmount = DB_query($sqlamount,$db); - $Amount=DB_fetch_array($ResultAmount); - - if (!isset($Amount['0'])) { - $Amount['0']=0; - } - - echo '<tr> - <td colspan="2" style="text-align:right"><b>' . _('Current balance') . ':</b></td> - <td>' . locale_number_format($Amount['0'],$_SESSION['CompanyRecord']['decimalplaces']) . '</td></tr>'; - - echo '</table>'; - - } - - if (! isset($_GET['delete'])) { - - if (!isset($Amount['0'])) { - $Amount['0']=0; - } - - echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'">'; - echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; - echo '<p><table class="selection">'; //Main table - if (isset($_GET['SelectedIndex'])) { - echo '<tr><th colspan="2"><font color=blue size="3">'._('Update Cash Assignment').'</font></th></tr>'; - } else { - echo '<tr><th colspan="2"><font color=blue size="3">'._('New Cash Assignment').'</font></th></tr>'; - } - if ( isset($_GET['edit'])) { - - $sql = "SELECT * FROM pcashdetails - WHERE counterindex='".$SelectedIndex."'"; - - $result = DB_query($sql, $db); - $myrow = DB_fetch_array($result); - - $_POST['Date'] = ConvertSQLDate($myrow['date']); - $_POST['SelectedExpense'] = $myrow['codeexpense']; - $_POST['Amount'] = $myrow['amount']; - $_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="CurrentAmount" value="' . $Amount[0]. '" />'; - echo '<input type="hidden" name="Days" value="' . $Days . '" />'; - } - -/* Ricard: needs revision of this date initialization */ - if (!isset($_POST['Date'])) { - $_POST['Date']=Date('d/m/Y'); - } - - echo '<tr><td>' . _('Cash Assignation Date') . ':</td>'; - - echo '<td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="Date" size="10" maxlength="10" value="' . $_POST['Date'] . '" /></td></tr>'; - - - if (!isset($_POST['Amount'])) { - $_POST['Amount']=0; - } - - echo '<tr> - <td>' . _('Amount') . ':</td> - <td><input type="text" class="number" name="Amount" size="12" maxlength="11" value="' . locale_number_format($_POST['Amount'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></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>'; - - 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="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 - - 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 -} -include('includes/footer.inc'); +<?php +/* $Id$*/ + +include('includes/session.inc'); +$title = _('Assignment of Cash to Petty Cash Tab'); +include('includes/header.inc'); + +if (isset($_POST['SelectedTabs'])){ + $SelectedTabs = mb_strtoupper($_POST['SelectedTabs']); +} elseif (isset($_GET['SelectedTabs'])){ + $SelectedTabs = mb_strtoupper($_GET['SelectedTabs']); +} + +if (isset($_POST['SelectedIndex'])){ + $SelectedIndex = $_POST['SelectedIndex']; +} elseif (isset($_GET['SelectedIndex'])){ + $SelectedIndex = $_GET['SelectedIndex']; +} + +if (isset($_POST['Days'])){ + $Days = $_POST['Days']; +} elseif (isset($_GET['Days'])){ + $Days = $_GET['Days']; +} + +if (isset($_POST['Cancel'])) { + unset($SelectedTabs); + unset($SelectedIndex); + unset($Days); + unset($_POST['Amount']); + unset($_POST['Notes']); + unset($_POST['Receipt']); +} + +if (isset($_POST['process'])) { + if ($SelectedTabs=='') { + prnMsg(_('You Must First Select a Petty Cash Tab To Assign Cash'),'error'); + unset($SelectedTabs); + } +} + +if (isset($_POST['Go'])) { + $InputError = 0; + if ($Days<=0) { + $InputError = 1; + prnMsg(_('The number of days must be a positive number'),'error'); + $Days=30; + } +} + +if (isset($_POST['submit'])) { + //initialise no input errors assumed initially before we test + $InputError = 0; + + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('Search') . '" alt="" />' . ' ' . $title. '</p>'; + + /* actions to take once the user has clicked the submit button + ie the page has called itself with some user input */ + + $i=1; + + if ($_POST['Amount']==0) { + $InputError = 1; + prnMsg('<br />' . _('The Amount must be input'),'error'); + } + + $sqlLimit = "SELECT tablimit + FROM pctabs + WHERE tabcode='" . $SelectedTabs . "'"; + + $ResultLimit = DB_query($sqlLimit,$db); + $Limit=DB_fetch_array($ResultLimit); + + if (($_POST['CurrentAmount']+$_POST['Amount'])>$Limit['tablimit']){ + prnMsg(_('The balance after this assignment would be greater than the specified limit for this PC tab'),'warning'); + } + + if ($InputError !=1 AND isset($SelectedIndex) ) { + + $sql = "UPDATE pcashdetails + SET date = '".FormatDateForSQL($_POST['Date'])."', + amount = '" . filter_number_format($_POST['Amount']) . "', + authorized = '0000-00-00', + notes = '" . $_POST['Notes'] . "', + receipt = '" . $_POST['Receipt'] . "' + WHERE counterindex = '" . $SelectedIndex . "'"; + $msg = _('Assignment of cash to PC Tab ') . ' ' . $SelectedTabs . ' ' . _('has been updated'); + + } elseif ($InputError !=1 ) { + // Add new record on submit + $sql = "INSERT INTO pcashdetails + (counterindex, + tabcode, + date, + codeexpense, + amount, + authorized, + posted, + notes, + receipt) + VALUES ('', + '" . $_POST['SelectedTabs'] . "', + '".FormatDateForSQL($_POST['Date'])."', + 'ASSIGNCASH', + '" . filter_number_format($_POST['Amount']) . "', + authorized = '0000-00-00', + '0', + '" . $_POST['Notes'] . "', + '" . $_POST['Receipt'] . "' + )"; + $msg = _('Assignment of cash to PC Tab ') . ' ' . $_POST['SelectedTabs'] . ' ' . _('has been created'); + } + + if ( $InputError !=1) { + //run the SQL from either of the above possibilites + $result = DB_query($sql,$db); + prnMsg($msg,'success'); + unset($_POST['SelectedExpense']); + unset($_POST['Amount']); + unset($_POST['Notes']); + unset($_POST['Receipt']); + unset($_POST['SelectedTabs']); + unset($_POST['Date']); + } + +} elseif ( isset($_GET['delete']) ) { + + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('Search') . '" alt="">' . ' ' . $title. '</p>'; + $sql="DELETE FROM pcashdetails + WHERE counterindex='" . $SelectedIndex . "'"; + $ErrMsg = _('The assignment of cash record could not be deleted because'); + $result = DB_query($sql,$db,$ErrMsg); + prnMsg(_('Assignment of cash to PC Tab ') . ' ' . $SelectedTabs . ' ' . _('has been deleted') ,'success'); + unset($_GET['delete']); +} + +if (!isset($SelectedTabs)){ + + /* It could still be the second time the page has been run and a record has been selected for modification - SelectedTabs will exist because it was sent with the new call. If its the first time the page has been displayed with no parameters + then none of the above are true and the list of sales types will be displayed with + links to delete or edit each. These will call the same page again and allow update/input + or deletion of the records*/ + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('Search') . '" alt="" />' . ' ' . $title. '</p>'; + + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<p><table class="selection">'; //Main table + + echo '<tr><td>' . _('Petty Cash Tab To Assign Cash') . ':</td> + <td><select name="SelectedTabs">'; + + DB_free_result($result); + $SQL = "SELECT tabcode + FROM pctabs + WHERE assigner='" . $_SESSION['UserID'] . "' + ORDER BY tabcode"; + + $result = DB_query($SQL,$db); + + while ($myrow = DB_fetch_array($result)) { + if (isset($_POST['SelectTabs']) and $myrow['tabcode']==$_POST['SelectTabs']) { + echo '<option selected="selected" value="'; + } else { + echo '<option value="'; + } + echo $myrow['tabcode'] . '">' . $myrow['tabcode'] . '</option>'; + } + + 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 '</form>'; +} + +//end of ifs and buts! +if (isset($_POST['process']) OR isset($SelectedTabs)) { + + if (!isset($_POST['submit'])) { + echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . + _('Search') . '" alt="" />' . ' ' . $title. '</p>'; + } + echo '<p><div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Select another tab') . '<a/></div></p>'; + + + + if (! isset($_GET['edit']) OR isset ($_POST['GO'])){ + + if (isset($_POST['Cancel'])) { + unset($_POST['Amount']); + unset($_POST['Date']); + unset($_POST['Notes']); + unset($_POST['Receipt']); + } + + if(!isset ($Days)){ + $Days=30; + } + + /* Retrieve decimal places to display */ + $SqlDecimalPlaces="SELECT decimalplaces + FROM currencies,pctabs + WHERE currencies.currabrev = pctabs.currency + AND tabcode='" . $SelectedTabs . "'"; + $result = DB_query($SqlDecimalPlaces,$db); + $myrow=DB_fetch_array($result); + $CurrDecimalPlaces = $myrow['decimalplaces']; + + $sql = "SELECT * FROM pcashdetails + WHERE tabcode='" . $SelectedTabs . "' + AND date >=DATE_SUB(CURDATE(), INTERVAL " . $Days . " DAY) + ORDER BY date, counterindex ASC"; + $result = DB_query($sql,$db); + + echo '<table class="selection">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + 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 '</th></tr></form>'; + echo '<tr> + <th>' . _('Date') . '</th> + <th>' . _('Expense Code') . '</th> + <th>' . _('Amount') . '</th> + <th>' . _('Authorised') . '</th> + <th>' . _('Notes') . '</th> + <th>' . _('Receipt') . '</th> + </tr>'; + + $k=0; //row colour counter + + while ($myrow = DB_fetch_array($result)) { + if ($k==1){ + echo '<tr class="EvenTableRows">'; + $k=0; + } else { + echo '<tr class="OddTableRows">'; + $k=1; + } + + $sqldes="SELECT description + FROM pcexpenses + WHERE codeexpense='". $myrow['3'] . "'"; + + $ResultDes = DB_query($sqldes,$db); + $Description=DB_fetch_array($ResultDes); + + if (!isset($Description['0'])){ + $Description['0']='ASSIGNCASH'; + } + + if (($myrow['authorized'] == '0000-00-00') and ($Description['0'] == 'ASSIGNCASH')){ + // only cash assignations NOT authorized can be modified or deleted + echo '<td>' . ConvertSQLDate($myrow['date']) . '</td> + <td>' . $Description['0'] . '</td> + <td class="number">' . locale_number_format($myrow['amount'],$CurrDecimalPlaces) . '</td> + <td>' . ConvertSQLDate($myrow['authorized']) . '</td> + <td>' . $myrow['notes'] . '</td> + <td>' . $myrow['receipt'] . '</td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedIndex=' . $myrow['counterindex'] . '&SelectedTabs=' . + $SelectedTabs . '&Days=' . $Days . '&edit=yes">' . _('Edit') . '</td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedIndex=' . $myrow['counterindex'] . '&SelectedTabs=' . + $SelectedTabs . '&Days=' . $Days . '&delete=yes" onclick="return confirm("' . + _('Are you sure you wish to delete this code and the expense it may have set up?') . '");">' . + _('Delete') . '</td> + </tr>'; + }else{ + echo '<td>' . ConvertSQLDate($myrow['date']) . '</td> + <td>' . $Description['0'] . '</td> + <td class="number">' . locale_number_format($myrow['amount'],$CurrDecimalPlaces).'</td> + <td>' . ConvertSQLDate($myrow['authorized']) . '</td> + <td>' . $myrow['notes'] . '</td> + <td>' . $myrow['receipt'] . '</td> + </tr>'; + } + } + //END WHILE LIST LOOP + + $sqlamount="SELECT sum(amount) + FROM pcashdetails + WHERE tabcode='".$SelectedTabs."'"; + + $ResultAmount = DB_query($sqlamount,$db); + $Amount=DB_fetch_array($ResultAmount); + + if (!isset($Amount['0'])) { + $Amount['0']=0; + } + + echo '<tr> + <td colspan="2" style="text-align:right"><b>' . _('Current balance') . ':</b></td> + <td>' . locale_number_format($Amount['0'],$CurrDecimalPlaces) . '</td></tr>'; + + echo '</table>'; + + } + + if (! isset($_GET['delete'])) { + + if (!isset($Amount['0'])) { + $Amount['0']=0; + } + + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') .'">'; + echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + echo '<p><table class="selection">'; //Main table + if (isset($_GET['SelectedIndex'])) { + echo '<tr><th colspan="2"><font color=blue size="3">'._('Update Cash Assignment').'</font></th></tr>'; + } else { + echo '<tr><th colspan="2"><font color=blue size="3">'._('New Cash Assignment').'</font></th></tr>'; + } + if ( isset($_GET['edit'])) { + + $sql = "SELECT * FROM pcashdetails + WHERE counterindex='".$SelectedIndex."'"; + + $result = DB_query($sql, $db); + $myrow = DB_fetch_array($result); + + $_POST['Date'] = ConvertSQLDate($myrow['date']); + $_POST['SelectedExpense'] = $myrow['codeexpense']; + $_POST['Amount'] = $myrow['amount']; + $_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="CurrentAmount" value="' . $Amount[0]. '" />'; + echo '<input type="hidden" name="Days" value="' . $Days . '" />'; + } + +/* Ricard: needs revision of this date initialization */ + if (!isset($_POST['Date'])) { + $_POST['Date']=Date('d/m/Y'); + } + + echo '<tr><td>' . _('Cash Assignation Date') . ':</td>'; + + echo '<td><input type="text" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" name="Date" size="10" maxlength="10" value="' . $_POST['Date'] . '" /></td></tr>'; + + + if (!isset($_POST['Amount'])) { + $_POST['Amount']=0; + } + + echo '<tr> + <td>' . _('Amount') . ':</td> + <td><input type="text" class="number" name="Amount" size="12" maxlength="11" value="' . locale_number_format($_POST['Amount'],$CurrDecimalPlaces) . '" /></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>'; + + 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="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 + + 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 +} + +include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/PcClaimExpensesFromTab.php =================================================================== --- trunk/PcClaimExpensesFromTab.php 2012-03-31 09:24:30 UTC (rev 5176) +++ trunk/PcClaimExpensesFromTab.php 2012-03-31 14:33:23 UTC (rev 5177) @@ -186,6 +186,16 @@ if(!isset ($Days)){ $Days=30; } + + /* Retrieve decimal places to display */ + $SqlDecimalPlaces="SELECT decimalplaces + FROM currencies,pctabs + WHERE currencies.currabrev = pctabs.currency + AND tabcode='" . $SelectedTabs . "'"; + $result = DB_query($SqlDecimalPlaces,$db); + $myrow=DB_fetch_array($result); + $CurrDecimalPlaces = $myrow['decimalplaces']; + 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') . '" />'; @@ -254,7 +264,7 @@ </tr>', ConvertSQLDate($myrow['2']), $Description['0'], - locale_number_format($myrow['4'],$_SESSION['CompanyRecord']['decimalplaces']), + locale_number_format($myrow['4'],$CurrDecimalPlaces), $AuthorisedDate, $myrow['7'], $myrow['8'], @@ -270,7 +280,7 @@ </tr>', ConvertSQLDate($myrow['2']), $Description['0'], - locale_number_format($myrow['4'],$_SESSION['CompanyRecord']['decimalplaces']), + locale_number_format($myrow['4'],$CurrDecimalPlaces), $AuthorisedDate, $myrow['7'], $myrow['8']); @@ -292,7 +302,7 @@ } echo '<tr><td colspan="2" style="text-align:right" >' . _('Current balance') . ':</td> - <td class="number">'.locale_number_format($Amount['0'],$_SESSION['CompanyRecord']['decimalplaces']) . '</td></tr>'; + <td class="number">'.locale_number_format($Amount['0'],$CurrDecimalPlaces) . '</td></tr>'; echo '</table>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vv...@us...> - 2012-04-01 02:42:55
|
Revision: 5185 http://web-erp.svn.sourceforge.net/web-erp/?rev=5185&view=rev Author: vvs2012 Date: 2012-04-01 02:42:45 +0000 (Sun, 01 Apr 2012) Log Message: ----------- xhtml Modified Paths: -------------- trunk/GLAccountCSV.php trunk/GLAccountInquiry.php trunk/GLAccountReport.php trunk/GLAccounts.php trunk/GLBalanceSheet.php trunk/GLBudgets.php trunk/GLCodesInquiry.php trunk/GLJournal.php trunk/GLProfit_Loss.php trunk/GLTagProfit_Loss.php trunk/GLTags.php trunk/GLTransInquiry.php trunk/GLTrialBalance.php trunk/GeocodeSetup.php trunk/GoodsReceived.php trunk/GoodsReceivedControlled.php trunk/Labels.php trunk/MRP.php trunk/PDFCustomerList.php trunk/PDFPriceList.php trunk/PDFPrintLabel.php trunk/PDFRemittanceAdvice.php trunk/PDFStockCheckComparison.php trunk/PO_SelectOSPurchOrder.php trunk/PcAuthorizeExpenses.php trunk/PcReportTab.php trunk/PricesBasedOnMarkUp.php trunk/PricesByCost.php trunk/PrintCustStatements.php trunk/SalesGraph.php trunk/SecurityTokens.php trunk/SelectCustomer.php trunk/SelectSupplier.php trunk/SelectWorkOrder.php trunk/StockSerialItemResearch.php trunk/WhereUsedInquiry.php trunk/WorkCentres.php trunk/WorkOrderEntry.php trunk/WorkOrderIssue.php trunk/Z_RePostGLFromPeriod.php trunk/Z_UpdateChartDetailsBFwd.php trunk/doc/Manual/ManualContents.php trunk/includes/InputSerialItemsExisting.php Modified: trunk/GLAccountCSV.php =================================================================== --- trunk/GLAccountCSV.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLAccountCSV.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -18,7 +18,8 @@ echo '<div class="page_help_text">' . _('Use the keyboard Shift key to select multiple accounts and periods') . '</div><br />'; -echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*Dates in SQL format for the last day of last month*/ @@ -28,22 +29,22 @@ echo '<table> <tr> <td>'._('Selected Accounts') . ':</td> - <td><select name="Account[]" multiple>'; + <td><select name="Account[]" size="12" multiple="multiple">'; $sql = "SELECT accountcode, accountname FROM chartmaster ORDER BY accountcode"; $AccountsResult = DB_query($sql,$db); $i=0; while ($myrow=DB_fetch_array($AccountsResult,$db)){ if(isset($_POST['Account'][$i]) AND $myrow['accountcode'] == $_POST['Account'][$i]){ - echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' ' . $myrow['accountname'] . '</option>'; + echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' ' . htmlspecialchars($myrow['accountname'], ENT_QUOTES, 'UTF-8') . '</option>'; $i++; } else { - echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' ' . $myrow['accountname'] . '</option>'; + echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' ' . htmlspecialchars($myrow['accountname'], ENT_QUOTES, 'UTF-8') . '</option>'; } } echo '</select></td>'; echo '<td>'._('For Period range').':</td> - <td><select name="Period[]" multiple>'; + <td><select name="Period[]" size="12" multiple="multiple">'; $sql = "SELECT periodno, lastdate_in_period FROM periods ORDER BY periodno DESC"; $Periods = DB_query($sql,$db); $id=0; @@ -67,7 +68,7 @@ ORDER BY tagref"; $result=DB_query($SQL,$db); -echo '<option value="0">0 - '._('All tags'); +echo '<option value="0">0 - ' . _('All tags') . '</option>'; while ($myrow=DB_fetch_array($result)){ if (isset($_POST['tag']) and $_POST['tag']==$myrow['tagref']){ echo '<option selected="selected" value="' . $myrow['tagref'] . '">' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; @@ -78,8 +79,9 @@ echo '</select></td></tr>'; // End select tag -echo '</table><p> +echo '</table><br /> <div class="centre"><input type="submit" name="MakeCSV" value="'._('Make CSV File').'" /></div> + </div> </form>'; /* End of the Form rest of script is what happens if the show button is hit*/ Modified: trunk/GLAccountInquiry.php =================================================================== --- trunk/GLAccountInquiry.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLAccountInquiry.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -23,7 +23,8 @@ echo '<div class="page_help_text">' . _('Use the keyboard Shift key to select multiple periods') . '</div><br />'; -echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*Dates in SQL format for the last day of last month*/ @@ -35,9 +36,9 @@ $Account = DB_query($sql,$db); while ($myrow=DB_fetch_array($Account,$db)){ if($myrow['accountcode'] == $SelectedAccount){ - echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' ' . $myrow['accountname']; + echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' ' . htmlspecialchars($myrow['accountname'], ENT_QUOTES, 'UTF-8') . '</option>'; } else { - echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' ' . $myrow['accountname']; + echo '<option value="' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . ' ' . htmlspecialchars($myrow['accountname'], ENT_QUOTES, 'UTF-8') . '</option>'; } } echo '</select></td></tr>'; @@ -51,30 +52,32 @@ ORDER BY tagref"; $result=DB_query($SQL,$db); -echo '<option value="0">0 - '._('All tags'); +echo '<option value="0">0 - '._('All tags') . '</option>'; while ($myrow=DB_fetch_array($result)){ if (isset($_POST['tag']) and $_POST['tag']==$myrow['tagref']){ - echo '<option selected="selected" value="' . $myrow['tagref'] . '">' . $myrow['tagref'].' - ' .$myrow['tagdescription']; + echo '<option selected="selected" value="' . $myrow['tagref'] . '">' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; } else { - echo '<option value="' . $myrow['tagref'] . '">' . $myrow['tagref'].' - ' .$myrow['tagdescription']; + echo '<option value="' . $myrow['tagref'] . '">' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; } } echo '</select></td></tr>'; // End select tag -echo '<tr> <td>'._('For Period range').':</td><td><select name=Period[] multiple>'; +echo '<tr> <td>'._('For Period range').':</td><td><select name="Period[]" size="12" multiple="multiple">'; $sql = "SELECT periodno, lastdate_in_period FROM periods ORDER BY periodno DESC"; $Periods = DB_query($sql,$db); $id=0; while ($myrow=DB_fetch_array($Periods,$db)){ if(isset($SelectedPeriod[$id]) and $myrow['periodno'] == $SelectedPeriod[$id]){ - echo '<option selected="selected" value="' . $myrow['periodno'] . '">' . _(MonthAndYearFromSQLDate($myrow['lastdate_in_period'])); + echo '<option selected="selected" value="' . $myrow['periodno'] . '">' . _(MonthAndYearFromSQLDate($myrow['lastdate_in_period'])) . '</option>'; $id++; } else { - echo '<option value="' . $myrow['periodno'] . '">' . _(MonthAndYearFromSQLDate($myrow['lastdate_in_period'])); + echo '<option value="' . $myrow['periodno'] . '">' . _(MonthAndYearFromSQLDate($myrow['lastdate_in_period'])) . '</option>'; } } -echo '</select></td></tr><table>'; -echo '<p><div class="centre"><input type="submit" name="Show" value="'._('Show Account Transactions').'" /></div></form>'; +echo '</select></td></tr></table>'; +echo '<br /><div class="centre"><input type="submit" name="Show" value="'._('Show Account Transactions').'" /></div> + </div> + </form>'; /* End of the Form rest of script is what happens if the show button is hit*/ Modified: trunk/GLAccountReport.php =================================================================== --- trunk/GLAccountReport.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLAccountReport.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -221,7 +221,7 @@ echo '<div class="page_help_text">' . _('Use the keyboard Shift key to select multiple accounts and periods') . '</div><br />'; - echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; /*Dates in SQL format for the last day of last month*/ @@ -231,7 +231,7 @@ echo '<table> <tr> <td>'._('Selected Accounts') . ':</td> - <td><select name="Account[]" multiple>'; + <td><select name="Account[]" multiple="multiple">'; $sql = "SELECT accountcode, accountname FROM chartmaster ORDER BY accountcode"; $AccountsResult = DB_query($sql,$db); $i=0; @@ -246,7 +246,7 @@ echo '</select></td>'; echo '<td>'._('For Period range').':</td> - <td><select Name=Period[] multiple>'; + <td><select Name=Period[] multiple="multiple">'; $sql = "SELECT periodno, lastdate_in_period FROM periods ORDER BY periodno DESC"; $Periods = DB_query($sql,$db); $id=0; Modified: trunk/GLAccounts.php =================================================================== --- trunk/GLAccounts.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLAccounts.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -207,7 +207,8 @@ if (!isset($_GET['delete'])) { - echo '<form method="post" name="GLAccounts" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form method="post" id="GLAccounts" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($SelectedAccount)) { @@ -240,7 +241,7 @@ $sql = 'SELECT groupname FROM accountgroups ORDER BY sequenceintb'; $result = DB_query($sql, $db); - echo '<tr><td>' . _('Account Group') . ':</td><td><select name=Group>'; + echo '<tr><td>' . _('Account Group') . ':</td><td><select name="Group">'; while ($myrow = DB_fetch_array($result)){ if (isset($_POST['Group']) and $myrow[0]==$_POST['Group']){ @@ -250,17 +251,16 @@ } echo $myrow[0] . '">' . $myrow[0] . '</option>'; } + echo '</select></td></tr></table>'; if (!isset($_GET['SelectedAccount']) or $_GET['SelectedAccount']=='') { - echo '<script>defaultControl(document.GLAccounts.AccountCode);</script>'; + echo '<script type="text/javascript">defaultControl(document.GLAccounts.AccountCode);</script>'; } else { - echo '<script>defaultControl(document.GLAccounts.AccountName);</script>'; + echo '<script type="text/javascript">defaultControl(document.GLAccounts.AccountName);</script>'; } - echo '</select></td></tr></table>'; - echo '<br /><div class="centre"><input type="submit" name="submit" value="'. _('Enter Information') . '" /></div>'; - + echo '</div>'; echo '</form>'; } //end if record deleted no point displaying form to add record @@ -309,11 +309,11 @@ <td>%s</td> <td>%s</td> <td>%s</td> - <td><a href=\"%s&SelectedAccount=%s\">" . _('Edit') . "</td> - <td><a href=\"%s&SelectedAccount=%s&delete=1\" onclick=\"return confirm('" . _('Are you sure you wish to delete this account? Additional checks will be performed in any event to ensure data integrity is not compromised.') . "');\">" . _('Delete') . "</td> + <td><a href=\"%s&SelectedAccount=%s\">" . _('Edit') . "</a></td> + <td><a href=\"%s&SelectedAccount=%s&delete=1\" onclick=\"return confirm('" . _('Are you sure you wish to delete this account? Additional checks will be performed in any event to ensure data integrity is not compromised.') . "');\">" . _('Delete') . "</a></td> </tr>", $myrow[0], - $myrow[1], + htmlspecialchars($myrow[1],ENT_QUOTES,'UTF-8'), $myrow[2], $myrow[3], htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?', @@ -328,13 +328,11 @@ //end of ifs and buts! -echo '<p>'; +echo '<br />'; if (isset($SelectedAccount)) { echo '<div class="centre"><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">' . _('Show All Accounts') . '</a></div>'; } -echo '<p />'; - include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/GLBalanceSheet.php =================================================================== --- trunk/GLBalanceSheet.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLBalanceSheet.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -367,16 +367,16 @@ <table class="selection"> <tr> <th colspan="6"> - <div class="centre"><font size="4" color="blue"><b>' . - _('Balance Sheet as at') . ' ' . $BalanceDate .'</b></font> + <div class="centre"><h1>' . + _('Balance Sheet as at') . ' ' . $BalanceDate .'</h1> </div> </th> </tr>'; if ($_POST['Detail']=='Detailed'){ $TableHeader = '<tr> - <th>'._('Account').'</td> - <th>'._('Account Name').'</td> + <th>'._('Account').'</th> + <th>'._('Account Name').'</th> <th colspan="2">' . $BalanceDate . '</th> <th colspan="2">'._('Last Year').'</th> </tr>'; @@ -428,10 +428,11 @@ <td></td> </tr>'; } - printf('<td colspan="2"><I>%s</I></td> - <td class="number">%s</td> - <td></td> - <td class="number">%s</td> + printf('<tr> + <td colspan="2"><I>%s</I></td> + <td class="number">%s</td> + <td></td> + <td class="number">%s</td> </tr>', $ParentGroups[$Level], locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), @@ -453,10 +454,11 @@ </tr>'; } - printf('<td colspan="2">%s</td> - <td class="number">%s</td> - <td></td> - <td class="number">%s</td> + printf('<tr> + <td colspan="2">%s</td> + <td class="number">%s</td> + <td></td> + <td class="number">%s</td> </tr>', $ParentGroups[$Level], locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), @@ -489,7 +491,7 @@ } printf('<tr> - <td colspan="3"><font size="4">%s</font></td> + <td colspan="3"><h2>%s</h2></td> <td class="number">%s</td> <td></td> <td class="number">%s</td> @@ -506,7 +508,7 @@ if ($_POST['Detail']=='Detailed'){ printf('<tr> - <td colspan="6"><font size="4" color="blue"><b>%s</b></font></td> + <td colspan="6"><h1>%s</h1></td> </tr>', $Sections[$myrow['sectioninaccounts']]); } @@ -521,7 +523,7 @@ if ($_POST['Detail']=='Detailed'){ $ActGrp = $myrow['groupname']; printf('<tr> - <td colspan="6"><font size="2" color="blue"><b>%s</b></font></td> + <td colspan="6"><h3>%s</h3></td> </tr>', $myrow['groupname']); echo $TableHeader; @@ -546,14 +548,14 @@ if ($_POST['Detail']=='Detailed'){ if ($k==1){ - echo '<tr class="EvenTableRows">'; + echo '<tr class="OddTableRows">'; $k=0; } else { echo '<tr class="EvenTableRows">'; $k++; } - $ActEnquiryURL = '<a href="' . $rootpath . '/GLAccountInquiry.php?Period=' . $_POST['BalancePeriodEnd'] . '&Account=' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . '</a>'; + $ActEnquiryURL = '<a href="' . $rootpath . '/GLAccountInquiry.php?Period=' . $_POST['BalancePeriodEnd'] . '&Account=' . $myrow['accountcode'] . '">' . $myrow['accountcode'] . '</a>'; printf('<td>%s</td> <td>%s</td> @@ -563,7 +565,7 @@ <td></td> </tr>', $ActEnquiryURL, - $myrow['accountname'], + htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8'), locale_number_format($AccountBalance,$_SESSION['CompanyRecord']['decimalplaces']), locale_number_format($LYAccountBalance,$_SESSION['CompanyRecord']['decimalplaces'])); $j++; @@ -581,10 +583,11 @@ <td></td> </tr>'; } - printf('<td colspan="2"><I>%s</I></td> - <td class="number">%s</td> - <td></td> - <td class="number">%s</td> + printf('<tr> + <td colspan="2"><I>%s</I></td> + <td class="number">%s</td> + <td></td> + <td class="number">%s</td> </tr>', $ParentGroups[$Level], locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), @@ -602,11 +605,12 @@ </tr>'; } - printf('<td colspan="2">%s</td> - <td class="number">%s</td> - <td></td> - <td class="number">%s</td> - </tr>', + printf('<tr> + <td colspan="2">%s</td> + <td class="number">%s</td> + <td></td> + <td class="number">%s</td> + </tr>', $ParentGroups[$Level], locale_number_format($GroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']), locale_number_format($LYGroupTotal[$Level],$_SESSION['CompanyRecord']['decimalplaces']) @@ -630,7 +634,7 @@ } printf('<tr> - <td colspan="3">%s</td> + <td colspan="3"><h2>%s</h2></td> <td class="number">%s</td> <td></td> <td class="number">%s</td> @@ -643,7 +647,7 @@ if (isset($myrow['sectioninaccounts']) and $_POST['Detail']=='Detailed'){ printf('<tr> - <td colspan="6"><font size="4" color="blue"><b>%s</b></font></td> + <td colspan="6"><h1>%s</h1></td> </tr>', $Sections[$myrow['sectioninaccounts']]); } @@ -656,7 +660,7 @@ </tr>'; printf('<tr> - <td colspan="3">'._('Check Total').'</font></td> + <td colspan="3"><h2>'._('Check Total').'</h2></td> <td class="number">%s</td> <td></td> <td class="number">%s</td> @@ -672,6 +676,7 @@ </tr>'; echo '</table>'; + echo '</div>'; echo '<br /><div class="centre"><input type="submit" name="SelectADifferentPeriod" value="'._('Select A Different Balance Date').'" /></div>'; echo '</div></form>'; } Modified: trunk/GLBudgets.php =================================================================== --- trunk/GLBudgets.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLBudgets.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -28,11 +28,11 @@ echo '<p class="page_title_text"> <img src="'.$rootpath.'/css/'.$theme.'/images/maintenance.png" title="' . _('Search') . '" alt="" />' . ' ' . $title.' </p>'; -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" name="selectaccount">'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" id="selectaccount">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; -echo '<table>'; - -echo '<br /> +echo '<br />'; +echo '<table> <tr> <td>'. _('Select GL Account'). ':</td> <td><select name="SelectedAccount" onchange="ReloadForm(selectaccount.Select)">'; @@ -49,7 +49,7 @@ prnMsg(_('No General ledger accounts have been set up yet') . ' - ' . _('budgets cannot be allocated until the GL accounts are set up'),'warn'); } else { while ($myrow=DB_fetch_array($result)){ - $Account = $myrow['accountcode'] . ' - ' . $myrow['accountname']; + $Account = $myrow['accountcode'] . ' - ' . htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8'); if (isset($SelectedAccount) AND isset($LastCode) AND $SelectedAccount==$myrow['accountcode']){ echo '<option selected="selected" value="' . $myrow['accountcode'] . '">' . $Account . '</option>'; $PrevCode=$LastCode; @@ -68,9 +68,10 @@ if (!isset($PrevCode)) {$PrevCode='';} if (!isset($NextCode)) {$NextCode='';} +echo '</table>'; echo '<input type="hidden" name="PrevAccount" value="'.$PrevCode.'" />'; echo '<input type="hidden" name="NextAccount" value="'.$NextCode.'" />'; -echo '</table>'; + echo '<br /> <table> <tr> @@ -80,6 +81,7 @@ </tr> </table> <br /> + </div> </form>'; // End of account selection @@ -157,7 +159,8 @@ // Table Headers - echo '<form name="form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<form id="form" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /> <table class="selection"> @@ -217,8 +220,8 @@ <tr> <td colspan="2">'._('Annual Budget').'</td> <td><input class="number" type="text" size="14" name="AnnualAmountLY" value="0.00" /></td> - </td><td> <td></td> + <td></td> <td><input class="number" type="text" size="14" name="AnnualAmountTY" value="0.00" /></td> <td></td> <td><input onchange="numberFormat(this,2)" class="number" type="text" size="14" name="AnnualAmount" value="0.00" /></td> @@ -228,12 +231,12 @@ echo '<input type="hidden" name="SelectedAccount" value="'.$SelectedAccount.'" />'; - echo '<script>defaultControl(document.form.1next);</script>'; + echo '<script type="text/javascript">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> - + </div> </form>'; $SQL="SELECT MIN(periodno) FROM periods"; Modified: trunk/GLCodesInquiry.php =================================================================== --- trunk/GLCodesInquiry.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLCodesInquiry.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -20,11 +20,11 @@ /*show a table of the orders returned by the SQL */ -echo '<table cellpadding="2" colspan="2"> +echo '<table cellpadding="2"> <tr> - <th>' . _('Group') . '</font></th> - <th>' . _('Code') . '</font></th> - <th>' . _('Account Name') . '</font></th> + <th><h3>' . _('Group') . '</h3></th> + <th><h3>' . _('Code') . '</h3></th> + <th><h3>' . _('Account Name') . '</h3></th> </tr>'; $j = 1; @@ -42,20 +42,20 @@ if ($myrow['group_']== $ActGrp){ printf('<td></td> - <td><font size="2">%s</font></td> - <td><font size="2">%s</font></td> - </tr>', - $myrow['accountcode'], - $myrow['accountname']); + <td>%s</td> + <td>%s</td> + </tr>', + $myrow['accountcode'], + htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8')); } else { $ActGrp = $myrow['group_']; - printf('<td><font size="2">%s</font></td> - <td><font size="2">%s</font></td> - <td><font size="2">%s</font></td> - </tr>', - $myrow['group_'], - $myrow['accountcode'], - $myrow['accountname']); + printf('<td><b>%s</b></td> + <td>%s</td> + <td>%s</td> + </tr>', + $myrow['group_'], + $myrow['accountcode'], + htmlspecialchars($myrow['accountname'],ENT_QUOTES,'UTF-8')); } } //end of while loop Modified: trunk/GLJournal.php =================================================================== --- trunk/GLJournal.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLJournal.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -239,7 +239,8 @@ } -echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" name="form">'; +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post" id="form">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"> @@ -254,8 +255,8 @@ } echo '<table> - <tr> - <td colspan="5"><table class="selection"> + <tr> + <td colspan="5"><table class="selection"> <tr> <td>'._('Date to Process Journal') . ':</td> <td><input type="text" class="date" alt="' . $_SESSION['DefaultDateFormat'] . '" name="JournalProcessDate" maxlength="10" size="11" value="' . $_SESSION['JournalDetail']->JnlDate . '" /></td> @@ -281,7 +282,7 @@ echo '<tr> <th colspan="3"> - <div class="centre"><font size="3" color="blue"><b>' . _('Journal Line Entry') . '</b></font></div> + <div class="centre"><h2>' . _('Journal Line Entry') . '</h2></div> </th> </tr>'; @@ -350,11 +351,11 @@ echo '</tr> <tr> <th>' . _('Debit') . '</th> - <td><input type="text" class="number" name = "Debit" onchange="eitherOr(this, '.'Credit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Debit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> + <td><input type="text" class="number" name="Debit" onchange="eitherOr(this, '.'Credit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Debit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> </tr> <tr> <th>' . _('Credit') . '</th> - <td><input type="text" class="number" Name = "Credit" onchange="eitherOr(this, '.'Debit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Credit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> + <td><input type="text" class="number" name="Credit" onchange="eitherOr(this, '.'Debit'.')" maxlength="12" size="10" value="' . locale_number_format($_POST['Credit'],$_SESSION['CompanyRecord']['decimalplaces']) . '" /></td> </tr> <tr> <td></td> @@ -376,7 +377,7 @@ echo '<table class="selection" width="85%"> <tr> - <th colspan="6"><div class="centre"><font size="3" color="blue"><b>' . _('Journal Summary') . '</b></font></div></th> + <th colspan="6"><div class="centre"><h2>' . _('Journal Summary') . '</h2></div></th> </tr> <tr> <th>'._('GL Tag').'</th> @@ -432,7 +433,7 @@ <td class="number"><b>' . locale_number_format($CreditTotal,$_SESSION['CompanyRecord']['decimalplaces']) . '</b></td> </tr>'; if ($DebitTotal!=$CreditTotal) { - echo '<td align="center" style="background-color: #fddbdb"><b>' . _('Required to balance') .' - </b>' . + echo '<tr><td align="center" style="background-color: #fddbdb"><b>' . _('Required to balance') .' - </b>' . locale_number_format(abs($DebitTotal-$CreditTotal),$_SESSION['CompanyRecord']['decimalplaces']); } if ($DebitTotal>$CreditTotal) { @@ -440,7 +441,10 @@ } else if ($DebitTotal<$CreditTotal) { echo ' ' . _('Debit') . '</td></tr>'; } -echo '</table>'; +echo '</table> + </td> + </tr> + </table>'; if (abs($_SESSION['JournalDetail']->JournalTotal)<0.001 AND $_SESSION['JournalDetail']->GLItemCounter > 0){ echo '<br /> @@ -455,11 +459,11 @@ } if (!isset($_GET['NewJournal']) or $_GET['NewJournal']=='') { - echo '<script>defaultControl(document.form.GLManualCode);</script>'; + echo '<script type="text/javascript">defaultControl(document.form.GLManualCode);</script>'; } else { - echo '<script>defaultControl(document.form.JournalProcessDate);</script>'; + echo '<script type="text/javascript">defaultControl(document.form.JournalProcessDate);</script>'; } - +echo '</div>'; echo '</form>'; include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/GLProfit_Loss.php =================================================================== --- trunk/GLProfit_Loss.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLProfit_Loss.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -21,13 +21,14 @@ echo '<p class="page_title_text"> <img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . _('Print Profit and Loss Report') . ' </p>'; - echo '<div class="page_help_text">' . _('Profit and loss statement (P&L), also called an Income Statment, or Statement of Operations, this is the statement that indicates how the revenue (money received from the sale of products and services before expenses are taken out, also known as the "top line") is transformed into the net income (the result after all revenues and expenses have been accounted for, also known as the "bottom line").') . + echo '<div class="page_help_text">' . _('Profit and loss statement (P&L), also called an Income Statment, or Statement of Operations, this is the statement that indicates how the revenue (money received from the sale of products and services before expenses are taken out, also known as the "top line") is transformed into the net income (the result after all revenues and expenses have been accounted for, also known as the "bottom line").') . '<br />' . _('The purpose of the income statement is to show whether the company made or lost money during the period being reported.') . '<br />' - . _('The P&L represents a period of time. This contrasts with the Balance Sheet, which represents a single moment in time.') . '<br />' + . _('The P&L represents a period of time. This contrasts with the Balance Sheet, which represents a single moment in time.') . '<br />' . _('webERP is an "accrual" based system (not a "cash based" system). Accrual systems include items when they are invoiced to the customer, and when expenses are owed based on the supplier invoice date.') . '</div>'; echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (Date('m') > $_SESSION['YearEnd']){ @@ -41,7 +42,7 @@ $period=GetPeriod($FromDate, $db); /*Show a form to allow input of criteria for profit and loss to show */ - echo '<p><table class="selection"> + echo '<br /><table class="selection"> <tr><td>' . _('Select Period From') . ':</td> <td><select name="FromPeriod">'; @@ -92,7 +93,7 @@ if($myrow['periodno']==$DefaultToPeriod){ echo '<option selected="selected" value="' . $myrow['periodno'] . '">' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; } else { - echo '<option value =' . $myrow['periodno'] . '>' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; + echo '<option value="' . $myrow['periodno'] . '">' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; } } echo '</select></td></tr>'; @@ -550,6 +551,7 @@ include('includes/header.inc'); echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; 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'] . '" />'; @@ -661,7 +663,7 @@ } if ($Section ==1){ /*Income */ printf('<tr> - <td colspan="2"><font size="2"><i>%s</i></font></td> + <td colspan="2"><h4><i>%s</i></h4></td> <td></td> <td class="number">%s</td> <td></td> @@ -675,7 +677,7 @@ locale_number_format(-$GrpPrdLY[$Level],$_SESSION['CompanyRecord']['decimalplaces'])); } else { /*Costs */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td class="number">%s</td> <td></td> <td class="number">%s</td> @@ -707,7 +709,7 @@ if ($Section ==1){ /*Income */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td></td> <td class="number">%s</td> <td></td> @@ -721,7 +723,7 @@ locale_number_format(-$GrpPrdLY[$Level],$_SESSION['CompanyRecord']['decimalplaces'])); } else { /*Costs */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td class="number">%s</td> <td></td> <td class="number">%s</td> @@ -782,7 +784,7 @@ <td><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="4">%s</font></td> + <td colspan="2"><h2>%s</h2></td> <td></td> <td class="number">%s</td> <td></td> @@ -801,7 +803,7 @@ <td colspan="6"><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="4">'._('Gross Profit').'</font></td> + <td colspan="2"><h2>'._('Gross Profit').'</h2></td> <td></td> <td class="number">%s</td> <td></td> @@ -833,7 +835,7 @@ <td colspan="6"><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="2"><i>'._('Gross Profit Percent').'</i></font></td> + <td colspan="2"><h4><i>'._('Gross Profit Percent').'</i></h4></td> <td></td> <td class="number"><i>%s</i></td> <td></td> @@ -855,7 +857,7 @@ if ($_POST['Detail']=='Detailed'){ printf('<tr> - <td colspan="6"><font size="4" color=BLUE><b>%s</b></font></td> + <td colspan="6"><h2><b>%s</b></h2></td> </tr>', $Sections[$myrow['sectioninaccounts']]); } @@ -911,7 +913,7 @@ $k++; } - $ActEnquiryURL = '<a href="' . $rootpath . '/GLAccountInquiry.php?Period=' . $_POST['ToPeriod'] . '&Account=' . $myrow['accountcode'] . '&Show=Yes">' . $myrow['accountcode'] . '</a>'; + $ActEnquiryURL = '<a href="' . $rootpath . '/GLAccountInquiry.php?Period=' . $_POST['ToPeriod'] . '&Account=' . $myrow['accountcode'] . '&Show=Yes">' . $myrow['accountcode'] . '</a>'; if ($Section ==1){ printf('<td>%s</td> @@ -924,7 +926,7 @@ <td class="number">%s</td> </tr>', $ActEnquiryURL, - $myrow['accountname'], + htmlspecialchars($myrow['accountname'], ENT_QUOTES,'UTF-8'), locale_number_format(-$AccountPeriodActual,$_SESSION['CompanyRecord']['decimalplaces']), locale_number_format(-$AccountPeriodBudget,$_SESSION['CompanyRecord']['decimalplaces']), locale_number_format(-$AccountPeriodLY,$_SESSION['CompanyRecord']['decimalplaces'])); @@ -939,7 +941,7 @@ <td></td> </tr>', $ActEnquiryURL, - $myrow['accountname'], + htmlspecialchars($myrow['accountname'], ENT_QUOTES,'UTF-8'), locale_number_format($AccountPeriodActual,$_SESSION['CompanyRecord']['decimalplaces']), locale_number_format($AccountPeriodBudget,$_SESSION['CompanyRecord']['decimalplaces']), locale_number_format($AccountPeriodLY,$_SESSION['CompanyRecord']['decimalplaces'])); @@ -965,7 +967,7 @@ } if ($Section ==1){ /*Income */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td></td> <td class="number">%s</td> <td></td> @@ -979,7 +981,7 @@ locale_number_format(-$GrpPrdLY[$Level]),$_SESSION['CompanyRecord']['decimalplaces']); } else { /*Costs */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td class="number">%s</td> <td></td> <td class="number">%s</td> @@ -1011,7 +1013,7 @@ if ($Section ==1){ /*Income */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td></td> <td class="number">%s</td> <td></td> @@ -1025,7 +1027,7 @@ locale_number_format(-$GrpPrdLY[$Level],$_SESSION['CompanyRecord']['decimalplaces'])); } else { /*Costs */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td class="number">%s</td> <td></td> <td class="number">%s</td> @@ -1060,7 +1062,7 @@ </tr>'; printf('<tr> - <td colspan="2"><font size="4">%s</font></td> + <td colspan="2"><h2>%s</h2></td> <td></td> <td class="number">%s</td> <td></td> @@ -1085,7 +1087,7 @@ <td><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="4">%s</font></td> + <td colspan="2"><h2>%s</h2></td> <td></td> <td class="number">%s</td> <td></td> @@ -1104,7 +1106,7 @@ <td colspan="6"><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="4">'._('Gross Profit').'</font></td> + <td colspan="2"><h2>'._('Gross Profit').'</h2></td> <td></td> <td class="number">%s</td> <td></td> @@ -1136,7 +1138,7 @@ <td colspan="6"><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="2"><i>'._('Gross Profit Percent').'</i></font></td> + <td colspan="2"><h4><i>'._('Gross Profit Percent').'</i></h4></td> <td></td> <td class="number"><i>%s</i></td> <td></td> @@ -1158,7 +1160,7 @@ if ($_POST['Detail']=='Detailed' and isset($Sections[$myrow['sectioninaccounts']])){ printf('<tr> - <td colspan="6"><font size="4" color=BLUE><b>%s</b></font></td> + <td colspan="6"><h2><b>%s</b></h2></td> </tr>', $Sections[$myrow['sectioninaccounts']]); } @@ -1172,7 +1174,7 @@ </tr>'; printf('<tr style="background-color:#ffffff"> - <td colspan="2"><font size="4" color="blue"><b>'._('Profit').' - '._('Loss').'</b></font></td> + <td colspan="2"><h2><b>'._('Profit').' - '._('Loss').'</b></h2></td> <td></td> <td class="number">%s</td> <td></td> @@ -1205,7 +1207,7 @@ </tr>'; printf('<tr> - <td colspan="2"><font size="2"><i>'._('Net Profit Percent').'</i></font></td> + <td colspan="2"><h4><i>'._('Net Profit Percent').'</i></h4></td> <td></td> <td class="number"><i>%s</i></td> <td></td> @@ -1226,6 +1228,7 @@ echo '</table>'; echo '<br /><div class="centre"><input type="submit" name="SelectADifferentPeriod" value="' . _('Select A Different Period') . '" /></div>'; } +echo '</div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/GLTagProfit_Loss.php =================================================================== --- trunk/GLTagProfit_Loss.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLTagProfit_Loss.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -17,6 +17,7 @@ include('includes/header.inc'); echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<p class="page_title_text"> <img src="'.$rootpath.'/css/'.$theme.'/images/printer.png" title="' . _('Print') . '" alt="" />' . ' ' . $title . ' @@ -85,7 +86,7 @@ if($myrow['periodno']==$DefaultToPeriod){ echo '<option selected="selected" value="' . $myrow['periodno'] . '">' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; } else { - echo '<option value =' . $myrow['periodno'] . '>' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; + echo '<option value="' . $myrow['periodno'] . '">' . MonthAndYearFromSQLDate($myrow['lastdate_in_period']) . '</option>'; } } echo '</select></td></tr>'; @@ -108,7 +109,7 @@ echo '<option value="' . $myrow['tagref'] . '">' . $myrow['tagref'].' - ' .$myrow['tagdescription'] . '</option>'; } } - echo '</select></td>'; + echo '</select></td></tr>'; // End select tag echo '<tr> @@ -464,6 +465,7 @@ include('includes/header.inc'); echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; 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'] . '" />'; @@ -522,7 +524,7 @@ echo '<tr> <th colspan="9"> <div class="centre"> - <font size="3" color="blue"><b>' . _('Statement of Income and Expenditure for Tag'). ' ' . $myrow[0]._('during the'). ' ' . $NumberOfMonths . ' ' . _('months to'). ' ' . $PeriodToDate . '</b></font> + <h2><b>' . _('Statement of Income and Expenditure for Tag'). ' ' . $myrow[0]._('during the'). ' ' . $NumberOfMonths . ' ' . _('months to'). ' ' . $PeriodToDate . '</b></h2> </div> </th> </tr>'; @@ -581,7 +583,7 @@ if ($Section ==3){ /*Income */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td></td> <td class="number">%s</td> </tr>', @@ -589,7 +591,7 @@ locale_number_format($GrpPrdActual[$Level],$_SESSION['CompanyRecord']['decimalplaces'])); } else { /*Costs */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td class="number">%s</td> <td></td> </tr>', @@ -615,7 +617,7 @@ if ($Section ==4){ /*Income */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td></td> <td class="number">%s</td> </tr>', @@ -623,7 +625,7 @@ locale_number_format(-$GrpPrdActual[$Level],$_SESSION['CompanyRecord']['decimalplaces'])); } else { /*Costs */ printf('<tr> - <td colspan="2"><font size="2"><i>%s</i></font></td> + <td colspan="2"><h4><i>%s</i></h4></td> <td class="number">%s</td> <td></td> </tr>', @@ -649,7 +651,7 @@ </tr>'; printf('<tr> - <td colspan="2"><font size="4">%s</font></td> + <td colspan="2"><h2>%s</h2></td> <td></td> <td class="number">%s</td> </tr>', @@ -662,7 +664,7 @@ <td colspan="2"><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="4">%s</font></td> + <td colspan="2"><h2>%s</h2></td> <td></td> <td class="number">%s</td> </tr>', @@ -679,7 +681,7 @@ <td colspan="5"><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="4">'._('Gross Profit').'</font></td> + <td colspan="2"><h2>'._('Gross Profit').'</h2></td> <td></td> <td class="number">%s</td> </tr>', @@ -695,7 +697,7 @@ <td colspan="6"><hr /></td> </tr>'; printf('<tr> - <td colspan="2"><font size="2"><i>'._('Gross Profit Percent').'</i></font></td> + <td colspan="2"><h4><i>'._('Gross Profit Percent').'</i></h4></td> <td></td> <td class="number"><i>%s</i></td> </tr><tr><td colspan="6"> </td></tr>', @@ -709,7 +711,7 @@ if ($_POST['Detail']=='Detailed'){ printf('<tr> - <td colspan="6"><font size="4" color="blue"><b>%s</b></font></td> + <td colspan="6"><h2><b>%s</b></h2></td> </tr>', $Sections[$myrow['sectioninaccounts']]); } @@ -727,7 +729,7 @@ $ActGrp = $myrow['groupname']; if ($_POST['Detail']=='Detailed'){ printf('<tr> - <td colspan="6"><font size="2" color="blue"><b>%s</b></font></td> + <td colspan="6"><h4><b>%s</b></h4></td> </tr>', $myrow['groupname']); @@ -758,7 +760,7 @@ $k++; } - $ActEnquiryURL = '<a href="' . $rootpath . '/GLAccountInquiry.php?Period=' . $_POST['ToPeriod'] . '&Account=' . $myrow['account'] . '&Show=Yes">' . $myrow['account'] . '</a>'; + $ActEnquiryURL = '<a href="' . $rootpath . '/GLAccountInquiry.php?Period=' . $_POST['ToPeriod'] . '&Account=' . $myrow['account'] . '&Show=Yes">' . $myrow['account'] . '</a>'; if ($Section ==4){ printf('<td>%s</td> @@ -767,7 +769,7 @@ <td class="number">%s</td> </tr>', $ActEnquiryURL, - $myrow['accountname'], + htmlspecialchars($myrow['accountname'], ENT_QUOTES,'UTF-8'), locale_number_format(-$AccountPeriodActual,$_SESSION['CompanyRecord']['decimalplaces'])); } else { printf('<td>%s</td> @@ -775,7 +777,7 @@ <td class="number">%s</td> </tr>', $ActEnquiryURL, - $myrow['accountname'], + htmlspecialchars($myrow['accountname'], ENT_QUOTES,'UTF-8'), locale_number_format(-$AccountPeriodActual,$_SESSION['CompanyRecord']['decimalplaces'])); } @@ -799,13 +801,13 @@ } if ($Section ==4){ /*Income */ echo '<tr> - <td colspan="2"><font size="2"><i>' . $ActGrpLabel . '</i></font></td> + <td colspan="2"><h4><i>' . $ActGrpLabel . '</i></h4></td> <td></td> <td class="number">' . locale_number_format(-$GrpPrdActual[$Level],$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; } else { /*Costs */ echo '<tr> - <td colspan="2"><font size="2"><i>' . $ActGrpLabel . '</i></font></td> + <td colspan="2"><h4><i>' . $ActGrpLabel . '</i></h4></td> <td class="number">' . locale_number_format($GrpPrdActual[$Level],$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; } @@ -826,7 +828,7 @@ if ($Section ==4){ /*Income */ printf('<tr> - <td colspan="2"><font size="2"><i>%s</i></font></td> + <td colspan="2"><h4><i>%s</i></h4></td> <td></td> <td class="number">%s</td> </tr>', @@ -834,7 +836,7 @@ locale_number_format(-$GrpPrdActual[$Level],$_SESSION['CompanyRecord']['decimalplaces'])); } else { /*Costs */ printf('<tr> - <td colspan="2"><font size="2"><i>%s </i></font></td> + <td colspan="2"><h4><i>%s </i></h4></td> <td class="number">%s</td> <td></td> </tr>', @@ -856,7 +858,7 @@ <td colspan="2"><hr /></td> </tr> <tr> - <td colspan="2"><font size="4">' . $Sections[$Section] . '</font></td> + <td colspan="2"><h2>' . $Sections[$Section] . '</h2></td> <td></td> <td class="number">' . locale_number_format($SectionPrdActual,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; @@ -867,7 +869,7 @@ <td colspan="2"><hr /></td> </tr> <tr> - <td colspan="2"><font size="4">' . $Sections[$Section] . '</font></td> + <td colspan="2"><h2>' . $Sections[$Section] . '</h2></td> <td></td> <td class="number">' . locale_number_format(-$SectionPrdActual,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; @@ -878,7 +880,7 @@ <td colspan="2"><hr /></td> </tr> <tr> - <td colspan="2"><font size="4">'._('Gross Profit').'</font></td> + <td colspan="2"><h2>'._('Gross Profit').'</h2></td> <td></td> <td class="number">' . locale_number_format($TotalIncome - $SectionPrdActual,$_SESSION['CompanyRecord']['decimalplaces']) . '</td> </tr>'; @@ -893,7 +895,7 @@ <td colspan="2"><hr /></td> </tr> <tr> - <td colspan="2"><font size="2"><i>'._('Gross Profit Percent').'</i></font></td> + <td colspan="2"><h4><i>'._('Gross Profit Percent').'</i></h4></td> <td></td> <td class="number"><i>' . locale_number_format($PrdGPPercent,1) . '%</i></td> <td></td> @@ -908,7 +910,7 @@ if ($_POST['Detail']=='Detailed' AND isset($Sections[$myrow['sectioninaccounts']])){ echo '<tr> - <td colspan="6"><font size="4" color="blue"><b>' . $Sections[$myrow['sectioninaccounts']] . '</b></font></td> + <td colspan="6"><h2><b>' . $Sections[$myrow['sectioninaccounts']] . '</b></h2></td> </tr>'; } $j++; @@ -921,7 +923,7 @@ </tr>'; printf('<tr style="background-color:#ffffff"> - <td colspan="2"><font size="4" color="blue"><b>'._('Surplus').' - '._('Deficit').'</b></font></td> + <td colspan="2"><h2><b>'._('Surplus').' - '._('Deficit').'</b></h2></td> <td></td> <td class="number">%s</td> </tr>', @@ -936,6 +938,7 @@ <input type="submit" name="SelectADifferentPeriod" value="'._('Select A Different Period').'" /> </div>'; } +echo '</div>'; echo '</form>'; include('includes/footer.inc'); Modified: trunk/GLTags.php =================================================================== --- trunk/GLTags.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLTags.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -51,7 +51,8 @@ _('Print') . '" alt="" />' . ' ' . $title . ' </p>'; -echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" name="form">'; +echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" id="form">'; +echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /> <table> @@ -69,7 +70,8 @@ echo '</td> </tr> </table> - <p /> + <br /> + </div> </form> <table class="selection"> <tr> @@ -88,14 +90,14 @@ echo '<tr> <td>' . $myrow['tagref'] . '</td> <td>' . $myrow['tagdescription'] . '</td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedTag=' . $myrow['tagref'] . '&Action=edit">' . _('Edit') . '</a></td> - <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedTag=' . $myrow['tagref'] . '&Action=delete" onclick="return confirm(\'' . _('Are you sure you wish to delete this GL tag?') . '\');">' . _('Delete') . '</a></td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedTag=' . $myrow['tagref'] . '&Action=edit">' . _('Edit') . '</a></td> + <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedTag=' . $myrow['tagref'] . '&Action=delete" onclick="return confirm(\'' . _('Are you sure you wish to delete this GL tag?') . '\');">' . _('Delete') . '</a></td> </tr>'; } echo '</table>'; -echo '<script>defaultControl(document.form.Description);</script>'; +echo '<script type="text/javascript">defaultControl(document.form.Description);</script>'; include('includes/footer.inc'); Modified: trunk/GLTransInquiry.php =================================================================== --- trunk/GLTransInquiry.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLTransInquiry.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -6,7 +6,7 @@ $title = _('General Ledger Transaction Inquiry'); include('includes/header.inc'); -$MenuURL = '<a href="'. $rootpath . '/index.php?&Application=GL">' . _('General Ledger Menu') . '</a></div>'; +$MenuURL = '<div><a href="'. $rootpath . '/index.php?&Application=GL">' . _('General Ledger Menu') . '</a></div>'; if ( !isset($_GET['TypeID']) OR !isset($_GET['TransNo']) ) { prnMsg(_('This page requires a valid transaction type and number'),'warn'); @@ -36,7 +36,7 @@ . _('Print') . '" alt="" />' . ' ' . $title . '</p>'; echo '<table class="selection">'; //Main table echo '<tr> - <th colspan="7"><font size="3" color="blue"><b>' . $TransName . ' ' . $_GET['TransNo'] . '</b></font></th> + <th colspan="7"><h2><b>' . $TransName . ' ' . $_GET['TransNo'] . '</b></h2></th> </tr> <tr> <th>' . _('Date') . '</th> @@ -76,18 +76,18 @@ if ( $TransRow['amount'] > 0) { $DebitAmount = locale_number_format($TransRow['amount'],$_SESSION['CompanyRecord']['decimalplaces']); $DebitTotal += $TransRow['amount']; - $CreditAmount = ' '; + $CreditAmount = ' '; } else { $CreditAmount = locale_number_format(-$TransRow['amount'],$_SESSION['CompanyRecord']['decimalplaces']); $CreditTotal += $TransRow['amount']; - $DebitAmount = ' '; + $DebitAmount = ' '; } if ( $TransRow['posted']==0 ){ $Posted = _('No'); } if ( $TransRow['account'] == $_SESSION['CompanyRecord']['debtorsact'] ) { $URL = $rootpath . '/CustomerInquiry.php?CustomerID='; - $date = '&TransAfterDate=' . $TranDate; + $date = '&TransAfterDate=' . $TranDate; $DetailSQL = "SELECT debtortrans.debtorno, debtortrans.ovamount, @@ -101,7 +101,7 @@ $DetailResult = DB_query($DetailSQL,$db); } elseif ( $TransRow['account'] == $_SESSION['CompanyRecord']['creditorsact'] ) { $URL = $rootpath . '/SupplierInquiry.php?SupplierID='; - $date = '&FromDate=' . $TranDate; + $date = '&FromDate=' . $TranDate; $DetailSQL = "SELECT supptrans.supplierno, supptrans.ovamount, @@ -117,7 +117,7 @@ $URL = $rootpath . '/GLAccountInquiry.php?Account=' . $TransRow['account']; if( mb_strlen($TransRow['narrative'])==0 ) { - $TransRow['narrative'] = ' '; + $TransRow['narrative'] = ' '; } if ($j==1) { @@ -142,18 +142,18 @@ if ( $TransRow['amount'] > 0){ if ($TransRow['account'] == $_SESSION['CompanyRecord']['debtorsact']) { $Debit = locale_number_format(($DetailRow[1] + $DetailRow[2]) / $DetailRow[3],$_SESSION['CompanyRecord']['decimalplaces']); - $Credit = ' '; + $Credit = ' '; } else { $Debit = locale_number_format((-$DetailRow[1] - $DetailRow[2]) / $DetailRow[3],$_SESSION['CompanyRecord']['decimalplaces']); - $Credit = ' '; + $Credit = ' '; } } else { if ($TransRow['account'] == $_SESSION['CompanyRecord']['debtorsact']) { $Credit = locale_number_format(-($DetailRow[1] + $DetailRow[2]) / $DetailRow[3],$_SESSION['CompanyRecord']['decimalplaces']); - $Debit = ' '; + $Debit = ' '; } else { $Credit = locale_number_format(($DetailRow[1] + $DetailRow[2]) / $DetailRow[3],$_SESSION['CompanyRecord']['decimalplaces']); - $Debit = ' '; + $Debit = ' '; } } @@ -182,17 +182,14 @@ <td class="number" colspan="3"><b>' . _('Total') . '</b></td> <td class="number">' . locale_number_format(($DebitTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</td> <td class="number">' . locale_number_format((-$CreditTotal),$_SESSION['CompanyRecord']['decimalplaces']) . '</td> - <td colspan="2"> </td> + <td colspan="2"> </td> </tr>'; - echo '</table><p>'; + echo '</table>'; } } -echo '</td> - </tr> - </table>'; - + include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/GLTrialBalance.php =================================================================== --- trunk/GLTrialBalance.php 2012-03-31 14:49:04 UTC (rev 5184) +++ trunk/GLTrialBalance.php 2012-04-01 02:42:45 UTC (rev 5185) @@ -29,7 +29,8 @@ echo '<p class="page_title_text"> <img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Trial Balance') . '" alt="" />' . ' ' . $title . ' </p>'; - echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (Date('m') > $_SESSION['YearEnd']){ @@ -47,7 +48,7 @@ echo '<table class="selection"> <tr> <td>' . _('Select Period From:') . '</td> - <td><select Name="FromPeriod">'; + <td><select name="FromPeriod">'; $NextYear = date('Y-m-d',strtotime('+1 Year')); $sql = "SELECT periodno, lastdate_in_period @@ -83,7 +84,7 @@ echo '<tr> <td>' . _('Select Period To:') .'</td> - <td><select Name="ToPeriod">'; + <td><select name="ToPeriod">'; $RetResult = DB_data_seek($Periods,0); @@ -101,7 +102,7 @@ <br />'; echo '<div class="centre"> - <input type="submit" Name="ShowTB" value="' . _('Show Trial Balance') .'" /> + <input type="submit" name="ShowTB" value="' . _('Show Trial Balance') .'" /> <input type="submit" name="PrintPDF" value="'._('PrintPDF').'" /> </div>'; @@ -383,7 +384,8 @@ } else { include('includes/header.inc'); - echo '<form method="POST" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<form method="post" action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; + echo '<div>'; 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'] . '" />'; @@ -482,11 +484,11 @@ $ParentGroups[$Level]=''; } elseif ($ParentGroups[$Level]==$myrow['parentgroupname']) { printf('<tr> - <td colspan="2"><I>%s ' . _('Total') . ' </I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> + <td colspan="2"><i>%s ' . _('Total') . ' </i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> </tr>', $ParentGroups[$Level], locale_number_format($GrpActual[$Level],$_SESSION['CompanyRecord']['decimalplaces']), @@ -502,11 +504,11 @@ } else { do { printf('<tr> - <td colspan="2"><I>%s ' . _('Total') . ' </I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> + <td colspan="2"><i>%s ' . _('Total') . ' </i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> </tr>', $ParentGroups[$Level], locale_number_format($GrpActual[$Level],$_SESSION['CompanyRecord']['decimalplaces']), @@ -526,11 +528,11 @@ if ($Level>0){ printf('<tr> - <td colspan="2"><I>%s ' . _('Total') . ' </I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> + <td colspan="2"><i>%s ' . _('Total') . ' </i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> </tr>', $ParentGroups[$Level], locale_number_format($GrpActual[$Level],$_SESSION['CompanyRecord']['decimalplaces']), @@ -551,7 +553,7 @@ $ParentGroups[$Level]=$myrow['groupname']; $ActGrp = $myrow['groupname']; printf('<tr> - <td colspan="6"><font size="4" color="blue"><b>%s</b></font></td> + <td colspan="6"><h2>%s</h2></td> </tr>', $myrow['groupname']); echo $TableHeader; @@ -611,7 +613,7 @@ $CheckPeriodActual += $AccountPeriodActual; $CheckPeriodBudget += $AccountPeriodBudget; - $ActEnquiryURL = '<a href="'. $rootpath . '/GLAccountInquiry.php?Period=' . $_POST['ToPeriod'] . '&Account=' . $myrow['accountcode'] . '&Show=Yes">' . $myrow['accountcode'] . '<a>'; + $ActEnquiryURL = '<a href="'. $rootpath . '/GLAccountInquiry.php?Period=' . $_POST['ToPeriod'] . '&Account=' . $myrow['accountcode'] . '&Show=Yes">' . $myrow['accountcode'] . '</a>'; printf('<td>%s</td> <td>%s</td> @@ -621,7 +623,7 @@ <td class="number">%s</td> </tr>', $ActEnquiryURL, - $myrow['accountname'], + htmlspecialchars($myrow['accountname'], ENT_QUOTES,'UTF-8'), locale_number_format($myrow['monthactual'],$_SESSION['CompanyRecord']['decimalplaces']), locale_number_format($myrow['monthbudget'],$_SESSION['CompanyRecord']['decimalplaces']), locale_number_format($AccountPeriodActual,$_SESSION['CompanyRecord']['decimalplaces']), @@ -638,11 +640,11 @@ $ParentGroups[$Level]=$myrow['groupname']; } elseif ($ParentGroups[$Level]==$myrow['parentgroupname']) { printf('<tr> - <td colspan="2"><I>%s ' . _('Total') . ' </I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></td> + <td colspan="2"><i>%s ' . _('Total') . ' </i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> + <td class="number"><i>%s</i></td> </tr>', $ParentGroups[$Level], locale_number_format($GrpActual[$Level],$_SESSION['CompanyRecord']['decimalplaces']), @@ -658,11 +660,11 @@ } else { do { printf('<tr> - <td colspan="2"><I>%s ' . _('Total') . ' </I></td> - <td class="number"><I>%s</I></td> - <td class="number"><I>%s</I></... [truncated message content] |